Initial Server Setup with Cent.OS 7.Introduction.When you first create a new server, there are a few configuration steps that you should take early on as part of the basic setup.This will increase the security and usability of your server and will give you a solid foundation for subsequent actions.Step One Root Login.To log into your server, you will need to know your servers public IP address and the password for the root users account.If you have not already logged into your server, you may want to follow the first tutorial in this series, How to Connect to Your Droplet with SSH, which covers this process in detail.Online Tv Pro 2013 V13 0 Full Moon '>Online Tv Pro 2013 V13 0 Full Moon .If you are not already connected to your server, go ahead and log in as the root user using the following command substitute the highlighted word with your servers public IP address ssh rootSERVERIPADDRESSComplete the login process by accepting the warning about host authenticity, if it appears, then providing your root authentication password or private key.If it is your first time logging into the server, with a password, you will also be prompted to change the root password.About Root.The root user is the administrative user in a Linux environment that has very broad privileges.Because of the heightened privileges of the root account, you are actually discouraged from using it on a regular basis.This is because part of the power inherent with the root account is the ability to make very destructive changes, even by accident.The next step is to set up an alternative user account with a reduced scope of influence for day to day work.Well teach you how to gain increased privileges during the times when you need them.Step Two Create a New User.Once you are logged in as root, were prepared to add the new user account that we will use to log in from now on.This example creates a new user called demo, but you should replace it with a user name that you like Next, assign a password to the new user again, substitute demo with the user that you just created Enter a strong password, and repeat it again to verify it.Step Three Root Privileges.Now, we have a new user account with regular account privileges.However, we may sometimes need to do administrative tasks.To avoid having to log out of our normal user and log back in as the root account, we can set up what is known as super user or root privileges for our normal account.Install Centos 7
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |