Very much a work in progress.

This site is very rough around the edges at the moment but will slowly take shape over time.

I primarily use this a s a journal or notebook for some of the projects I'm doing.  The primary goal at the moment is setting up a number of online servers for use with some webhosting and also to try and learn a bit about Linux and server operations as well as having a bit of fun.

This site will be undergoing many changes in the coming period and hopefully will be of some benefit to me and anyone who stumbles upon it.

Initial Setup

Installation of Centos 8 and various utilities and programs.

I decided to use Centos Workstation primarily to keep compatable and familiar with the Centos online server I maintain. Also Centos, being based on Redhat is very stable and very well supported.

The centos installation was down from the CentOS-8-x86_64-1905-dvd1.ISO I had previously downloaded in October 2019, even though the current version at the time of installation was "CentOS-8.1.1911-x86_64-dvd1.iso".  

Once the Server with GUI installation was complete I first did a full update using:

sudo dnf install

This updated all packages.  This should ensure that all files are up to date prior to installing any of the main programs.

I then installed Gnome Tweaks, again through the Software util and used it to change some things to suit my 4K display etc., primarily change the font size and the mouse pointer size to a larger more suitable size.

Next I wanted to double check Centos version and whether I was running Wayland or X Server graphics system.

To check the Graphics I used the following commands in a terminal:

loginctl

This showed what session ID I was in.  My session ID was 2

I then used:

loginctrl show-session 2 -p Type

This gave a result : Type=Wayland , to confirm I was indeed using the Wayland graphis server.

To check that the system had updated to the current version I used the LSB, Linux Standard Base, command.

I had to install the package which I did with:

sudo dnf install redhat-lsb-core

Once installed then simply issue the command:

lsb_release -d

Result shows: Centos Linux release 8.1.1911 (Core) , so Centos is up to date as of time of this article.

Next I want to install the openssh package for remote access etc.

sudo dnf install openssh-server

This install the necessary software.

I wanted to change the SSH port away from the standard 22 so I need to edit the sshd_config file located in the etc/ssh directory.

Using nano with the command:

sudo nano /etc/ssh/sshd_config

opens the nano editor and loads the sshd_config file.

Locate the line that has #Port 22 and remove the comment marker #.  Then change the Port 22 to show the port number you want : IE 12345

Port 12345

The number can be any number from 1024 to 32767.  

To allow the port to be opened through the firewall use the command:

sudo semanage port -a -t ssh_port_t -p tcp 12345

Please use whatever port number you used previous in the edit of the "Port #### "  this example used 12345.

Next we start the server and check the status of the sshd service:

sudo systemctl start sshd
sudo systemctl status sshd

Ctrl-C will exit the status.

Enable the SSH server to start after rebooot

sudo systemctl enable sshd

Open firewall to accept incoming traffic on SSH port :

firewall-cmd --zone=public --permanent --add-service=ssh

I did a reboot and then checked if I could login from one of my other computers. 

Remember to set the SSH program port to match.  On my Windows machine I used "Putty" and set up the IP address of my Centos machine and the port number 12345.

So far so good.

Centos 8 Workstation setup

Setup of a Lenova Workstation for use as a home server and development machine.

I also want to be able to link directly with my online Websever(s) to be able to perform maintenance and backup etc.

The computer I'm using for the server is an older Lenova Workstation I managed to obtain with the following specs.

Lenova Workstation S20

XEON processor - 6 core - 12 threads

24 GB DDR 3 Ram

250 GB SSD

1 x 1 TB HDD

(Will be adding addition HDD storage in the near future

AMD Dual-X R9-270X OC 2GB graphics.