1 00:00:01,720 --> 00:00:11,020 With Aposhian Majeski well and ph installed we can go ahead and install ph P my admin ph P my admin 2 00:00:11,200 --> 00:00:17,260 is a very handy tool that can be used to interact with your might as well databases through a graphical 3 00:00:17,260 --> 00:00:18,270 user interface 4 00:00:21,010 --> 00:00:26,660 bespeaks administration of databases much easier than trying to do it through executing command lines. 5 00:00:28,220 --> 00:00:34,340 Before we install P-H PMI admin Let's go ahead and update our package index like we did earlier. 6 00:00:34,790 --> 00:00:41,270 Although it's likely not necessary since we just updated our package index pretty recently it's a good 7 00:00:41,270 --> 00:00:46,590 practice to run the update command prior to installation of any major component. 8 00:00:47,330 --> 00:00:51,190 So Type in act update 9 00:00:55,510 --> 00:00:59,260 and now type in the following command to get ph PMI admin 10 00:01:06,640 --> 00:01:07,330 and press ENTER 11 00:01:10,580 --> 00:01:13,260 take why when prompted press enter again 12 00:01:17,940 --> 00:01:20,750 here you'll need to select your web server. 13 00:01:20,870 --> 00:01:28,470 Make sure that you have a policy to highlighted also make sure you hit the space bar to make sure that 14 00:01:28,470 --> 00:01:30,410 Apache 2 is in fact checked. 15 00:01:30,420 --> 00:01:31,340 As you can see here 16 00:01:34,300 --> 00:01:46,380 and once you've done that press OK. 17 00:01:46,550 --> 00:01:53,330 OK so now you'll see a message it says the HP my admin package must have a database installed and configured 18 00:01:53,900 --> 00:01:55,300 before it can be used. 19 00:01:58,320 --> 00:02:03,810 If you're an advanced database administrator and know that you want to perform this configuration manually 20 00:02:04,260 --> 00:02:10,630 or if your database has already been installed and configured you should refuse this option so I'll 21 00:02:10,710 --> 00:02:11,910 just move forward. 22 00:02:11,910 --> 00:02:17,540 We do want this installer to configure a database for PH PMI my admin. 23 00:02:17,560 --> 00:02:22,250 So make sure that you select Yes and press enter. 24 00:02:22,290 --> 00:02:28,610 You'll now have to enter a minuscule application password for P-H PMI admin. 25 00:02:28,630 --> 00:02:32,470 So again just make sure it's something you can remember and something that is secure 26 00:02:44,590 --> 00:02:52,090 the installation process automatically adds the PMI admin configuration file into the following directory 27 00:02:52,270 --> 00:02:53,610 that you see on your screen. 28 00:02:54,610 --> 00:03:02,250 So all we need to do now is enable the M-B string ph extension by typing the following command. 29 00:03:06,790 --> 00:03:14,740 Once you've entered that command press enter and the last step here is to restart apache for the changes 30 00:03:14,740 --> 00:03:15,640 to be recognized 31 00:03:18,930 --> 00:03:21,190 so type in this command and press enter 32 00:03:25,850 --> 00:03:30,680 to make sure that p.m.-I admin has been installed successfully. 33 00:03:30,790 --> 00:03:35,860 You can type THP my admin after your IP 34 00:03:40,060 --> 00:03:43,380 and you should see the CHP my admin log in page appear. 35 00:03:46,030 --> 00:03:52,580 So you can enter your username as root and the password is the password that you'd configure during 36 00:03:52,580 --> 00:03:53,270 installation 37 00:03:57,770 --> 00:03:58,080 OK. 38 00:03:58,090 --> 00:03:59,670 There it is. 39 00:03:59,750 --> 00:04:08,680 So this is the HP my admin user interface here all your databases are here on the left and it's a great 40 00:04:08,680 --> 00:04:11,410 tool for administering your databases. 41 00:04:11,440 --> 00:04:20,390 If you do want to m.p.h. PMI admin We do have a whole section devoted to it in our Web development masterclass 42 00:04:20,960 --> 00:04:26,220 and that'll show you how do you administer databases work with different users. 43 00:04:26,270 --> 00:04:31,140 Import export data and a whole volume of other information. 44 00:04:31,470 --> 00:04:35,270 Good but for now I'll just hit the back button. 45 00:04:35,340 --> 00:04:40,620 It's probably a better practice to log out so this is the log out button right here and it takes you 46 00:04:40,620 --> 00:04:42,080 back to a log in page. 47 00:04:42,160 --> 00:04:45,270 So I'm going to go back to our default index page.