Skip to main content

Posts

Showing posts from January, 2018

Initial Server Setup with CentOS 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 server's public IP address and the password for the "root" user's 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. 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 server's public IP address): ssh root@ SERVER_IP_ADDRESS Complete the login process by accepting the warning about host authenticity, if it appears, then providing your root authentication (password...

Upgrade Apache 2.4.6 to 2.4.29 without losing config

Apache is the most widely used web server software for serving web applications and it is essential part of any server. To have the latest version installed, means that your software package will probably have more new features and known bugs fixes. Introduction In this tutorial I am going to describe simple steps to install the latest Apache (httpd) version on your Centos 7 system. By default Centos 7 has few predefined repositories for installing packages, but unfortunately a lot of packages are out of date there. Step 1 — Find out the Apache version in default repos In order to check the current version of  httpd  package available in repositories – type the following command: 1 yum info httpd If you have default installation, you will most likely see similar output. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 [root@crosp ~]# yum info httpd Loaded plugins: fastestmirror epel/x86_64/metalink ...