Getting started with your VPS

Your VPS from RootBSD comes ready to use out of the box, and requires no particular post installation steps, but you might like to do one or more of the following to get the most out of your VPS.

Setting your hostname

Your RootBSD VPS will come with a default hostname already set, but you'll likely want to change this to something more meaningful to you. To change it so your system uses your hostname on the next boot, edit the file /etc/rc.conf and change the line that reads "####.x.rootbsd.net" to hostname="myhostname.example.com". To change the hostname of your system while it is running you can execute 'hostname myhostname'.

 

Change SSH port

Bruteforce attacks against SSH servers are becoming more common so it's a good idea to avoid the risks of these attacks by changing the port on which the SSH server listens. By default an SSH server will listen on port 22 and this is the port which any bruteforce attack will attempt to use, so changing your server to use a different port such as 4022 or 36022 will keep these class of attacks from being successful. To change your SSH port, open the file /etc/ssh/sshd_config on your VPS and find the line that reads "Port 22". Make sure this line is uncommented and change the 22 to some, higher number. Save and close the file and restart your SSH server by running '/etc/rc.d/sshd restart'

 

 

VNC console

All VPSs are configured with VNC console access.  For more information on how to use this feature, please read the article on how to use VNC console.

 

 

 

Setting the timezone

By default, your VPS is configured to use the UTC timezone though you may instead prefer to use your local timezone on your system. To do this, execute the command 'cp /usr/share/zoneinfo/America/New_York /etc/localtime' replacing 'America/New_York' which a city appropriate to your own timezone.

 

Learning about your system

FreeBSD is a powerful operating system and whether you are just being introduced to it, or have used it for years the FreeBSD Handbook is an invaluable source of information and is a great way to get familarized with your FreeBSD system. The FreeBSD handbook is available online at http://www.freebsd.org/handbook/

 

Instantly deploy a BSD cloud VPS with RootBSD

deploy instantly

  • Fast SSD hosting
  • Full root access
  • IPv6 and IPv4 enabled hosting
  • Over 25 data center locations worldwide
  • Friendly and knowledgeable support
  • Build with current FreeBSD, OpenBSD, NetBSD, Linux releases