How to set up a VPS: Difference between revisions
Jump to navigation
Jump to search
Created page with '* Log in as root via ssh * update hostname in /etc/hostname, run "hostname -F /etc/hostname", add line to /etc/hosts * sudo dpkg-reconfigure tzdata * create user account, add to…' |
No edit summary |
||
Line 1: | Line 1: | ||
* Log in as root via ssh | * Log in as root via ssh | ||
* update hostname in /etc/hostname, run "hostname -F /etc/hostname", add line to /etc/hosts | * (PROBABLY NOT NEEDED:) update hostname in /etc/hostname, run "hostname -F /etc/hostname", add line to /etc/hosts | ||
* sudo dpkg-reconfigure tzdata | * sudo dpkg-reconfigure tzdata | ||
* create user account, add to sudoers with visudo | * create user account, add to sudoers with visudo |
Revision as of 22:40, 7 January 2015
- Log in as root via ssh
- (PROBABLY NOT NEEDED:) update hostname in /etc/hostname, run "hostname -F /etc/hostname", add line to /etc/hosts
- sudo dpkg-reconfigure tzdata
- create user account, add to sudoers with visudo
- update ssh to listen on a different port and (carefully) to deny root access
- install emacs23-nox, nmap, ntp, postfix, mailutils, logwatch, sysv-rc-conf, unzip, zip
- config ntp and postfix as usual
- re-load /var/www/ from backup