With Aposhian Majeski well and ph installed we can go ahead and install ph P my admin ph P my admin
is a very handy tool that can be used to interact with your might as well databases through a graphical
user interface
bespeaks administration of databases much easier than trying to do it through executing command lines.
Before we install P-H PMI admin Let's go ahead and update our package index like we did earlier.
Although it's likely not necessary since we just updated our package index pretty recently it's a good
practice to run the update command prior to installation of any major component.
So Type in act update
and now type in the following command to get ph PMI admin
and press ENTER
take why when prompted press enter again
here you'll need to select your web server.
Make sure that you have a policy to highlighted also make sure you hit the space bar to make sure that
Apache 2 is in fact checked.
As you can see here
and once you've done that press OK.
OK so now you'll see a message it says the HP my admin package must have a database installed and configured
before it can be used.
If you're an advanced database administrator and know that you want to perform this configuration manually
or if your database has already been installed and configured you should refuse this option so I'll
just move forward.
We do want this installer to configure a database for PH PMI my admin.
So make sure that you select Yes and press enter.
You'll now have to enter a minuscule application password for P-H PMI admin.
So again just make sure it's something you can remember and something that is secure
the installation process automatically adds the PMI admin configuration file into the following directory
that you see on your screen.
So all we need to do now is enable the M-B string ph extension by typing the following command.
Once you've entered that command press enter and the last step here is to restart apache for the changes
to be recognized
so type in this command and press enter
to make sure that p.m.-I admin has been installed successfully.
You can type THP my admin after your IP
and you should see the CHP my admin log in page appear.
So you can enter your username as root and the password is the password that you'd configure during
installation
OK.
There it is.
So this is the HP my admin user interface here all your databases are here on the left and it's a great
tool for administering your databases.
If you do want to m.p.h. PMI admin We do have a whole section devoted to it in our Web development masterclass
and that'll show you how do you administer databases work with different users.
Import export data and a whole volume of other information.
Good but for now I'll just hit the back button.
It's probably a better practice to log out so this is the log out button right here and it takes you
back to a log in page.
So I'm going to go back to our default index page.