Updated Wednesday, October 7, , by Linode. Then create or import a database, upload files, and add DNS records. By the time you reach the end of this guide, your Linode will be hosting one or more websites! This guide is intended for small and medium-size websites running on WordPress, Drupal, or another PHP content management system. Hosting a website starts with installing a web server , an application on your Linode that delivers content through the Internet. For more information about Apache and other web servers, see our guides on web servers. If you are using Ubuntu When Tasksel completes, skip the installation steps in each section below and continue on to the configuration steps of each part of the stack:.
Serve WordPress Lightning Fast
This tutorial will guide you on the first basic steps you need to configure on a new installed Ubuntu server in order to increase security and reliability for your server. The configurations explained in this topic are almost the same for all Ubuntu server systems, regarding of the underlying OS platform, whether Ubuntu is installed on a bare-metal server, in a private virtual machine or a virtual machine spinned-out in a VPS public cloud. The first step you need to take care of in case of fresh installation of Ubuntu server or a new deployed Ubuntu VPS is to make sure the system and all system components, such as the kernel, the apt package manager and all other installed packages are up-to-date with the latest released versions and security patches. After running the update command, you will see the number of available packages for upgrading process and the command used for listing the packages upgrades. In order to remove all locally downloaded deb packages and all other apt-get caches , execute the below command. By default, as a security measure, the root account is completely disabled in Ubuntu. In order to create a new account on the system, log in to the system with the account user with root privileges and create a new account with the below command.
Welcome to small tutorial series of hosting a website on Linux machine. This series of articles will teach how to setup a web server on the Linux computer and make it available online. In this article Part 1 , we are going to install all the required tools to a setup web server. However, this can be implemented in any Linux distro. The tutorial is divided into two parts. In the first part, we discuss the basic components and their installation part.
However, when creating your new Droplet you should choose Ubuntu You should also select a region that is closest to the majority of your base audience. Finally, make sure that you add your SSH key under the Authentication section so that you can login to your server. Once the server has finished provisioning you will be able to connect to it using the root user and public IP address. To set the hostname, issue the following commands altered for your chosen domain name :. Log into your DNS control panel and create a new A record:. Now if you exit out of the current SSH session you should be able to connect to the server using the new hostname.