$ sudo apt install phpmyadminĭuring installation, it will show you the below dialog, choose NO. To install it on Ubuntu 20.04, run the below command. PhpMyAdmin is a powerful web interface to manage databases online, almost every system admin use it because it is very easy to manage databases using it. Secure MariaDB Installation Installing PhpMyAdmin in Ubuntu Thereafter, answer Y for every subsequent prompt. The script will be prompted to enter the root password or set it up. Once installed, you can run the security script to secure the MariaDB installation as shown. $ sudo add-apt-repository 'deb focal main' $ sudo apt-get install software-properties-common MariaDB is a fork from MySQL, it is also a good database server to use with Lighttpd, to install it on Ubuntu 20.04 run these series of commands in the terminal. Check PHP Info in Ubuntu Step 3: Installing MariaDB in Ubuntu You will see this page which means that PHP is installed successfully. Now go to your domain or IP address and call test.php file, like. Press ESC key, and write :x and press Enter key to save the file. Press the “ i” button to start editing, and add the following line to it. Now to test if PHP is working or not, let’s create a ‘ test.php‘ file in /var/$ sudo vi /var/www/html/test.php $ sudo lighty-enable-mod fastcgiĪfter enabling modules, reload the Lighttpd server configuration by running the below command. Now to enable the PHP module, run the following commands in the terminal. Additionally, you also need to install the ‘ php-mysql‘ package to enable MySQL support. Lighttpd web server won’t be usable without PHP FastCGI support. /etc/lighttpd/ – is the default folder for Lighttpd configuration files./var/www/html – is the default root folder for Lighttpd.Check Lighttpd in Ubuntuīefore, heading up for further installation, I would like to tell you that the following are the important things about Lighttpd you should know before continuing. Once, Lighttpd installed, you can go to your website or IP address and you will see this page which confirms the installation of Lighttpd on your machine. Step 1: Installing Lighttpd on Ubuntuįortunately, Lighttpd is available to install from the official Ubuntu repositories, So if you want to install Lighttpd, you only have to run the following command. This article explains how to install Lighttpd, MariaDB, PHP with PhpMyAdmin on Ubuntu 20.04. Support for FastCGI, SCGI, CGI interfaces.Lighttpd is an open-source web server for Linux machines, very fast and very small in size, it doesn’t require a lot of memory and CPU usage which makes it one of the best servers for any project that needs speed in deploying web pages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |