Get the latest tutorials on SysAdmin and open source topics. Hub for Good Supporting each other to make an impact. Write for DigitalOcean You get paid, we donate to tech non-profits. Apache is the most popular web server on the internet. It is used to serve more than half of all active websites. Although there are many viable web servers that will serve your content, it is helpful to understand how Apache works because of its ubiquity. In this article, we will examine some general configuration files and options that can be controlled within them. If you do not already have Apache installed, you can do so now by issuing the following commands:. This is all that is necessary to have a working web server. There are a number of plain text files and some sub-directories in this directory.
Why Set Up Your Own VPN Server?
1 Preliminary Note
Whenever I install a Linux distro on my computer and want to quickly unblock websites or hide my IP address, I install OpenConnect client and connect to the server with just two lines of commands:. You can easily install it with your package manager. To follow this tutorial, you will need a VPS Virtual Private Server that can access blocked websites freely Outside of your country or Internet filtering system. You also need a domain name. I registered my domain name from NameCheap because the price is low and they give whois privacy protection free for life. Then use apt to install the ocserv package from Debian repository. You can check its status with:.
Following will be a few questions for primary configuration so be careful. Full qualified hostname FQDN of the server, eg server1. For more information, see interfaces 5. The loopback network interface auto lo iface lo inet loopback The primary network interface allow-hotplug eth0 iface eth0 inet dhcp auto eth0 iface eth0 inet static address Organization Preferences 2. Server Settings 3. Folder Defaults 4. General Options 5.
In this tutorial, I will use the hostname server1. These settings might differ for you, so you have to replace them where appropriate. Before proceeding further you need to have a minimal installation of Debian This might be a Debian minimal image from your Hosting provider or you use the Minimal Debian Server tutorial to set up the base system. All commands below are run as root user.