Tạo share hosting linux nhanh với panel miễn phí Kloxo
Yêu cầu
+ Một dedicated Server hoặc máy ảo server (VMware, Vitualbox) chạy hệ điều hành CentOS hoặc Red Hat EL (Version 5.1++). Tại thời điểm này chỉ hỗ trợ hệ thống 32 bit
+ Tối thiểu 256 Mb RAM.
+ At least 2 GB of free disk space for Kloxo and related services.
+ At least 2 GB of free disk space for Kloxo and related services.
+ Tối thiểu 2Gb ổ cứng cho Kloxo và các dịch vụ liên quan
1.Bước quan trọng để install
Chắc chắn rằng bạn đã mở port 8888 và 8887 nếu trên hệ thống của bạn có install firewall.Nếu không bạn sẽ không thể kết nối được đến HyperVM
Bạn cũng phải tắt selinux bằng cách chỉnh sửa lại file theo sau
Code:
# vi /etc/sysconfig/selinux
Tìm đến dòng có selinux rồi thay đổi thành selinux=disable.Rồi lưu lại.
Rồi chạy tiếp lệnh sau
Code:
#setenforce 0
Code:
# vi /etc/sysconfig/selinux
Tìm đến dòng có selinux rồi thay đổi thành selinux=disable.Rồi lưu lại.
Rồi chạy tiếp lệnh sau
Code:
#setenforce 0
==> Khởi động lại máy cho chắc ăn.
2.Download và install
Nếu chưa cài đặt Mysql server, chạy lệnh
# su – root
# wget http://download.lxlabs.com/download/kloxo/production/kloxo-install-master.sh
# sh ./kloxo-install-master.sh
# wget http://download.lxlabs.com/download/kloxo/production/kloxo-install-master.sh
# sh ./kloxo-install-master.sh
Nếu đã cài dịch vụ Mysql thì chạy lệnh sau:
# su – root
# wget http://download.lxlabs.com/download/kloxo/production/kloxo-install-master.sh
# sh ./kloxo-install-master.sh –db-rootpassword=PASSWORD
Khi kloxo được cài đặt, kết nối đến server thông qua http://ip-may-chu:7778
# wget http://download.lxlabs.com/download/kloxo/production/kloxo-install-master.sh
# sh ./kloxo-install-master.sh –db-rootpassword=PASSWORD
Khi kloxo được cài đặt, kết nối đến server thông qua http://ip-may-chu:7778
User: admin
Pass: admin
Sau khi cài đặt Kloxo bạn sẽ có:
Web Services
Web Services Function
apache (2.x) The Apache HTTP Server is a powerful, efficient, and extensible web server.
php (5.2.x) PHP is an HTML-embedded scripting language.
pure-ftpd Pure-FTPd is a fast, production-quality, secure and standard-comformant FTP server especially designed for modern Linux and FreeBSD kernels.
awstats Web Statistics
Mail Services
Mail Services Function
qmail-toaster qmail is a small, fast, secure replacement for the sendmail package, which is the program that actually receives, routes, and delivers electronic mail.
courier-imap-toaster Courier-IMAP is an IMAP server for Maildir mailboxes.
vpopmail vpopmail is a collection of programs and a library to automate the creation and maintence of virtual domain email for qmail installations.
Roundcube Webmail (Ajax)
Horde Webmail
DNS Services
DNS Services Function
bind BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols.
bind-chroot Secures BIND server
Database Service
Database Service Function
mysql-server MySQL is a multi-user, multi-threaded SQL database server.
Web Services
Web Services Function
apache (2.x) The Apache HTTP Server is a powerful, efficient, and extensible web server.
php (5.2.x) PHP is an HTML-embedded scripting language.
pure-ftpd Pure-FTPd is a fast, production-quality, secure and standard-comformant FTP server especially designed for modern Linux and FreeBSD kernels.
awstats Web Statistics
Mail Services
Mail Services Function
qmail-toaster qmail is a small, fast, secure replacement for the sendmail package, which is the program that actually receives, routes, and delivers electronic mail.
courier-imap-toaster Courier-IMAP is an IMAP server for Maildir mailboxes.
vpopmail vpopmail is a collection of programs and a library to automate the creation and maintence of virtual domain email for qmail installations.
Roundcube Webmail (Ajax)
Horde Webmail
DNS Services
DNS Services Function
bind BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols.
bind-chroot Secures BIND server
Database Service
Database Service Function
mysql-server MySQL is a multi-user, multi-threaded SQL database server.
Một số thiết lập tối ưu Kloxo Panel:
Cũng tại dấu nhắc bạn tiếp tục gõ lệnh :
Bật tự khởi động dịch vụ courier-imap do cái này kloxo nó hok chịu thiết lập cứ reset máy là không chạy nữa :
Mã:
chkconfig –levels 235 courier-imap on
Nâng cấp PHP Apache mysql và một số thành phần lên phiên bản mới hơn của kloxo :
Do kloxo nó khi cài đặt sẽ tự cài và compile theo ý nó và bao gồm các version cũ xì php mysql apache nên mình phải up lên tuy nhiên dùng lệnh yum update thì sẽ không thấy có gì đâu vì repos đã bị thay đổi bởi kloxo. Chúng ta cần phải bổ xung repos mới cho server.
Cũng tại dấu nhắc với quyền root như nãy h đã làm chúng ta gõ : Mỗi dòng la một lệnh là một lần enter hen
Bật tự khởi động dịch vụ courier-imap do cái này kloxo nó hok chịu thiết lập cứ reset máy là không chạy nữa :
Mã:
chkconfig –levels 235 courier-imap on
Nâng cấp PHP Apache mysql và một số thành phần lên phiên bản mới hơn của kloxo :
Do kloxo nó khi cài đặt sẽ tự cài và compile theo ý nó và bao gồm các version cũ xì php mysql apache nên mình phải up lên tuy nhiên dùng lệnh yum update thì sẽ không thấy có gì đâu vì repos đã bị thay đổi bởi kloxo. Chúng ta cần phải bổ xung repos mới cho server.
Cũng tại dấu nhắc với quyền root như nãy h đã làm chúng ta gõ : Mỗi dòng la một lệnh là một lần enter hen
Mã:
rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
nano -w /etc/yum.repos.d/utterramblings.repo
rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
nano -w /etc/yum.repos.d/utterramblings.repo
Sau đó sẽ hiện ra khung soạn thảo bạn thay thế toàn bộ nội dung có sẵn bằng cái này :
Mã:
[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
Sau đó gõ lệnh sau để reset lại kloxo và sẵn sàng hoạt động
Mã:
Restart kloxo : /etc/init.d/kloxo restart
Mã:
[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
Sau đó gõ lệnh sau để reset lại kloxo và sẵn sàng hoạt động
Mã:
Restart kloxo : /etc/init.d/kloxo restart
Nguồn: vinashares.com
Không có nhận xét nào:
Đăng nhận xét