Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Build your own Web server under Ubuntu Linux system     - What is Java EE (Programming)

- Create a project using Android Studio LinearLayout (Programming)

- After you change the GRUB boot disk partition repair (Linux)

- Hadoop 2.5 Pseudo distribution installation (Server)

- Oracle 11g em start newspaper site's security certificate has a solution to the problem (Database)

- How to install GIMP 2.8.16 in Ubuntu 16.04,15.10,14.04 (Linux)

- Linux System Getting Started Learning: complete installation on Debian or Ubuntu kernel source (Linux)

- The mv command to move the directory two cases under Linux (Linux)

- How to deploy Icinga server (Server)

- Java proxy use and proxy principle (Programming)

- JBoss7 configuration - Supports IPv4 and IPv6 dual-stack environment (Server)

- How to use tmpfs in RHEL / CentOS 7.0 (Linux)

- Linux process stack and process function stack frame (Linux)

- Java Virtual Machine Basics (Programming)

- Zabbix configure DataGuard monitoring (Database)

- Arduino UNO simulation development environment set up and run simulation (Linux)

- HTML5 Fundamentals study notes (Programming)

- Android Scroller call mechanism and the relationship of computeScroll (Programming)

- The user how to install Notepadqq 0.41.0 under ubuntu and debian (Linux)

- The direct insertion sort algorithm (Programming)

 
         
  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:      
 
- Linux kernel boot to retain large memory method summary (Linux)
- Xtrabackup creates a slave node without downtime (Database)
- Spring Integration ehcache annotation implement the query cache and cache update or delete instant (Programming)
- Why do I prefer Git (Linux)
- MySQL + Corosync + Pacemaker + DRBD build highly available MySQL (Server)
- Erlang concurrency and foundation (Programming)
- NFS-based services and service utilization Corosync DRBD high availability cluster configuration, respectively (Server)
- CentOS 7 repair MBR and GRUB (Linux)
- Ansible module Know (Linux)
- jobs command example (Linux)
- Protobuf compiled and used on the Ubuntu 14.04 (Programming)
- CentOS 6.5_x64 install Oracle 11g R2 (Database)
- On the design of Oracle database backup (Database)
- Struts2 interceptor simulation (Programming)
- Android working with Volley Comments (Programming)
- MySQL monitoring tools -orzdba (Database)
- Unsafe reboot start (Linux)
- How to install new fonts on Ubuntu 14.04 and 14.10 (Linux)
- System Security: Build Linux with LIDS steel castle (Linux)
- Linux kernel RCU (Read Copy Update) lock Brief (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.