To get to the login page, you need open your browser and go to You should get a page that looks like the image below. Now, we can restart Apache so that the changes take place: sudo systemctl restart rvice The more access you allow, you more you may also increase your server’s exposure to exploit. Note: When adding allowed IPs to this file, be sure you only add the IPs for users who require access. In Nano to save a close, hit Ctrl+X and then Y and then Enter. The configuration file should like the one below when completed. In this case, we would put “Require ip 192.168.0.2” below “Require ip 127.0.0.1” If you do not know your public IP, you can use this tool. Below each one we are going to put “Require ip ” For the purpose of this example, we’ll say we want to grant phpMyAdmin access to a workstation with an IP of 192.168.0.2. There will be two places that say “Require ip 127.0.0.1”. In this example, we are using Apache 2.4, so we only need to change the configurations for 2.4. If you want to allow other IPs, you’ll need to open the nf file with your preferred text editor. By default, phpMyAdmin is configured only to accept connections from the server it is installed on. The phpMyAdmin installation process will make a configuration file in /etc/httpd/conf.d/ called nf. Hit “Y” and then Enter for each question. sudo yum install phpmyadminĭuring the phpMyAdmin install, it will prompt “Is this ok?” for the install and then the EPEL key. To install phpMyAdmin quickly on CentOS 7, we are going to install the Extra Packages for Enterprise Linux (EPEL) repo first by running the following command: sudo yum install epel-releaseĭuring the install, it will prompt “Is this ok?”. You do not have to append sudo to the commands below if you are logged in as the root user. This how-to assumes you are using a user with root privileges. You will need valid MariaDB credentials to log into your database once phpMyAdmin is installed. If you do not have LAMP installed, you can follow our guide here. phpMyAdmin is written in PHP and is free and open source.Ī CentOS 7 LAMP server is required. This how-to will walk you through the installation process of phpMyAdmin. phpMyAdmin is a tool to directly manage your databases by allowing you to visually add, delete, or modify databases and tables, among other things.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |