![]() ![]() Now that this is done, the installation of phpMyAdmin is finally completed. Restart the Apache service in order for all changes including the phpMyAdmin configuration file to be loaded: The secret needs to be 32 characters long: $cfg = 'your-blowfish-secret' Once the tmp directory is created, you need to create an Apache configuration file for phpMyAdmin to be served through that web server: vi /etc/httpd/conf.d/nfĪdd the following content to that nf file: Alias /phpmyadmin /usr/share/phpmyadminĬhange the directory to /usr/share/phpmyadmin and create : cd /usr/share/phpmyadminĮdit the newly created : vi Ĭhange the blowfish secret to your own secret. You also need to create a tmp directory and set its proper permissions: mkdir /usr/share/phpmyadmin/tmpĬhown -R apache:apache /usr/share/phpmyadmin Mv phpMyAdmin-5.0.2-all-languages /usr/share/phpmyadmin Our commands below already have the download link for the latest version of phpMyAdmin (at the time of this article being written): cd /opt PhpMyAdmin is not available in the official CentOS 8 repositories nor the EPEL repository, so you’ll need to download the latest release from the official phpMyAdmin website. ![]() Make sure that you remember the root password because you will need it to log in to phpMyAdmin. You can use the following options: Set root password? Y ![]() Run the ‘ mysql_secure_installation‘ post-installation script provided by MariaDB to strengthen the security of the database server and to set a root password. Start the MariaDB service and set it to start on reboot: systemctl start mariadb Install MariaDBĪnd finally, complete the LAMP installation by installing the MariaDB database server: yum -y install mariadb mariadb-server Next, install PHP along with the required PHP extensions: yum -y install php php-common php-mbstring php-gd php-pdo php-pecl-zip php-json php-mysqlnd 4.3. yum -y install httpd wget unzipĪfter the installation is completed, start the web server and enable it to start upon server boot: systemctl start httpd We will start with installing the Apache web server, one of the most popular web servers, along with wget and unzip. Install the LAMP stackĪs mentioned in the requirements section of the tutorial, a LAMP stack (Apache, MySQL/MariaDB and PHP) is required to run phpMyAdmin on the server. Once you are logged in to the server, run the following command to make sure that all installed packages are up to date: yum -y update 4. Login to your CentOS 8 VPS using ssh as the root user, or as a user with root permissions. Our VPSes come with root access enabled by default. CentOS 8 VPS with root access enabled.MySQL or MariaDB database server version 5.5 or newer.PHP version 7.1.3 or newer, with session support, the Standard PHP Library (SPL) extension, JSON support, and mbstring, zip and GD2 extension.In order to run phpMyAdmin on your CentOS 8 VPS you need the following requirements preinstalled: Transforming stored data into any format using a set of predefined functions, like displaying BLOB-data as image or download-link.Searching globally in a database or a subset of it.Creating complex queries using Query-by-example (QBE). ![]()
0 Comments
Leave a Reply. |