Upgrade Kloxo via SSH command line


Step 1: for sure to using latest version for certain packages
yum update
Step 2: shell command version for update
/script/upcp
Step 3: cleanup process for certain settings
/script/cleanup

[root@tutorialspots ~]# /script/cleanup
*** Executing Update (cleanup) - BEGIN ***
########################################
##        Executing PreCleanup        ##
########################################
########################################
##        Finished PreCleanup         ##
########################################
Fix Database Issues
- Fix admin account database settings
- Set default database settings
- Fix resourceplan settings in database
- Alter some database tables to fit that of Kloxo
- Set default welcome text at Kloxo login page
- Remove default db password if exists
- Create flag dir
Fix IP Address
- Fix process
Fix Services
- Fix process
Create domain backup dirs
- Create process
- Create OS system user admin
- User admin exists
Set Watchdog defaults
- Set process
Fix MySQL root password
- Fix process
Set admin contact email
- Set process
Get Kloxo License info
- Get process
- Create database interface template (Forced)
Fix Self SSL
- Fix process
Prepare for Kloxo
- OS Create Kloxo init.d service file and copy core php.ini (kloxo-core-php)
- OS Fix programroot path permissions
- OS Restart Kloxo service
ThirdParty Checks
- kloxo-thirdparty version is 2022
- No update found.
Check for php-gd
- Already installed. No need to install
Check for bogofilter
Initialize phpMyAdmin configfile
- phpMyAdmin: Set db password in configfile
Initialize OS admin account description
- Initialize process
Initialize kloxophp
- Install kloxophp 32bit
- kloxophp version is 4383
- No update found. kloxophp is at version 4383
Webmail Checks
- lxwebmail version is 4375
- No update found.
Awstats Checks
- lxawstats version is 4402
- No update found.
Remove Old dirs
- Remove process
Initialize Some Binary files
- Add symlink for qmail-sendmail
Remove lighttpd errorlog
- Remove process
Fix the secure logfile
- Fix process
Clean hosts.deny
- Clean process
Turn off mouse daemon
- Turn off process
Initialize Kloxo bind config files
- No need to initialize
Killing gettraffic system process
- Killing process
Checking for rpm packages
- For maildrop-toaster package
- For spamdyke package
- For spamdyke-utils package
- For pure-ftpd package
- For simscan-toaster package
- For webalizer package
- For php-mcrypt package
- For dos2unix package
- For rrdtool package
- For xinetd package
- For lxjailshell package
- For php-xml package
- For libmhash package
- For kloxo-core-php package
Initialize /script/ dir
- Initialize processes
Install xcache if is not enabled
- Disabled status
Install Kloxo service
- Install process
Installing jailshell to system
Set /home permission to 0755
- Set process
Executing centos 5 script and remove epel repo
- Executing centos5-postpostupgrade script
- Remove epel.repo from system
Fixing RedHat NetWork Source
- Fix processes
Initialize Apache Config
- Initialize process
- Install /etc/httpd/conf/httpd.conf
- Initialize /home/apache/conf/defaults/mimetype.conf
Initialize PureFtp service
- Initialize process
- Restart xinetd service for pureftp
- Install xinetd smtp_lxa SMTP TCP Wrapper
- Install qmail service
- Install /etc/lxrestricted file (lxjailshell commands restrictions)
- Install /etc/sysconfig/spamassassin
- Install qmail defaultdomain and defaulthost (xxxx.com)
- Install qmail SMTP Greeting (xxxx.com - Welcome to Qmail)
- Initialize rblsmtpd binary
- Initialize tcpserver binary
Enable xinetd service
- Enable process
Fix suexec
- Fix process
Install/Fix Services/Permissions/Configfiles
- Set permissions for /usr/bin/php-cgi
- Set permissions for closeallinput binary
- Set permissions for lxphpsu binary
- Set permissions for phpsuexec.sh script
- Set permissions for /home/kloxo/httpd/lighttpd/ dir
- Set permissions for /var/lib/php/session/ dir
- Set permissions for /var/bogofilter/ dir
- Kill sisinfoc system process
Initialize Lighttpd config
- Initialize process
- Install /etc/lighttpd/lighttpd.conf
- Initialize /etc/lighttpd/local.lighttpd.conf
- Initialize /home/lighttpd/conf/defaults/__ssl.conf
- Initialize /home/lighttpd/conf/defaults/_default.conf
- Initialize /home/lighttpd/conf/defaults/disable.conf
- Initialize /home/lighttpd/conf/defaults/cp_config.conf
- Initialize /home/lighttpd/conf/defaults/mimetype.conf
- Initialize /home/lighttpd/conf/defaults/stats.conf
Initialize nobody.sh script
- Initialize process
Execute/remove/initialize/install script
- Execute lxpopuser.sh
- Remove /home/kloxo/httpd/script dir
- Initialize /home/kloxo/httpd/script dir
- Install phpinfo.php into /home/kloxo/httpd/script dir
Install /etc/init.d/djbdns service file
- Install process
Enable the correct drivers (Service daemons)
- Uninstall web__lighttpd
- Uninstall spam__spamassassin
- Uninstall dns__djbdns
Remove cache dir
- Remove process
Restart syslog service
- Restart process
Initialize awstats dirdata
- Initialize process
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Roundcube files
- Initialize process
Preparing Horde database
- Fix MySQL commands in import files of Horde
- Generating password
- Add password to configuration file
- Database installed
Initialize Horde files
- Initialize process
Install Webmail chooser
- Install process
Remove old lxlabs ssh key
- Remove process
Initialize Server
- Initialize OpenVZ
Initialize some skeletons
- Php files for default web page
- Skeleton for default web page
- Php files for disable web page
- Skeleton for disable web page
- Php files for webmail web page
- Skeleton for webmail web page
- Php files for cp web page
- Skeleton for cp web page
- Php files for login web page
- Skeleton for login web page
- No exists user-skeleton
- No exists user-logo
Initialize InstallApp
Checking freshclam (virus scanner)
- Disabled freshclam service
Changing softlimit for incoming/receive mailserver
- For imap4
- For imap4-ssl
- For pop3
- For pop3-ssl
Preparing MySQL service
- MySQL activated
- MySQL restarted
Updating Core packages
- No httpd* update found
- No lighttpd* update found
- No bind* update found
- No djbdns* update found
- No pure-ftpd* update found
- No php* update found
- No vpopmail update found
- No courier-imap-toaster update found
- No courier-authlib-toaster update found
- No qmail update found
- No safecat update found
- No spamassassin update found
- No bogofilter update found
- No ezmlm-toaster update found
- No autorespond-toaster update found
- No clamav-toaster update found
Preparing some services again
- courier-imap enabled and restart queue
- qmail enabled and restart queue
Fix dns/web/php/mail/ftpuser/vpop configs
- Fix dns configs

