1. Installation Steps
Step1: Download Ninx$ cd ~/download/$ wget http://nginx.org/download/nginx-1.8.1.tar.gzDifferent versions of the download address can be obtained from http://nginx.org/en/download.html.
Step2: Unzip and install$ tar -zxvf nginx-1.8.1.tar.gz $ cd nginx-1.8.1/$ ./configure$ make$ make install
To see if the installation was successfulSee if there is an Nginx directory under the/usr/local/directory, and the installation is successful.
2. Document Description
De
/src/zlib-1.2.7 refers to the zlib-1.2.7 source path.
6. StartMake sure that the 80 port of the system is not occupied by other programs./usr/local/nginx/sbin/nginx
Check whether the startup was successful:NETSTAT-ANO|GREP 80 Results Input Description started successfully
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i '). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the
Install jdk in ubuntu and jdk in ubuntuInstallation environment
Operating System: ubuntu 14.04.1 server amd64Download jdk
wget http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz?AuthParam=1412395049_5ee2894e196e935ec18e4b2a6236bf28Rename
mv jdk-7u67-linux-x64.tar.gz\?AuthParam\=1412395049_5ee2894e196e935ec18e4b2a6236bf28 jdk-7u67-linux-x64.tar.gzExtract
tar -xzf jdk-7u67-linux-x6
Problem description: I installed Windows XP on my computer, installed ubuntu9.04. code in Ubuntu on the virtual machine, shared with windows through samba, and then opened it with source insight. But the problem is: every time you make changes in source insight, When you switch to another file, "... has been changed outside of the editor. do you want to reload the file? "
This problem also occurs on fedora11, but redhat9 does not.
Solution: I suspect
Some settings on the Ubuntu character-only interface: the ubuntu character Interface
Because Ubuntu's character-only interface does not support Chinese display, some configuration is made to better display
1. Set the environment language to English
Add the following content at the end of the ". bashrc" file in the user directory, and then log on again
If [-z "$ DISPLAY"]; then export LANG = en_US.UTF-
Ubuntu update failed, so that the ubuntu software center cannot open the solution. update failed information: E: Malformed line 59 in source list/etc/apt/sources. list (dist parse) Issue-Update manager not functioning, does not read the complete packages, gets error-www.2cto.com cocould not initialize the package informationAn unresolvable problem occurred while initializing the package information. please
Time Setting In ubuntu (hardware time, system time, local time), ubuntu hardware
The cause of the problem is:
In cron, the task is set to be executed at a.m.. When checking logs, it is found that the time is always incorrect. It is executed at around a.m. The study found that the task was executed at local time, but I do not know why the time in syslog is utc time.
Here, the concepts of hardware time, syste
Ubuntu fixed IP address and ubuntu fixed ip AddressUbuntu fixed IP Address
1. Change/etc/network/interfaces content
1.1 comment out the original content
1.2 Add the following content
Auto eth0
Iface eth0 inet staticAddress 192.168.1.119Netmask 255.255.255.0Geteway 192.168.1.1Network 192.168.0.0Broadcast 192.168.1.255Dns-nameserver 114.114.114.114 114.114.115.115
2. Set/etc/resolv. conf
Add the following co
Switch to vim in Ubuntu to set up the python environment configuration, Ubuntu vim
1. Install complete vim# Apt-get install vim-gnome
2. Install ctags. ctags are used to support taglist. required!# Apt-get install ctags
3. Install taglist# Apt-get install vim-scripts# Apt-get install vim-addon-manager# Vim-addons install taglist
4. Install pydiction (Code Completion)# Wget http://www.pythonclub.org/_media/P
Common commands in ubuntu (1) and Common commands in ubuntu (
1. view the directory Ctrl + L
2. Under the terminal:Copy the command: Ctrl + Shift + C.Paste command: Ctrl + Shift + V combination key.
3. Decompress tar xzf flie.tar.gz
4. mkdir folder --/create a folderRmdir empty folder name --/delete an empty folderRm file name --/delete one or more filesRm-rf non-empty folder name --/delete everything in a
Ubuntu solves the problem that oom-killer will kill some processes when the cache becomes larger. ubuntu-killer
Recently I encountered a problem where the out of memory of the operating system caused the oom-killer system to directly kill the program after the program was running for a long time:
The error message is:
Out of memory: Kill process 20011 (main) score 58 or sacriice ice child
Killed process 200
Ubuntu changes the screen resolution and ubuntu screen resolution
Create a mode first
Cvt 1366 768
Xrandroid -- newmode "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781-Hsync + Vsync
Add
Xrandroid -- addmode VGA1 "1368x768_60.00"
Enable this mode
Xrandroid -- output VGA1 -- mode "1368x768_60.00"
Note that it will expire after restart and can be added to some scripts that will automatically r
For new Ubuntu users, there are many new things to learn, but many tutorials on the Internet are not for new users.
Here, we are not on the road. It cannot be said that all the tutorials are for beginners, but at least most of them are.
This article is also a new tutorial, and shows how to disable the OK box for each shutdown, restart, and logout.
Ubuntu always configures a dialog box, prompting you when
For new Ubuntu users, there are many new things to learn, but many tutorials on the Internet are not for new users. Here, we are not on the road. It cannot be said that all the tutorials are for beginners, but at least most of them are.
This article is also a new tutorial, and shows how to disable the OK box for each shutdown, restart, and logout.
Ubuntu always configures a dialog box, prompting you whene
Problem description
Solution:Use the gparted software to route this to the ubuntu system. Step 3, use the grub repair technology to fix the damaged grub.
Procedure:
Step 1:Draw a piece under win7
Log on to win7 and choose> (right-click) --> (select a non-system disk with more space, such as drive D, and right-click it)
Step 2:Use the gparted software to divide the available space into ubuntu Systems
Downl
Ubuntu wireless to wired tutorial, ubuntu
I wanted to test the wired-to-Wireless switch, but the NIC does not support it, so I tested a wireless-to-wired switch test! (It's really boring, but I also want to learn about linux bridges)
Ca0gu0 @ ub :~ $ Sudo brctl addbr br0 # Add a bridge ca0gu0 @ ub :~ $ Brctl show # Check the bridge name bridge id STP enabled interfacesbr0 8000.000000000000 no
Ca0gu0 @ ub
Docker: Ubuntu installation, Docker: Ubuntu Installation
What is Docker?
Docker is an open-source Container engine built on LXC technology by Docker. Inc. The source code is hosted on GitHub and open-source based on the Go language and complies with the Apache2.0 protocol. Docker held the DockerConf June 2014 technical conference in 2014 to attract the attention and technical support from well-known compani
Share ssh usage records in Ubuntu and ssh in ubuntuThis article is based on Ubuntu 16.04. 1. Install
Sudo apt-get install openssh-server2. Configuration
The configuration file is located in/etc/ssh/sshd_config.
The default port is 22, which can be modified in the configuration file or added to allow ssh to listen to multiple ports.3. firewall restrictions
If the client cannot be connected, the firewall
Summary of Common commands in Ubuntu and summary of Common commands in ubuntu
Summary: The commands in this article are incomplete. It is only necessary for LZ to record the frequently used commands in Linux.
History display command history
Ctrl + R Enter command auto-completion Mode
Tree file: displays all files in a file in a tree structure.
This command needs to be installed
$: Sudo apt-get instal
Install Ubuntu in VM, first install Vm, Vm installation see: http://blog.csdn.net/u011043843/article/details/35291799
1. Open the VM and create a new VM.
2. Select custom, and then click Next.
3,
4,
5,
6,
7,
8,
9. Default. Next Step
10. Default. Next Step
11. Default. Next Step
12. Default. Next Step
13,
14. Default, next step
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26. During the installation pr
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.