The first service to add to your Linux box is the yum(Yellowdog Updater, Modified.) It is the package management utility that is super useful on modern linux. It is useful in newer cases for now we will be using APT(Advanced Package Tool)
Other services we will be exploring here are Apache web server and Nginx.
After installing, we can check its status on the system.
We can start and stop it with the same commands.
Similar command structure works for apache.
For Security reasons, you should replace your VSFTPd with a SFTP service. SFTP does not actually use ftp protocol, it uses ssh services and emulates the ftp process.
We, of course, need to set up open ssh on our server to make this work for us.
Also, edit the ssh_config file by adding the last 5 lines to the file.
sudo nano /etc/ssh/ssh_config
You can set up a new user to connect to the sftp service.
Connecting to the service is similar to this:
Make sure to change the ip to your needs.
We can secure our Nginx service in our firewall with the ufw commands.
Your UFW can be configured by port number and IP address. This will by default configure for IPv6 if you are just doing ports.
You can turn off IPv6 by going into /etc/default/ufw :
Windows Server is, as always, doing its own thing for web servers. They use IIS.
The Easy Way to install IIS is to go through Server Manager and pick the IIS role.
You might need to install Windows Authentication for the service to use instead of Kerberos.
You can configure the Windows Firewall service to control connections to the server:
Top comments (0)