- For help, type '/script/fixdns --help'

Fixing DNS server config
- 'xxx.xxxx.com'('xxx') at 'localhost'
- Fix web configs

- For help, type '/script/fixweb --help'

Fixing Web server config
- inside static (defaults/webmail) directory at 'localhost'
- 'xxx.xxxx.com' ('xxx') at 'localhost'
- Fix php configs

- For help, type '/script/fixphp --help'

Fixing php.ini
- in '/etc' at 'localhost'
- in '/home/httpd/xxx.xxxx.com' ('xxx') at 'localhost'
- Fix mail configs

- For help, type '/script/fixmail --help'

Fixing Mail accounts
- 'postmaster@xxx.xxxx.com' ('xxx') at 'localhost'
- Fix ftpuser configs

- For help, type '/script/fixftpuser --help'

Fixing FTP User
- 'xxx.xxxx.com' ('xxx') at 'localhost'
- Fix vpop configs

Note: This step may be take a long time, please be patient waiting.

Step 4: restart some services
service xinetd restart

Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]

Step 5: fix web config to make sure using latest
/script/fixweb –server=all

- For help, type '/script/fixweb --help'

Fixing Web server config
- inside static (defaults/webmail) directory at 'localhost'
- 'xxx.xxxx.com' ('xxx') at 'localhost'

Step 6: Better reboot after that
reboot

Related Post

,

No comments yet.

Leave a Reply