httpd 2345 on #设置httpd在运行级别为2, 3, 4, 5 in the case of On (open) stateChkconfig--list #列出系统所有的服务启动情况Chkconfig--list mysqld #列出mysqld服务设置情况Chkconfig--level mysqld on #设定mysqld在等级3和5为开机运行服务,--level 35 means that the operation is performed only on levels 3 and 5, on means start, off means offChkconfig mysqld on #设定mysqld在各等级为on, "each level" includes 2, 3, 4, 5 ratingsHow to add a service:1. The service script must be stored in the/etc/ini.d/directory;2.chkconfig--add ServiceNameAdd this service to
Commands that should be run by Linux administrators: sed and awk
Image Source: Shutterstock
Do not let the next-generation Linux and Unix administrators forget the benefits of initializing scripts and basic tools.
I once saw a post in Reddit, "How do I operate text files ". This is a simple requirement, just as we often encounter Unix people every day. The probl
Linux Run Level:
1)0: Shutdown2)1: Single user3)2: Multi-user status No NETWORK service4)3: Network Service with multi-user status5)4: The system is not used reserved to the user6)5: Graphical interface7)6: System RestartNote: The Common runlevel is 3 and 5, to modify the run-level modifiable file /etc/inittab ID:5:initdefault the number in the. 2. How to r
Article title: transparent gateway: run IPchains on Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I. Preface
In many universities and research institutions, there are n
Article Title: run Linux Program-UlteoVirtualDesktop in Windows. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
If you want to run a
the 5 to 3--what's the following 5 and 3 respectively?
(4) Press Esc key--Exit Insert mode
(5) Press: (colon)--the cursor is locked to the last line
(6) Wq (Save and exit)
q! (do not save exit) If you do not want to change it
A reboot allows you to enter the command interface by default.
2. Linux Run Level
Linux has 7 run
Article title: non-virtual environments allow Windwos to quickly run Linux programs. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Ulteo released their "Virtual Desktop" software
First, why do you want to make the program in the backgroundThe procedures we calculate are very long, usually a few hours or even one weeks. The environment we use is to connect remotely to a Japanese Linux server using Putty. So the following three benefits of running the program in the background: 1: Whether the shutdown of our side does not affect the Japanese side of the program run. (not as before,
Problem Description:Before a Python service on the server, put it in the background to run. Python pyserver.py . When I close this SSH, the service is not available, log in to the server again, there is no such Python process.Problem Locator:By the appearance of the above problem, we can find that it is related to SSH shutdown. Why SSH is turned off will cause the running program to die. By looking at the relevant data, we find that the real culprit i
[Linux] [Hadoop] Run hadoop and linuxhadoop
The preceding installation process is to be supplemented. After hadoop installation is complete, run the relevant commands to run hadoop.
Run the following command to start all services:
hadoop@ubuntu:/usr/local/gz/hadoop-2.4.1
There are two ways of doing this:1. Command : Background run, you shut down the terminal will stop running2. Nohup Command : Run in the background, you will continue to run the terminalFirst, IntroductionLinux/unix the biggest advantage of the Microsoft platform is the real multi-user, multi-tasking. Therefore, in the task management also has the characteristic m
In Linux, run the "du" command to view the file size and display the number of file blocks. If the specified File parameter is actually a directory, all files in the directory should be reported. If the File parameter is not provided, the du command uses the files in the current directory.
If the File parameter is a directory, the number of reported blocks is the sum of the blocks allocated to and allocated
program immediately appeared "Segmentation fault". Then the two use case results are unchanged. This shows that you want to safely replace the loaded dynamic library, or the "clumsy" RM + CP, seemingly short-cut "CP coverage" will directly destroy your program ...It seems that once again I underestimate the robustness of Linux, and seemingly logical processes can have disastrous consequences; the underlying differences behind the RM CP and CP overla
Run the file in the current directory under Windows, and you can run the file directly by entering its full name. For Linux, however, the./file name must be added to run. Puzzled at this point, the final review of aInformation to figure it out.1. In Windows and DOS operating systems, when the system is required to
ctrl+z/bg/nohup/setsid/In Linux, if you want the process to run in the background, in general, we'll add after the command, in fact, this is putting the command into a job queue:./rsync.sh JobsHowever, if the process is executed above the background, its parent process is still the process of the current terminal shell, and once the parent process exits, the hangup signal is sent to all child processes, an
the installation of the. Run file is simple, and you can perform the installation simply by adding an executable property to the file
Take the VirtualBox installation file Virtualbox-3.1.6-59338-linux_x86.run as an example, just enter the command:
chmod +x Virtualbox-3.1.6-59338-linux_x86.run
./virtualbox-3.1.6-59338-linux_x86.
, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st/////////////////////////////////////////// CPU Affinity (CPU Affinity) CPU affinity refers to the ability to bind one or more processes to one or more processors on a Linux system.The CPU affinity mask for a process determines which CPU or CPUs the process will run on. In a multiprocessor system, setting the mask for the affinity of the CPU may achieve bette
play Linux, but found that a closed window automatically and the host disconnected, and the terminal is not the same, so on the Internet to find Ah, found a way to run a program from the background. Unix/linux generally like to let a program run in the background, many use at the end of the program to let the program
First, why do you want to make the program in the background The procedures we calculate are very long, usually a few hours or even one weeks. The environment we use is to connect remotely to a Japanese Linux server using Putty. So the following three benefits of running the program in the background: 1 : Whether the shutdown of our side does not affect the Japanese side of the program run. (not as before,
Let the java program run in the linux background-general Linux technology-Linux programming and kernel information. The following is a detailed description. Original: vissul
To create an smslib SMS system today, you need to run a server on
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.