Install LAMP and WPMU locally in Ubuntu8.04

Source: Internet
Author: User
1. install LAMP system under Ubuntu8.04-& gt; System Management-& gt; New Software Package Manager, open the new software package, edit-& gt; Use the task group to mark the software package-& gt; check the LAMPServer. During the installation process, you will be prompted to set the password of the root user of mysql. Add the following line to the configuration file in the/etc/apache2 directory in/etc/apache2/httpd. conf: ServerName127.0.0.12.

1. Install LAMP in Ubuntu 8.04
System-> System Management-> New Software Package Manager, open new software package, edit-> MARK software package by 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 in Ubuntu 8.04
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 in Ubuntu 8.04
(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/blogin firefox. Install WPMU

OK.
(UMELINK original)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.