![]() This command allows you to check the status of the service and since when it has been running. If all goes well the command returns nothingĬonfigure the automatic start of the service: sudo systemctl enable nginxĬheck the nginx service: systemctl status nginx Start the nginx service: sudo systemctl start nginx This command is very useful, especially when making a configuration change, it allows you to check that it is correct before reloading it. Nginx is now installed, we will now do some checks, configuration and see some commands before moving on to installing PHP.Ĭheck the configuration of nginx: sudo nginx -t ![]() The -y option allows you to not have a confirmation request for the installation Install nginx with the following command: sudo apt install nginx -y On the screenshot below, we can see that the nginx repository has been queried: Update packages with the command: sudo apt update You have to adapt the sources of the repository to the version of Ubuntu, in the tutorial I’m on version 18.04.X, so I’m using bionic.Īdd the signatures of the deposit using the following commands: wget Press the Crtl + X keyboard keys and save the changes. In the nano editor, enter the lines below which are the configuration of the repository: deb bionic nginx Install Nginxīefore installing it, we will add the Nginx office repository.Įnter the following command to create a list file where we will fill in the urls. In this part, we are going to install the various components of the Web server and check their correct functioning. Have a freshly installed and up to date Ubuntu server with root or sudo access and Internet access. In this tutorial, we will not use the official repositories of the distribution, but the repositories of the various components in order to install the latest versions. I’ll also explain how to put phpmyadmin to administer the MariaDB server and how to configure vhosts. Generate a blowfish secret and update the below line with the generated secret in the configuration file.In this tutorial, we will see how to install and configure a server in Ubuntu with the following components: Then, edit the configuration file to make a few changes. ![]() sudo mv /usr/share/phpMyAdmin/ /usr/share/phpMyAdmin/ sudo mv phpMyAdmin-5.2.0-all-languages /usr/share/phpMyAdmin Set up phpMyAdminįirst, rename the phpMyAdmin’s sample configuration file for configuring the phpMyAdmin. tar -zxvf phpMyAdmin-5.2.Īnd then move the phpMyAdmin to the desired location. Then, extract phpMyAdmin using the tar command. So, we will download the latest version of phpMyAdmin from the official website. ![]() But, the package available in it is a bit older version. The phpMyAdmin package is available in the Ubuntu repository. sudo apt install -y php-fpm php-mysql php-json php-mbstring php-xml Install phpMyAdmin on Ubuntu 22.04 Download phpMyAdmin Next, install PHP and required extensions for phpMyAdmin. READ: Install MariaDB on Ubuntu 22.04 / Install MySQL on Ubuntu 22.04 Install PHP Then, install MariaDB or MySQL server by following the below tutorials for preparing your system for phpMyAdmin. READ: Install LEMP Stack on Ubuntu 22.04 Install MariaDB / MySQL Server Install Nginx Web Serverįirst, follow the Nginx installation procedure to install the Nginx server web server. Set up Environmentīefore installing phpMyAdmin, install MariaDB or MySQL database server and an Nginx web server. This post will show how to install phpMyAdmin with Nginx on Ubuntu 22.04. PhpMyAdmin helps the system administrator perform database activities such as creating, deleting, and querying databases, tables, columns, etc. Web hosting companies widely use it to enable users to manage databases. PhpMyAdmin is a free web-based management tool for managing the MySQL and MariaDB database servers.
0 Comments
Leave a Reply. |