- How to set up VPS on Linux – Introduction
- How to set up VPS on Linux – Initial Setup
VPS gives you freedom of managing and building the server as you wish, but setting up the VPS first time can be a challenging part. In this series we are going to setup a VPS so you can move along with the series and setup your own VPS in just few hours.
What we expect from you
Don’t worry we don’t expect you to be master of Linux, we just expect that you can type just as we instruct and you can install some software on your machine such as FileZila, Putty or any other ssh client for your machine.
What you should have in our Tool-Box
To work with VPS you will need only 2 tools
- SSH client – for executing commands,Choose one for your machine sshclients-list. i’m windows user so i will be using Putty
- FTP Client for transferring files to your SERVER.I prefer filezilla.
Linux Flavor and some basic commands
Linux comes in various flavor such as Ubuntu, Debian, Fedora, Rad-Hat and many more. We are going to work with the Latest version of Ubuntu,so here are few basic commands you need to know about Ubuntu
-
Nano: Text Editor
i will be using the Nani as Text Editor. here are some basic commands for nano
- opening a file with nano :
nano filepath/filename
- Closing the file
Ctrl+X then y/n to save file or not -> hit enter
- Some more Commands : use Ctrl+G to get help
main editor window. Alternative keys are shown in parentheses: ^G (F1) Display this help text ^X (F2) Close the current file buffer / Exit from nano ^O (F3) Write the current file to disk ^J (F4) Justify the current paragraph ^R (F5) Insert another file into the current one ^W (F6) Search for a string or a regular expression ^Y (F7) Go to previous screen ^V (F8) Go to next screen ^K (F9) Cut the current line and store it in the cutbuffer ^U (F10) Uncut from the cutbuffer into the current line ^C (F11) Display the position of the cursor ^T (F12) Invoke the spell checker, if available
>
- opening a file with nano :
-
Restarting Service:
sudo service servicename restart