Firstly, update and upgrate your installation
apt-get update
apt-get upgrade
Secondly, create new user and prevent root ssh login , to enhance security of your vps
Create new user on vps
adduser xyz
Give sudo privileges
adduser xyz sudo
Remove root from accessing shell
$nano /etc/ssh/sshd_conf
Now, reload your ssh.
reload ssh
exit and login with new sudo user: xyz
ssh xyz@ip.addresss
Thirdly, use this user to install all your packages.
Most important package is to have one virtualhost manager:virtualmin
Download virtualmin install script from this url: http://software.virtualmin.com/gpl/scripts/install.sh
$cd /home
$curl http://software.virtualmin.com/gpl/scripts/install.sh
$ sudo . ./install.sh
Follow its simple steps. It will download and configure, all modules needed to manage a typical web host.
When installed, open the url : http://ip.address:10000
References:
apt-get update
apt-get upgrade
Secondly, create new user and prevent root ssh login , to enhance security of your vps
Create new user on vps
adduser xyz
Give sudo privileges
adduser xyz sudo
Remove root from accessing shell
$nano /etc/ssh/sshd_conf
PermitRootLogin no PasswordAuthentication no
Now, reload your ssh.
reload ssh
exit and login with new sudo user: xyz
ssh xyz@ip.addresss
Thirdly, use this user to install all your packages.
Most important package is to have one virtualhost manager:virtualmin
Download virtualmin install script from this url: http://software.virtualmin.com/gpl/scripts/install.sh
$cd /home
$curl http://software.virtualmin.com/gpl/scripts/install.sh
$ sudo . ./install.sh
Follow its simple steps. It will download and configure, all modules needed to manage a typical web host.
When installed, open the url : http://ip.address:10000
References:
- http://www.virtualmin.com/download.html#gpl
No comments:
Post a Comment