In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the knowledge of "how to install phpmyadmin in ubuntu". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Install apachesudo apt-get install apache2 in order to test whether apache2 is normal, visit http://localhost/ or http://127.0.0.1/ and It Works appears! That is, the installation is successful. 2. During the installation of mysqlsudo apt-get install mysql-server, MySQL requires that the account has a password, which has nothing to do with the operating system. 3. Install related modules. Restart apache:sudo / etc/init.d/apache2 restart after sudo apt-get install libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql installation is completed. Why install php5-mysql? Because the package writes configuration files to the / etc/php5/conf.d directory, PHP can support mysql. Why install libapache2-mod-php5? Reference to "Ubuntu Best practices" http://www.linuxidc.com/linux/2011-07/39170.htm: because when we install this package, it automatically writes PHP's configuration files php5.conf and php5.load to / etc/apache2/mods-available and links them to the / etc/apache2/mods-enabled directory. At the end of the installation, the package automatically reloads the apache configuration, and php can run on apache. There is no need to manually associate Apache with PHP. To test whether PHP is working, create an info.php file under / var/www with the following contents: visit: http://localhost/info.php, the configuration information of php will appear. The configuration file for apache2 is stored in the / etc/apache2/apache2.conf,web file under / var/www, and the mysql file is stored under / var/lib/mysql. 4. After the installation of phpmyadmin sudo apt-get install phpmyadmin is completed, visit: http://localhost/phpmyadmin/, prompt not found. You also need to put the installed phpmyadmin folder into / var/www/. Sudo ln-s / usr/share/phpmyadmin/ / var/www/ or copy phpmyadmin directly to / var/www. 5. Install adminer adminer is a php file, download it from http://www.adminer.org/ and put it into / var/www/. For example, create a new adminer folder in / var/www, put the downloaded adminer-3.5.1.php or other versions in this folder, then visit http://localhost/adminer/, and click on the php file. This is the end of "how to install phpmyadmin for ubuntu". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.