Kloxo has not been updated for some time, last updated in 2011-11-12
Latest Version 6.1.7
First, installation requirements 1, CentOS or rhel5.x,centos6.x temporarily not support
2, at least 256M of memory
3, at least 2G hard disk space
Second, install Step 1, get root authority
The code is as follows |
Copy Code |
# Su–root
|
2. Disable SELinux
The code is as follows |
Copy Code |
# Setenforce 0 |
3. Installation wget
The code is as follows |
Copy Code |
# yum Install-y wget |
4. Download Kloxo Installation Script
The code is as follows |
Copy Code |
[Root@hlblog ~]# wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh |
5. Installation Kloxo
The code is as follows |
Copy Code |
[Root@hlblog ~]# Sh./kloxo-installer.sh–type=master |
Main steps:
Environment detection (prompt to press any key to continue after successful detection)
Do you want to install automatic installation packages such as Phpbb,wordpress
Installation Success Tips
The installation is complete here, in the browser input http://ip:7778 can go in, the default username and password are admin
Some questions about installing the KLOXO panel
Morning on a server, is going to first install KLOXO, the system is CentOS 64-bit
The first is to hint that selinux must be closed, so turn it off first:
The code is as follows |
Copy Code |
Vi/etc/sysconfig/selinux Selinux=enforcing–> selinux=disabled Esc : Wq |
If you have Apache + MySQL +php installed, remove the uninstall first:
The code is as follows |
Copy Code |
Yum-y Remove httpd* #卸载跟apache有关的所有资料 Yum-y Remove mysql* #卸载跟mysql有关的所有资料 Yum-y Remove php* #卸载跟php有关的所有资料 |
To start the installation panel:
The code is as follows |
Copy Code |
Sh./kloxo-install-master.sh |
Successfully installed, view firewall information, CentOS default only open SSH 22 port
The code is as follows |
Copy Code |
/etc/init.d/iptables status |
To open the specified port:
The code is as follows |
Copy Code |
/sbin/iptables-i input-p tcp–dport 80-j ACCEPT /sbin/iptables-i input-p tcp–dport 7777-j ACCEPT /sbin/iptables-i input-p tcp–dport 7778-j ACCEPT /sbin/iptables-i input-p tcp–dport 21-j ACCEPT /etc/rc.d/init.d/iptables Save #保存 /etc/init.d/iptables Restart #重启 |
If you can't reboot, you can use reboot directly.
Then look at the firewall status:/etc/init.d/iptables status will be able to see the port you have enabled,
If you want to turn off the firewall:/etc/init.d/iptables stop
Later, it was discovered that. Does not seem to support MySQL
A look at the probe, it does not support, but also does not support the GD library. Should be a problem with 64-bit systems.
If the system is 32 bits,/etc/php.ini Extension_dir =/usr/lib/php/modules
This directory will exist, but 64 bits are not available, and the 64-bit system is located in/usr/lib64/php/modules,
However, it is not enough to simply modify the Extension_dir.
Here are two ways to fix this:
The first solution: a direct reload of 32-bit CentOS, and then reinstall Kloxo, haha
The second method: Create a soft connection, point/usr/lib/php/to/usr/lib64/php/
Perform:
The code is as follows |
Copy Code |
Ln-s/usr/lib64/php//usr/lib/php/ |
And then restart Apache:
The code is as follows |
Copy Code |
/ETC/RC.D/INIT.D/HTTPD restart |
This time, go to probe to check, wow, all support ~ ~
Oh, today deliberately installed their own 64-bit CentOS experience recorded.