1. Tạo VPS CentOS 6.x qua console
2. Cài đặt Nginx
sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install nginx
service nginx start
3. Sử dụng HZTUT (tác giả Nguyễn Oánh)
wget https://hostingaz.vn/script/hztut/hztut-centos && chmod +x hztut-centos && ./hztut-centos
4. Cài đặt VNC client
Tự download
5. Edit VNC Server
#vim /etc/sysconfig/vncserver
Thêm 2 dòng này vào cuối. Đây là mình cho đăng nhập qua Root
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 800x600"
6. Conect qua Client
Nếu bạn đăng nhập qua Root thì :1 sau IP server
Nếu bạn tạo user thường đăng nhập thì :2 sau IP server

No comments:
Post a Comment