This host maintenance note, published on March 24, 2015, is titled "Setting up a LAMP environment on Ubuntu 14.04". The actual environments and tools involved include PHP, MySQL, Apache, Nginx, Linux, and Ubuntu.
Data center and resources
You can open the default IP address or the already bound domain. If you see a page/interface like this, it means Apache has been installed successfully. At the time, the VPS host had ample memory, so novice website owners should choose one-click packages or control panels. Manual installation was pure tinkering and wasted more than an hour of my time.
Domain and site configuration
By default, Ubuntu 14.04 comes with 000-default.conf for HTTP and ssl.conf for HTTPS.
Parameters recorded in the original text
- Version history:Ubuntu 14.04, CentOS6, Debian7
Matters mentioned in the article
- First, reinstall the VPS hosting environment and upgrade components.
- Second, install the Apache web server environment.
- Third, enable the pseudo-static mod_rewrite component.
- Fourth, create user management and configure multiple websites.
- Fifth, install and configure the MySQL database.
- Sixth, Install and set up the PHP environment
- 7. Install phpMyAdmin
Usage Environment
PHP, MySQL, Apache, Nginx, Linux, Ubuntu.
Key points to check
Environmental verificationFirst, confirm the actual web server and PHP runtime environment used by the site. Command-line and website processes may use different configuration files; any changes should be verified through the website entry point.
Data verificationWhen databases are involved, the version, character set, and number of tables should be recorded, and it should be verified that the backup can be restored in an independent environment.