So what else is there to do on the weekend but learn new ways of doing things? I took time this morning and set up a CentOS Linux Virtual Machine. I wanted to do this to see how different it is from Ubuntu. I knew all I wanted to look at was this command line version. I really don’t need the desktop GUI on a server.
When I installed CentOS I choose to install the minimal installation. Little did I know this only installs the base kernel and just enough to get the system up and running.
I also update and upgrade my installs of Linux before I try to install any packages or applications. I tried (sudo apt-get update) I received a return that this is no apt-get? Then it hit me I seen somewhere with CentOS the installer is YUM. I then typed (yum update) I was off the races.
Next, I installed mariadb and httpd. Once the httpd was installed and started using systemctl I tested to see if I could bring it up the test site. There is none installed with the package. So I type (nano) no program found? Once again it was a simple (yum nano) after a quick install I had my editor.
I wrote the simple html page you see above and saved it under (var/html) as index.html and set up the firewall to allow the port 80 traffic and it worked like a charm.
Why am I doing all of this work? I believe in continuing my training with Linux. It is a powerful server. I also was blown away by how fast CentOS boots. I rebooted the server and it was up in seconds. I am sure I will have more on this in the near future. I will also be doing a write up of my install and will add it to the paid memberships to share with everyone. More to come soon!