UbuntuLinux8.04 install LAMP and WPMU locally

Source: Internet
Author: User
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.

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.