Build your own lamp and wordpress on ubuntu7.04

Source: Internet
Author: User
LAMP (Linux + Apache + MySQL + PHP/Perl/Python) has become a de facto standard for the Web community in recent years and has become a cheap and open source code, A high-performance Web development platform. Here, I will introduce how to install the LAMP combination in Ubuntu7.04 and how to build a website using wordpress, the world's most popular blog system. All related software are open-source products, so you don't have to worry about product prices and copyrights.

LAMP (Linux + Apache + MySQL + PHP/Perl/Python) has become a de facto standard for the Web community in recent years and has become a cheap and open source code, A high-performance Web development platform. Here, I will introduce how to install the LAMP combination in Ubuntu7.04 and how to build a website using wordpress, the world's most popular blog system. All related software are open-source products, so you don't have to worry about the product price and copyright issues. These software is now very user-friendly and easy to use. This document assumes that you have experience with ubuntu or other linux systems. OK:

Install

IP address and domain name Configuration

First, assume that you use a fixed IP address (in fact, each server should have a fixed IP address) and assume that you have a domain name. Of course, if there is no domain name, you can directly use IP addresses in subsequent management steps. Well, let's edit the/etc/network/interfaces file and configure a fixed IP address. Then edit the/etc/hosts file to match your domain name with the IP Address:

Vi/etc/hosts

127.0.0.1 localhost. localdomain localhost

192.168.0.100 www.forwind.com server1

# The following lines are desirable for IPv6 capable hosts

: 1 ip6-localhost ip6-loopback

Fe00: 0 ip6-localnet

Ip6-mcastprefix ff00: 0

Ff02: 1 ip6-allnodes

Ff02: 2 ip6-allrouters

Ff02: 3 ip6-allhosts

Finally, edit the/etc/hostname file, add www.linuxidc.com, and restart.

Okay. Let's confirm and enter it in the terminal.

Hostname

Hostname-f

All results should be www.linuxidc.com

Install related packages

We can use the following command to install all the required packages at a time:

Apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel

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.