Sometimes we need the Linux system to automatically load some scripts or system services when it is started, mainly in three ways: ln-s in/etc/rc. d/rc *. create/etc/init in the d directory. d/soft link of the service (* represents 0 ~ Note:
Nginx tutorial-Get real IP Module-http_realip_module in this case, a website has a lot of static files, and the source of user access is China Netcom, China Telecom, China tietong... and abroad. Www.2cto.com, in order to make users of different
Special symbols 1 and #1 in linux shell programming. comment a line in the script file. 2. The quotation marks and the \ symbol are not comments, but the # symbol itself: echo "12 # hehe" echo '12 # hehe 'echo 12 \ # hehe 3. Replace echo $ (PATH # *
Vim encoding Mode settings and all popular text editors, Vim can be very good to edit a variety of character encoding files, which of course includes UCS-2, UTF-8 and other popular Unicode encoding methods. Unfortunately, like a lot of software from
By default, the library function does not contain debugging information when debugging printf source code centos with gdb on centos. Therefore, gdb cannot be used to access the printf () function. Www.2cto.com solution: 1. install debugging
1. The ifconfig command is temporarily modified. Ifconfig is used to configure the IP address of the NIC. It takes effect after modification, but is not saved. It becomes invalid after the next startup.
# Ifconfig-a ---> obtain the name of the NIC.
Author: aolinks
The crontab command schedules the execution of some commands at certain intervals. There is a crontab file in the/etc directory, which stores some scheduling programs that are running systematically. Each user can create their own
Install the source code as follows:First, remote access to the server.1. Download: VNC package from the Internet[Root @ www root] # wget http://www.realvnc.com/dist/vnc-4.0-x86_linux.tar.gz-- 14:00:42 -- http://www.realvnc.com/dist/vnc-4.0-x86_linux.
1. vmstat reports virtual memory statisticsVmstat [-V] [-n] [delay [count] delay is the delay time between two outputs. count is the number of times counted based on this interval. Example: vmstat-n 3 (refresh once every 3 seconds)Procs -----------
I don't know why the net-snmp built-in in centos cannot catch a lot of information, and the CPU network traffic memory cannot catch it.
After a while, I decided to use the code to compile and pull it down.
Wget
Shell can represent different hexadecimal data without calling the 3rd-party command. The following methods are summarized here. The default value of a shell script is a 10-digit number, which can represent other numeric values unless the number
The system was reinstalled some time ago, with the change and configuration of hard disk partitions. Specifically, I used the Acronis Disk ctor Suite software to format the Ubuntu originally installed under ext4, because the original Ubuntu crashed
Many of my friends log on to Linux for the first time? There are still a lot of interesting things to log in with graphical interfaces, but if you want to log in with a text interface, you really don't know what to do! (I didn't know how to shut
About daemon
You may often hear about daemon, but you may not know what daemon is. I understand that daemon is called the service startup. Services are the stuff that provides services for US (such as web mail ftp. Therefore, we manage services
When vim is used, Chinese characters are garbled. In this case, we can modify the vimrc file to solve the problem!
First, you need to find out where vimrc is located. In general, in linux
Linux:/usr/share/vim/vimrc in Windows, it should
Many friends may be confused about how to set up and install NFS servers. Here we will mainly explain how to install and set the NFS server. The NFS dialog box appears only when you install it from the NFS server. If you select "NFS image" in
In some systems, we can perform an experiment on ppp dialing settings. Here we will focus on the content and process of the ppp dial-up linux on the Liod platform. Hardware Platform: yidao Liod Platform Based on PXA270), operating system: Embedded
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