<\/span><\/h2>\nLog in to your Ubuntu 18.04 VPS via SSH as the root user, or as a user with sudo privileges.<\/p>\n
ssh root@IP_Address -p Port_number<\/pre>\nRemember to replace ‘IP_Address’ and ‘Port_number’ with the actual IP address and SSH port number of your server.<\/p>\n
The execute the following command to update all installed packages on your Ubuntu 18.04 VPS.<\/p>\n
apt update && apt upgrade<\/pre>\n<\/span>Step 2: Install Apache<\/strong><\/span><\/h2>\nTaskBoard needs a web server to serve its content. In this tutorial we will install and use the Apache web server, a popular and easy-to-use web server. It can be easily installed using the following command:<\/p>\n
apt -y install apache2<\/pre>\nOnce the Apache web server is installed, start it and enable it to automatically start upon a server reboot.<\/p>\n
systemctl start apache2\r\nsystemctl enable apache2<\/pre>\nUse this command to confirm that Apache is running, by checking its status:<\/p>\n
systemctl status apache2\r\n\r\napache2.service - The Apache HTTP Server\r\n Loaded: loaded (\/lib\/systemd\/system\/apache2.service; enabled; vendor preset: enabled)\r\n Drop-In: \/lib\/systemd\/system\/apache2.service.d\r\n \u00e2\u00e2apache2-systemd.conf\r\n Active: active (running)\r\n Main PID: 25440 (apache2)\r\n Tasks: 6 (limit: 2320)\r\n CGroup: \/system.slice\/apache2.service\r\n \u00e2\u00e225440 \/usr\/sbin\/apache2 -k start\r\n \u00e2\u00e225443 \/usr\/sbin\/apache2 -k start\r\n<\/pre>\nOr visit http:\/\/Your_IPaddress\/ in a web browser. If the web server is running you will get the default Apache page.<\/p>\n
<\/span>Step 3: Install PHP and SQLite<\/strong><\/span><\/h2>\nTaskBoard is a PHP-based application, so the next step would be to install PHP along with several PHP extensions that are required by the application.<\/p>\n
apt -y install php php-json php-cli php-gd php-sqlite3 libapache2-mod-php<\/pre>\nAfter the installation is completed, you can use the following command to check the installed version of PHP.<\/p>\n
php -v\r\nPHP 7.2.15-0ubuntu0.18.04.2 (cli) (built: Mar 22 2019 17:05:14) ( NTS )\r\nCopyright (c) 1997-2018 The PHP Group\r\nZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies\r\n with Zend OPcache v7.2.15-0ubuntu0.18.04.2, Copyright (c) 1999-2018, by Zend Technologies\r\n<\/pre>\nTaskBoard doesn’t need a server-based SQL server, such as MySQL. It uses an SQLite database, which consists of a single file on the disk. Install SQLite using the next command:<\/p>\n
apt -y install sqlite<\/pre>\n