Search
Tags
Log In
Installing phpMyAdmin on a Debian System running MySQL, Apache2 and PHP
INSTALLING PHPMYADMIN. (phpMyAdmin is a web interface used to develop and manage MySQL databases.)
- At the Debian GNU/Linux w/ KDE Welcome Screen, chose the “Menu” option in the lower left part of the screen.
- In the Menu chose the “Console Login” option. (You Can also simply click ALT+N from the Debian GNU/Linux w/ KDE Welcome Screen, in place of the first two steps in this section. This is a shortcut to the Console or “CONSOLE MODE”.)
- At the Login prompt type: “root” and hit the [enter] key.
- Type in the Password of the “root” user and hit the [enter] key.
- Then you will type the following code:
- Code:
test:~# apt-get updatethen press the [enter] key. This will download the latest, most up to date installation packages. Do not try to continue until it has completed the package header downloads.
- Once all the package headers have been downloaded, type:
- Code:
test:~# apt-get install phpmyadminthen press the [enter] key to continue. You will be prompted about being sure. Hit the “Y” key and press the [enter] key to continue.
- Verify that the installation completed by looking at the last 5 lines of the installation script. Each line should have created a configuration file. You will be left at the # Command Prompt.
- You will need to restart your Apache2 web server after installing phpMyAdmin. To do this type:
- Code:
test:~# /etc/init.d/apache2 restartthen press the [enter] key. This will restart the Apache2 server, and enforce the new modifications you just made.
- Bring up a web browser and go to the IP Address of the machine you are working on: “http://localhost/phpmyadmin/” if you or working locally or “http://0.0.0.0/phpmyadmin/” if you are working remote. Hit the [enter] key.
- You should be directed to a website showing the log in screen for phpMyAdmin.
- Log in with “root” as the username and leave the password blank. This is the default username and password to get it for the first time. As a rule of security and in general, you will want to add a password to that account to make it more secure.
- Congratulations, you have successfully installed phpMyAdmin!
Filed under: Computers, Linux-Unix, Software | No Comments »
Installing MySQL Server on a Debian System
INSTALLING MYSQL SERVER. (MySQL is one of the most popular Database Servers available and certainly the most powerful.) The MySQL Packages are necessary to use many various email systems, online bulletin boards, forums and many other data driven features you may want to use in the future.
- At the Debian GNU/Linux w/ KDE Welcome Screen, chose the “Menu” option in the lower left part of the screen.
- In the Menu chose the “Console Login” option. (You Can also simply click ALT+N from the Debian GNU/Linux w/ KDE Welcome Screen, in place of the first two steps in this section. This is a shortcut to the Console or “CONSOLE MODE”.)
- At the Login prompt type: “root” and hit the [enter] key.
- Type in the Password of the “root” user and hit the [enter] key.
- Then you will type the following code:
- Code:
test:~# apt-get updatethen press the [enter] key. This will download the latest, most up to date installation packages. Do not try to continue until it has completed the package header downloads.
- Once all the package headers have been downloaded, type:
- Code:
test:~# apt-get install mysql-serverthen press the [enter] key to continue. You will be prompted about being sure. Hit the “Y” key and press the [enter] key to continue.
- When you are returned to the command prompt, you need to verify that the installation completed without errors. Read the last 4 lines of the installation script, found above the # Command Prompt. It should say “Stopping MySQL database server: mysqld” then “Starting MySQL database server: mysqld” then “Checking for corrupt, not cleanly closed and upgrade needing tables…” and lastly “Setting up mysql-server (version number)” .
- Obviously the last step should have left you at the # Command Prompt.
- Congratulations, you have successfully installed MySQL Server!
Filed under: Computers, Linux-Unix, Software | No Comments »