This post is continued part of Setup unmanaged VPS with Litespeed Php and mySQL
This time we will setup pure-ftpd ftp server, host multiple domains with litespeed webserver and create user account
# cd /opt
# wget http://download.pureftpd.org/pure-ftpd/releases/pure-ftpd-1.0.22.tar.gz
# tar xvf pure-ftpd-1.0.22.tar.gz
# ./configure
# make install-strip
pure-ftpd has been installed, now start it
# /usr/local/sbin/pure-ftpd &
For example, i will host zone23.co.cc with username zone23
Let create zone23 first
# gorupadd zone23
# useradd zone23 -g zone23
set password for user zone23 :
# passwd zone23
Enter new password for user zone23
user zone23 was created, and /home/zone23 was automatically created too
Create public_html, cgi-bin and logs folder under /home/zone3c and change its ownership to user zone23
# mkdir /home/zone3c/public_html /home/zone3c/cgi-bin /home/zone3c/logs
# chown -R zone23:zone23 /home/zone23
Now login to your litespeed admin panel
Click on Configuration – Virtual Host Template – PHP_SuEXEC
Hit General tab and click edit on Template Setting
Enter data like shown on this picture :

save it, and do Graceful Restart (Actions – Graceful Restart)
Back to Configuration – Virtual Host Template – PHP_suEXEC. HIt Add on bottom right corner. Enter data like in this picture below to add domain http://zone23.co.cc :
Click Save, and do Graceful Restart. Now zone23.co.cc has been added to litespeed virtual host, with details like this :
Domain : zone23.co.cc
FTP server : zone23.c0.cc
Username : zone23
Password : your new password
Home Dir : /home/zone23
Http home dir : /home/zone23/public_html
Repeat these step to add other domain.
RSS feed for comments on this post. TrackBack URL
January 1st, 2010 at 11:43 pm (Quote)
cara login ke consolenya gmn ya?? kok di VPS ku ga ada? pa cman ga tau saya.
how to login in console mode?? I cant find it in my VPS.