About the installation of openfetion in Linux (source code installation) first to a: http://www.linux99.com/down/1/501.html ideal state:./configure make sudo make install can be! But there will be some problems: first, the requirements for the
Sudo !! Run the previous command in the root account. Python-m SimpleHTTPServer uses Python to build a simple Web server that can be accessed through http: // $ HOSTNAME: 8000. : W! Sudo tee % in Vim, you do not need to save the edited file.
# Users and groups used by Nginx, not specified in the window # user niumd; # Number of working sub-processes (usually equal to the number of CPUs or twice the CPU) worker_processes 8; # error log storage path # error_log logs/error. log; #
Step 1: first update the installation package cache 1.1 sudo apt-get update. If this is not done, the following error may occur: After sudo apt-get update is executed, the system will automatically connect to the Update Server to update the
1. When installing tftp for Embedded Development, you can use the tftp (simple File Transfer Protocol) transmission project to run on the target machine. (1) install the required software package sudo apt-get install tftp-hpa tftpd-hpa openbsd-inetd
Restart the service today and find that there is no restart item in the service bin directory. For more information, you can only restart a service by running the stop command and start command. Therefore, I wrote a shell script restart. sh to
1. install samba: sudo apt-get install samba2. Open the firewall (if UFW is started): sudo ufw allow 137 138 1393. Configure sudo vi/etc/samba/smb. confI want to configure it to allow each user to access their HOME directory: Find the home segment
1. the set command displays the definitions and values of all global parameters in the current shell. 2. find and delete small files in the current directory: find. -type f-size-10 k-exec rm {}\; Description: www.2cto.com-type f: Find the file-size-1
The cp, rm, and mv cp (copy) commands of a linux Command every day are mainly used to copy files or directories. Cp -- help allows you to view the usage of all its parameters. The following is a common example: cp file dir: copy a file to the dir
Delete a specified row in linux #! /Bin/shFILENAME=file.txt # It can be changed to $1 if [! -F file.txt]; then echo "$ FILENAME no found" exit 1 www.2cto.com fiecho-n "input some thing:" readif [! -Z "$ REPLY"]; then INFO = $ (grep $ reply filename)
This is a very important command in linux. Please be familiar with it. Its function is to create a non-same link for a file in another location. The most common parameter of this command is-s. The specific usage is the target file of the ln-s source
Some useful linux commands and tips! $ Represents the last string of the previous command. It is used to simplify input !!, Indicates the previous command. If you do not want to press the downward direction key + press enter, you can use this ^ old ^
For Linux queries, it is better to stop the tomcat process than to keep a good memory, and record the knowledge of Linux. The project needs to restart tomcat regularly, so write a script. There is a sentence to query the current tomcat running
Linux basic operations-vi Operation Details1 vi editor move the cursor and flip operations 1 move the cursor h move the cursor to the left l move the cursor to the right j move the cursor k move the cursor down 2 flip operations Ctrl + f flip the
About upgrading apache 1 in linux: Check whether Apache is already installed. # rpm-qa | grep-I http httpd-tools-2.2.8-3.i386httpd-2.2.8-3.i386 [Note: This indicates that Apache 2.2.8 version is installed already] 2: Check whether latest version of
In Linux, modify the IP address. in Linux, edit the network configuration file and set the system IP address. Of course, perform the following steps under the root permission: 1. Switch the path to/etc/sysconfig/network-scripts [root @ Compile
In LINUX, when modifying the file character set, we need to modify the file character set to solve Garbled text or other problems. In linux, the operating system provides us with the ICONV command. Let's take a look at the specific usage of this
The specific method is as follows. In the root directory of tomcat, for example, if my security directory is D:/Apache Software Foundation/Tomcat 5.5, find the web in the conf folder. xml file. remove the following servlet and servlet-mapping
The failure to install Ubuntu on a USB flash disk solved the problem of tossing your computer over the weekend. The computer is a SATA + SSD hard disk, and there is no optical drive. SSD is used as a notification cache by default, if you want to
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