INSTALL kloxo-centos5-64bit

By admin at 2017-09-29 • 0 collector • 1402 pageviews


ทั่วไปก่อนติดตั้ง kloxo


# su - root


# yum -y update

# yum install -y ntp nano nmap sysstat nc gmp wget


# service named stop

# yum -y remove bind


# nano /etc/hosts


4. Disable SELINUX

To disable SELINUX we have to edit the config file

nano /etc/sysconfig/selinux

and change the SELINUX line to:

SELINUX=disabled

Then type:

setenforce 0

to disable selinux durring runtim

=======================================


**** ถ้าแรมมีน้อยกว่า 1GB ให้ทำ swap ก่อน ดังนี้ ***********************************

1. First, create an empty file which will serve as a swap file by issuing the following command:


 # dd if=/dev/zero of=/swap bs=1024 count=524288    <<---- 512MB

 # dd if=/dev/zero of=/swap bs=1024 count=1048576    <<---- 1GB

 # dd if=/dev/zero of=/swap bs=1024 count=1572864    <<----- 1.5GB

 # dd if=/dev/zero of=/swap bs=1024 count=2097152    <<----- 2GB


2. Set up a Linux swap area with:

 # mkswap /swap


3. It’s wise to set the permissions as follows:

 # chmod 0600 /swap


4. The last thing – add the new swap file to /etc/fstab:

 # nano /etc/fstab

/swap            swap          swap     defaults,noatime           0 0

This way it will be loaded automatically on boot.


5. To enable the new swap space immediately, issue:

 # swapon -a

**************************************************************


เริ่มการติดตั้ง Kloxo 

# su - root

# yum -y remove libmcrypt

# wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh

# reboot

# sh ./kloxo-installer.sh --type=master

=========================================


ติดตั้ง vsftpd  x86_64

# yum -y install vsftpd.x86_64

# chkconfig vsftpd on


แก้ค่าในไฟล์ vsftpd

# nano /etc/vsftpd/vsftpd.conf


ตั้งค่าให้เป็นไปตามนี้

nonymous_enable = NO

write_enable = YES

local_enable = YES

local_umask = 022


# reboot

========================================


*********** สำคัญมาก

1.ให้สร้าง แพคเกจก่อน

2.สร้าง  dns template

3.สร้าง client

4.แมพ IP address เข้ากับ client

5. รีสตาร์ท เซอร์ฟ มิฉนั้นจะไม่เห็นเวปของ client 


การแก้ไขอะไรใน kloxo หลังจากทำแล้วควร Restart เสมอ จะได้ไม่งง ๆ


Requires Login

Loading...