The first is the shutdown/restart command , which is used only at the virtual machine and not in the actual workreboot is generally not used with parameters, the input command can be restarted shutdown- R -R now-F
Example:The steps to open port 10000 are as follows:1, modify the/etc/sysconfig/iptables file, add the following line:-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 10000-j ACCEPTRestart IptablesService Iptables Restart 2, restart the
CentOS configuration static IP on a piece of SSD1. Configure static IP#vi /etc/sysconfig/network-scripts/ifcfg-eth0 device="eth0" device Namenm_controlled= whetherthe "yes" device is NetworkManager managedonboot="No"
NFS (network filesystem) was developed by Sun, and its role is to share the directories you want to develop with others in the network, so that visitors can access things on the NFS server as if they were local files. Data security issues arise when
Linux is almost ubiquitous, whether it is server building or client development, and the basic skills of the operating system are essential to the full stack.Selection of the systemLinux distributions can be broadly divided into two categories, one
Linux process Management (2) Four of the relevant commandsTo set or adjust a process priority command: nice RniceNice commandNice-run a program with modified scheduling priorityModify scheduling its process priority when running a programFormat and
Compression and Decompression commands Gzip/guzip Zip/unzip tarThe general available parameters for Gzip and gunzip are-R, for example:gzip Test.txt Compressed Files gzip -R test compresses sub-files under all test gunzip test.gz Extract FilesZip
The following commands are required to operate under the root accountDD If=/dev/zero Of=/home/swap bs=1024 count=512000This creates a partition file such as/home/swap. The size of the file is 512,000 blocks, normally 1 blocks are 1 K, so the space
background: Today, a test machine suddenly appeared a phenomenon, the disk is not writable. After reboot, at boot, prompt "unexpected inconsistency; Run fsck Manually "cannot enter the system (), translates to mean: unexpected inconsistency error,
(This is the case for root user)First, 3 machines, we take two workers, a boss for example192.168.1.1 boss192.168.1.2 Worker1192.168.1.3 Worker21, Vim/etc/sysconfig/networkModified hostname to BOSS,WORKER1 on 3 machines respectively,
Wildcard characters are * and? , a wildcard is handled by the shell$ ls *.txt Find all created txt text$ touch adsfasf.txt Wergif.txt Create two files$ touch Love_{1..10}_linux.txt Create 10 files at a time after return, write 10 names on the back 1.
minute hour day month DayOfWeek command minute -integers from 0 to 59hour -integers from 0 to 23 Day-an integer from 1 to 31 (must be a valid date for the specified month)month -an integer from 1 to 12 (or a month such as the Jan or Feb abbreviation)
The echo command for Linux, which is very common in shell programming, is often used when printing variable value under a terminal, so it is necessary to understand the use of EchoThe function of the echo command is to display a piece of text on the
1. Please describe in detail the start-up process of the CentOS system (detailed to what each process system does)The CentOS hosts are started in the following order1. Post power-on self-test2, the BIOS read the BIOS settings in the CMOS
Source: http://blog.chinaunix.net/uid-25681671-id-3201927.htmlLinux the next PS command is detailed To monitor and control processes in the system, view status, memory,CPU usage, command:/bin/ps (1) PS: is to show the status of the instantaneous
A process is an entity. Every process has his own memory address segment (Heap,stack, etc.) the process is the executing program. A program is an inanimate entity that can become an active entity only if the processor gives the program life. Process
int pthread_join (pthread_t thr,void * *thr_return);p thread_join function is used to suspend the current thread until the thread specified by th Terminates. If the return value of another thread is not null, it is saved in the Thr_return address.
[Tool software] svn views users, switches users, and tool software svn
1. view the svn user name and password:Find the username and password files in plain text. You can seeExample: linuxHjj @ hjj-ubuntu :~ /. Subversion/auth/svn. simple $ ls9aad7e9
Permission management and permission management system
Permission management:
U: file owner,
G: group,
O: other users
R:
File: cat less more View content
Directory: You can use the ls command, but cannot switch to this directory or use the ls-l
Install MariaDB for basic usage of Mysql and mariadb for mysql
I am a beginner at mysql. I wrote a blog for the first time. In order to help me remember more deeply, I also explained the experiences and difficulties of beginners from a small
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