Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Build LAMP by Ubuntu14.04

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1. Update the software source (for specific documents, please contact this blogger, there is a blogger's email address on the home page)

two。 Install Apache

3. Check to see if Apache is installed successfully

4. Install PHP5

5. View the version of PHP5

6. Check to see if apache has loaded the libphp5.so module, which Apache uses to direct the PHP parser to execute PHP code

7. To install mysql, the root user password of the database will be entered during the installation process. After entering it twice, the installation can continue to be completed. Note that this password is not the password of the system root account, but the password of the default user root of the database you installed.

8. Check whether the extension of mysql.so is loaded. PHP performs the CURD operation through the extension link mysql. If you prompt no such file or directory to indicate that PHP does not install the extension of the operation database by default, you need to install it yourself.

9. If the previous step is unsuccessful, perform this step to install the mysql extension for PHP

10. Check whether the extension is installed successfully. Different versions may be stored in different locations.

11. Restart mysql and Apache

twelve。 Create a php file to test whether the environment is installed successfully

13. Install common extensions for php

This process takes a long time to install, please wait patiently

14. After the installation is complete, restart Apache

15. If you need to upload or manipulate files, you need to log in to SSH with your root account, and you need to modify the Ubuntu system to allow root users to log in SSH.

16. Find PermitRootLogin and change it to yes to save and exit, restart the SSH service, and log in using your root account.

17. Install phpmyadmin (it is best to install, facilitate operation and set up the following remote login account)

18. During the installation process, you will be prompted to enter the password, etc. You can enter it directly. After the installation is completed, it will be placed in the / usr/share/phpmyadmin directory by default. In order to enable us to access it through web, we need to establish a soft connection to connect it to the default directory of Apache.

Here we set up a soft connection to pma that points to the actual PHPmyadmin directory.

19. Enable mysql remote access

Find bind-address, comment it out, save exit, log in to phpmyadmin, and create a new user in permissions.

20. Finally restart the mysql service

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.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report