How to upgrade server to Apache 2.x using DirectAdmin?

irongloves

New member
Joined
Dec 7, 2008
Messages
4
Hello,

I'm here to ask you all if you can help me upgrade my server.

I've a dedicated running DirectAdmin and I would like to upgrade it

My server current specs are as follow:
Apache 1.3.41
DirectAdmin 1.32.3
Exim 4.67
MySQL 4.1.21
Named 9.2.4
ProFTPd 1.3.1
sshd
vm-Pop3d 1.1.7f-DA-2

I would like to install
Apache 2.x (the latest);
PHP 5.x + the module for gd 2.0 enabled;
MySQL 5.x

1) How can I make a backup of the system config before i proceed with the installation (just in case something goes wrong)?
2) How do i Install the Apache 2.x, the PHP 5.x, and the MySQL 5.x? Could you please provide a step by step guide to install it? Should I proceed through SSH or can I do that on DirectAdmin?

Sorry for so many questions, but I'm a beginner on this.

Thanks a lot to anybody who can help me.

Irongloves
 
If you switch from customapache to custombuild, it will give you the option to change the versions. It's all here in the forums.

Since customapache isn't removed from your system, if you have any problems you can follow instructions also found in these forums for converting bck to customapache.

Jeff
 
Hello,

thanks for your reply.

Anyway I'm quite new on servers

I tried to do this

Code:
cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build

When I arrive at the wget http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz command i get the following:

Code:
--09:14:25--  http://files.directadmin/services/custombuild/1.1/custombuild.tar.gz
           => `custombuild.tar.gz'
Resolving files.directadmin... 72.35.85.222
Connecting to files.directadmin|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 82,976 (81K) [application/x-gzip]
custombuild.tar.gz: Permission denied

Cannot write to `custombuild.tar.gz' (Permission denied).

What should I do?
Why permission is denied and how could I change it?

Sorry if I sounds like a total dumb, but when it comes to servers, i am.

Thanks
 
Are you shelled in as the root user? The root user shouldn't have a permission denied error.

Jeff
 
Right.

I see I have a new problem now. I lost my root password.

Will let you know if i find it.

In the while

wish you a Merry Christmas.
 
Hello,

I finally managed to retrieve my root password, install the custombuild and update the Apache to version 2.2.11.

Still I have just one more question:

How do i update my MySQL to the latest version?

I'm running MySQL 4.1.21 and would like to update to version 5.1.

I tried to search here and on Google but It seems i'm not only dumb on servers stuff :(

Thanks for helping.

Happy New Year
Irongloves
 
Last edited:
Back
Top