Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Build your own Web server under Ubuntu Linux system     - To create someone else can not afford to delete the administrator user (Linux)

- How to view the Linux program or process used in the library (Linux)

- Ubuntu 15.04 install Complete Guide (Linux)

- Linux support exFAT and NTFS (Linux)

- Detailed Linux platform chip programming process (Programming)

- Rails project prepared some tips small experience (Linux)

- Linux System Getting Started Learning: compile and install ixgbe driver in Ubuntu or Debian (Linux)

- Introduction to Linux Shell (Programming)

- DRBD Principle and Features Overview (Server)

- Linux Mint 17 set up the Ruby environment (Linux)

- shell-like program (Programming)

- Two kinds of agents of Spring AOP (Programming)

- linux server security (Linux)

- Ubuntu 14.04 installed VirtualBox 4.3 appears vboxdrv: Unknown symbol mcount (Linux)

- Ten correct use Redis skills (Database)

- After installing Ubuntu 15.04, to do a few things (Linux)

- Debian users to install FFmpeg 2.2.2 (Linux)

- MySQL Data Types (Database)

- Nginx Installation and Configuration (Server)

- Boot-Repair Tool - repair of frequent start-up problems (Linux)

 
         
  Build your own Web server under Ubuntu Linux system
     
  Add Date : 2018-11-21      
         
         
         
  Before the Windows 2008 Server set up a Web server for testing, but especially slow in the open site, especially pictures load will fail, then that path is a problem, but on the server itself are particularly slow to open I can not find a reason, it is not going to hang above a tree, ready to try out Linux under.

Is often used when the server has CentOS, Ubuntu ...... taking into account only its own Ubuntu mirror and only myself to do some simple tests to use, so I chose the version is Ubuntu 14.04 LTS. Build your own Web server on the internet.

Compared under wamp integrated environment under Windows, Linux systems also have LAMP, LAMP Do not ask me what is this I want to know what LAMP active wamp certainly yes. Well, get down to business immediately.

First, we set up in Ubuntu LAMP environment, the First, install apache:

sudo apt-get install apache2 apache2-doc

Test apache2 normal operation

Next is to install mysql:

sudo apt-get install mysql-server

sudo apt-get install mysql-client

Mysql installation will set the root account password reminder, you need to pay attention to him and your login account password is no contact.

Next is the php installation:

sudo apt-get install php5

sudo apt-get install libapache2-mod-php5 // install apache service support php module

After installation and configuration are some things we need to restart apache to take effect.

Some people would say that the command is:

sudo service apache2 restart

When you enter this command prompt error, do not strange, you can try this command, the same meaning, but just the way it nowhere.

Here we need to know, we have chosen are all silent installation, similar to open the service itself with some of the windows system as well, so we need to know him as well as the path where the configuration file.

The next step is to upload web pages and to build something, and yesterday the next steps to install dede windows are almost similar, or pay attention to the problem of read and write permissions, there is the password database unlike previous talk as empty the password is the one you install mysql settings.

I see other people write a lot of steps and tutorials on building these environments, I do not understand that there are a lot of modules simply follow other people to do the operation is completed, in the end is what played a role in what, I do not really understand, should be said that I do not understand, so I used to get a few steps above, open a web page can be done despite the use of templates or someone else,

I want to say is then apt-get install *** better if something was wrong after, at least they know of that is what affects what step.

So, the question is

Question one:

After that, we execute the command to install the GD library, problem solving, success!

apt-get install php5_gd

Second problem:

Do not you think there is always sudo command which makes this thing with a very trouble?

So, we preferred to use at the beginning of the switch to the root account or set up using the root login:

sudo passwd root // no default root account password, this command is to set the root password

Switching root user command su //

A better approach is at boot time, that a user is logged on with root login, thus eliminating the need for too much trouble.

Question three:

We need permission in windows is the case, even more so under linux, in building web sites, you are likely to be tested 127.0.0.1 error forbidden off.

Do not be afraid, this is the obvious question of the competence, provide the right to refer directly to the highest command better:

chmod -R 777 you have to mention the right path to the document (for example: chmod -R 777 / var / www /)

This is almost ended.
     
         
         
         
  More:      
 
- Ubuntu 12.04 configure NVIDIA CUDA 5.5 Record (Linux)
- Analytical Ceph: handle network layer (Server)
- KVM add virtual disks (Linux)
- Linux environment to build next Cocos2dx-3.3.1 (Linux)
- Build your own Git server under Linux (Server)
- Java object initialization (Programming)
- Create a project using Android Studio LinearLayout (Programming)
- Ubuntu 12.04 / 14.04 users to install software LyX document processing (Linux)
- Ubuntu users to install voice switch instructs the applet (Linux)
- Log device files under Linux - logger (Linux)
- How to Install 3.16.7 CKT2 kernel in Ubuntu 14.10, Ubuntu 14.04 and its derivative versions (Linux)
- CentOS7 installation performance monitoring system (Server)
- Storm basic framework for analysis (Programming)
- Linux C source code (Ascii HexToBinary: Converts hexadecimal string format ASCII codes) (Programming)
- How to Upgrade Ubuntu GNOME 14.10 to GNOME 3.16 Desktop (Linux)
- Eclipse installs support for Java 8 (Linux)
- SQL Beginner Guide (Database)
- Three easy open source firewall on the Linux platform (Linux)
- After Pydev installation, Eclipse does not display solutions (Linux)
- How to Install Foreman under Ubuntu (Server)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.