Article Title: Install LAMP and WPMU locally under UbuntuLinux8.04. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Install LAMP
System-> System Management-> New Software Package Manager, open new software package, edit?> Mark a software package using a task group?> Select LAMP Server.
During the installation process, you will be prompted to set the password of the root user of mysql.
The configuration file is in the/etc/apache2 directory.
Add a line in/etc/apache2/httpd. conf: ServerName 127.0.0.1
2. Install phpmyadmin
Sudo apt-get install phpmyadmin
After installation, the virtual directory configuration file phpmyadmin. conf is automatically created in the/etc/apache2/conf. d directory.
After installation, enter http: // localhost/phpmyadmin to log on and create a wpmu database.
3. Start the mod_rewrite module
Sudo a2enmod rewrite
4. Install WPMU
(1) download WPMU from the official homepage and decompress it ~ /Blog directory (/home // blog)
(2) modify directory attributes: chmod 755/home // blog/wp-content
(3) configure the WPMU virtual directory. Modify/etc/apache2/httpd. conf or create the wpmu. conf file in/etc/apache2/conf. d. Add the following content:
Alias/blog/home // blog
/Blog>
Options Indexes FollowSymLinks
DirectoryIndex index. php
AllowOverride FileInfo Options
(4) modify the/etc/hosts file (because wpmu must use the domain name format)
Modify 127.0.0.1 localhost
127.0.0.1 www.my.com my.com localhost
(5) Enter http://my.com/blog.in firefox to install wpmu.
OK.