![]() ![]() Once this is done, set a password for the PostgreSQL superuser account (postgres), using the following commands: sudo -u postgres psql psql (10.8 (Ubuntu 10.8-0ubuntu0.18.04.1)) Run the following command to install PostgreSQL 10.8, the latest version available in the official Ubuntu repositories, along with some required PostgreSQL packages: sudo apt-get install postgresql postgresql-client postgresql-client-common postgresql-common postgresql-contrib Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)ĭrop-In: /lib/systemd/system/Īctive: active (running) since Fri 10:13:06 CDT 1min 4s ago We can also check the status of the Apache service with the following command: systemctl status apache2 ![]() If it is not installed, run the following command to install the Apache web server: apt-get install apache2Įnable Apache service to start automatically upon server boot with: systemctl enable apache2 Let’s install it now.įirst, check if Apache is already installed and running on the server: dpkg -l | grep -i apache2 It’s one of the most popular web servers in the world, and that’s what will be serving our web interface. Step 2: Apache Web Server InstallationĪpache is the web server of choice for this tutorial. This will update the package index as well as update the software packages currently installed on the server to their latest versions that are available in the Ubuntu repositories (defined in /etc/apt/sources.list). We can do this by running the following commands: apt-get update & apt-get upgrade Once logged in, make sure that the server OS’ packages are up-to-date. Make sure to replace “ IP_Address” and “ Port_number” with your server’s actual IP address and SSH port number. Log in to your server via SSH, as shown in our example: ssh IP_Address -p Port_number Step 1: Log in via SSH and Update the System Full SSH root access (or a user with sudo privileges) is also required.PHP 5 or higher installed on the server.For the purposes of this tutorial, we will use an Ubuntu 18.04 virtual server.Step 1: Log in via SSH and Update the System.
0 Comments
Leave a Reply. |