Web Server construction in Ubuntu

Source: Internet
Author: User
Tags fully qualified domain name
This is my third server ~ Before setting up a server, let's introduce the famous apache. Read: configure the NFS server in Ubuntu.

This is my third server ~ Before building a server, let's introduce the famous apache

Related reading:

Configuration http://www.linuxidc.com/Linux/2012-12/75235.htm for NFS servers in Ubuntu
Configuration http://www.linuxidc.com/Linux/2012-12/75233.htm for ftp servers in Ubuntu

1: Apache Introduction

Apache is the world's top web server software. It runs on almost all widely used computer platforms and is widely used for its cross-platform and security, is one of the most popular Web server software. Apache is also translated as Apache, a tribe of North American Indians called Apache in the southwestern United States. It is also the name of a foundation, an armed helicopter, and so on.

2: Mysql Introduction

MySQL is a relational data management system developed by MySQL AB in Sweden and currently belongs to Oracle. MySQL is an associated data management system. The associated database stores data in different tables rather than placing all the data in a large warehouse, which increases the speed and flexibility. MySQL SQL is the most commonly used standard language for accessing databases.

Currently, the popular website architectures on the Internet are LAMP (Linux + Apache + MySQL + PHP/Perl/Python) and LNMP (Linux + Nginx + MySQL + php/perl/Python ), that is, use Linux as the operating system, Apache and Nginx as the Web server, MySQL as the database, and PHP/Perl/Python as the server-side script interpreter. Since these four software are both free or open source software (FLOSS), you can build a stable and free website system without spending a penny (excluding the labor cost.

3: website system Introduction

The website system, also known as the website CMS system, is mainly used for website building systems developed to save website development costs. Early website systems were generally called self-help website building systems. The current website system is divided into enterprise website system, forum system, portal system and shopping network.

Now, let's start building it ~

1: Install apache2.0

# Sudo apt-get install apache2

Www.linuxidc.com @ linux :~ $ Sudo apt-get install apache2


After the installation is complete, open http: // localhost/in the browser or enter http: // 127.0.0.1.

If It works appears! Indicates no problem

Restart apache:

Www.linuxidc.com @ linux :~ $ Sudo/etc/init. d/apache2 restart
* Restarting web server apache2 apache2: cocould not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... Waiting apache2: cocould not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[OK]

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.