Centos 6 phpmyadmin config file location8/24/2023 ![]() Save and close the file, then restart the Apache service to implement the changes: systemctl restart httpd Replace it with the following line: Alias /securelocation /var/www/html/phpmyadmin You can change it by editing the nf file: nano /etc/httpd/conf.d/nfįind the following line: Alias /phpmyadmin /var/www/html/phpmyadmin ![]() It is a good idea to change the access URL of your phpMyAdmin interface. In this section, we will show different ways to secure your phpMyAdmin web interface. Log in with your MySQL credentials created earlier. Now, open your web browser and visit the URL You should see the phpMyAdmin web interface in the following screen: Then, start the Apache service and enable it to start after system reboot with the following command: systemctl start httpd Then, import the tables for phpMyAdmin with the following command: mysql Next, edit the file and define your secure password: nano įind the line below and update with your secure password, as shown below: $cfg = 'your-secure-password' Next, rename the file: cd /var/www/html/phpmyadmin Next, change the ownership of the phpmyadmin directory to the apache user: chown -R apache:apache /var/www/html/phpmyadmin Next, rename the extracted directory to phpmyadmin as shown below: mv phpMyAdmin-4.9.4-all-languages phpmyadmin Once downloaded, unzip the downloaded file with the following command: unzip phpMyAdmin-4.9.4-all-languages.zip Reload privilege tables now? Y Step 4 – Install phpMyAdminįirst, download the latest version of phpMyAdmin to the Apache web root directory using the following command: cd /var/www/html This script will set the MySQL root password, remove anonymous users, disallow root login remotely and remove the test database and access to it, as shown below:Įnter current password for root (enter for none): Set root password? Y Next, set the MySQL root password using the following script: mysql_secure_installation Step 3 – Set MariaDB Root Passwordįirst, start the MariaDB service and enable it to start on boot time with the following command: systemctl start mariadb dnf update -y Step 2 – Install Apache, MariaDB and PHPīefore starting, install Apache, MariaDB, PHP and other required PHP extensions with the following command: dnf install httpd mariadb-server php php-cli php-json php-mbstring php-pdo php-pecl-zip php-mysqlnd -yĪfter installing all the packages, you can proceed to the next step. Once you are logged into your CentOS 8 server, run the following command to update your base system with the latest available packages. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page. Create a new server, choosing CentOS 8 as the operating system with at least 1GB RAM. Step 1 – Create Atlantic.Net Cloud Serverįirst, log in to your Atlantic.Net Cloud Server. A root password configured on your server. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |