I believe I have used only CustomApache before, but I would like to try to update my server with CustomBuild 1.1.
I am mainly interested in determining my currently installed versions and configurations to make sure the updates with CustomBuild doesn't cause any conflicts. This is a live server, so I don't want to break anything with the updates.
I am still using PHP4 (updated to 4.4.8 with freetype 2) because my site requires it. I am working on upgrading and will eventually need to upgrade to PHP5, but not right now.
1.) My server is an Athlon 64 X2 and I think I am running x86_64 where possible (as my host originally configured it). Is there any way to check this or will CustomBuild automatically check and upgrade 64 bit installs?
Current information I can see:
CentOS release 4.4 Final
Linux version 2.6.9-55.ELsmp (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP
Apache/2.2.4 (Unix)
mod_ssl/2.2.4
OpenSSL/0.9.7a
PHP/4.4.8
mod_perl/2.0.3
Perl/v5.8.5
ProFTPD 1.3.0rc2
DirectAdmin 1.29.7
Exim 4.60
MySQL 5.0.41
Named 9.2.4
ProFTPd 1.3.0rc2
sshd
vm-Pop3d 1.1.7f-DA-2
SquirrelMail version 1.4.9a
phpMyAdmin: 2.10.1
curl: 7.16.2
I followed the FAQ to install CustomBuild 1.1
Then I did a preliminary edit to options.conf and
With the following output
Here is my current edited options.conf
Ideally, I want to update everything to the latest version, except for PHP4 4.4.8, which I want to keep (rather than PHP5).
2.) Will the latest MySQL and phpMyAdmin or any other components have conflicts with PHP4 4.4.8? I switched MySQL to mysql_inst=yes. Is that ok?
3.) I think I might have Zend installed, but I'm not sure. How can I check this? Edit: I believe I do have Zend Optimizer installed according to phpinfo. Should I switch to zend=yes?
4.) I'm not sure if I have Dovecot or not. How can I determine this? If I don't have it, should I switch dovecot=no?
5.) I do have Squirrel Mail, but I'm not sure about atmail, roundcube or uebimiau. How can I see if I have these or not? If not, should I switch the options to atmail=no, roundcube=no, uebimiau=no?
6.) Should I switch exim=no to exim=yes?
7.) What should I do with these settings: php_ini=no, php_ini_type=recommended, cleanapache=no, eximconf=no ?
8.) Should I stop services before running ./build all d or will the script stop/restart services automatically?
Is there anything else I should check before running ./build all d?
Thank you for your help and advice.
I am mainly interested in determining my currently installed versions and configurations to make sure the updates with CustomBuild doesn't cause any conflicts. This is a live server, so I don't want to break anything with the updates.
I am still using PHP4 (updated to 4.4.8 with freetype 2) because my site requires it. I am working on upgrading and will eventually need to upgrade to PHP5, but not right now.
1.) My server is an Athlon 64 X2 and I think I am running x86_64 where possible (as my host originally configured it). Is there any way to check this or will CustomBuild automatically check and upgrade 64 bit installs?
Current information I can see:
CentOS release 4.4 Final
Linux version 2.6.9-55.ELsmp (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP
Apache/2.2.4 (Unix)
mod_ssl/2.2.4
OpenSSL/0.9.7a
PHP/4.4.8
mod_perl/2.0.3
Perl/v5.8.5
ProFTPD 1.3.0rc2
DirectAdmin 1.29.7
Exim 4.60
MySQL 5.0.41
Named 9.2.4
ProFTPd 1.3.0rc2
sshd
vm-Pop3d 1.1.7f-DA-2
SquirrelMail version 1.4.9a
phpMyAdmin: 2.10.1
curl: 7.16.2
I followed the FAQ to install CustomBuild 1.1
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
Then I did a preliminary edit to options.conf and
Code:
./build update_data
./build options
With the following output
Code:
Apache: 2.2.9
Dovecot: 1.1.2
exim.conf update: no
MySQL: 5.0.51a
MySQL backup: no
PHP: 4.4.8 as CLI with mail() header patch
phpMyAdmin: 2.11.8.1-all-languages
ProFTPD: 1.3.1
Atmail webmail: no
RoundCube webmail: 0.1.1
Run "clean" every time: yes
Show texts in bold: yes
SquirrelMail: 1.4.15
UebiMiau: no
Zend Optimizer: no
Code:
./build versions
Code:
Latest version of PHP (CLI): 4.4.8
Installed version of PHP (CLI): 4.4.8
Latest version of Apache: 2.2.9
Installed version of Apache: 2.2.4
Apache update is available.
Latest version of ProFTPD: 1.3.1
Installed version of ProFTPD: 1.3.0rc2
ProFTPD update is available.
Latest version of curl: 7.18.2
Installed version of curl: 7.16.2
cURL update is available.
Latest version of MySQL: 5.0.51a
Installed version of MySQL: 5.0.41
MySQL update is available.
Latest version of RoundCube webmail: 0.1.1
RoundCube webmail update is available.
Latest version of phpMyAdmin: 2.11.8.1-all-languages
Installed version of phpMyAdmin: 2.10.1
phpMyAdmin update is available.
Latest version of SquirrelMail: 1.4.15
Installed version of SquirrelMail: 1.4.9a
SquirrelMail webmail update is available.
Here is my current edited options.conf
Code:
#PHP settings. default_php possible values - 4 or 5
default_php=4
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=no
zend=no
#Possible values - 4.1, 5.0 or 5.1
mysql=5.0
mysql_inst=yes
mysql_backup=no
#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2
#Web applications
phpmyadmin=yes
atmail=no
squirrelmail=yes
roundcube=yes
uebimiau=no
#Mail options
exim=no
mail-header-patch=yes
dovecot=yes
#FTP options
proftpd=yes
#Jailed shell (beta)
jail=no
#CustomBuild options
autover=yes
bold=yes
clean=yes
#Cron settings
cron=no
[email protected]
notifications=no
updates=no
#CustomBuild 1.2 settings
php6_cli=no
php6_cgi=no
php_ini=no
#Possible values - recommended or dist
php_ini_type=recommended
cleanapache=no
fileserver=1
eximconf=no
Ideally, I want to update everything to the latest version, except for PHP4 4.4.8, which I want to keep (rather than PHP5).
2.) Will the latest MySQL and phpMyAdmin or any other components have conflicts with PHP4 4.4.8? I switched MySQL to mysql_inst=yes. Is that ok?
3.) I think I might have Zend installed, but I'm not sure. How can I check this? Edit: I believe I do have Zend Optimizer installed according to phpinfo. Should I switch to zend=yes?
4.) I'm not sure if I have Dovecot or not. How can I determine this? If I don't have it, should I switch dovecot=no?
5.) I do have Squirrel Mail, but I'm not sure about atmail, roundcube or uebimiau. How can I see if I have these or not? If not, should I switch the options to atmail=no, roundcube=no, uebimiau=no?
6.) Should I switch exim=no to exim=yes?
7.) What should I do with these settings: php_ini=no, php_ini_type=recommended, cleanapache=no, eximconf=no ?
8.) Should I stop services before running ./build all d or will the script stop/restart services automatically?
Is there anything else I should check before running ./build all d?
Thank you for your help and advice.
Last edited: