The common vim configuration file address is/etc/vimrc, or you can create it in the Home folder. vimrc set number indicates the line number. set autoindent indicates the line number. The line number is automatically indented after set autoindent is
CentOS cluster automatic synchronization time a method before there is a log is manual synchronization time http://www.bkjia.com/ OS /201304/202456.html the reason for doing so, because our laboratory LAN only a part of the IP can access the
Centos enters single-user mode to modify the fstab file 1. fault description RAID 0 failure causes/etc/fstab to kill at system startup 2. change/etc/fstab in single-user mode. press e when the system enters centos for several seconds to enter GRUB
Linux server network configuration details 1. use the basic commands for Linux network configuration (1) Use the ifconfia command to configure and view the network connection n. on the Linux console, enter/bin/ifconfig. the displayed price
CentOS enable and disable the firewall port in centOS firewall 1. Enable the port (take port 80 as an example) Java code Method 1: /sbin/iptables-I INPUT-p tcp -- dport 80-j ACCEPT write modification/etc/init. d/iptables save and modify service
Summary of Linux technical knowledge 1. the system of the existing computing node has crashed and all hard disk partitions cannot be deleted. At this time, you can use any system installation disk to delete the hard disk partition and reformat it,
The analysis of the aux and-ef parameters of Linux PS has always thought that ps aux can list all running processes. Recently, we found that there are still some defects. The results obtained by using ps aux and-ef are different, try to use the-ef
View system hardware information in Centos [root @ yongsen ~] # Uname-a # linux system information command for viewing kernel/operating system/CPU information [root @ yongsen ~] # Head-n 1/etc/issue # view the operating system version. The value is 1
Linux_002 _ basic operations on files and folders 1. the root of viewing and opening the folder file system is "/". The file system is strictly case sensitive and the name can contain a maximum of 255 characters. Except for the forward slash, all
Remote logon to ssh-p 5108 root @ 52 throughout the Linux deployment project. **. 173.202 The authenticity of host' [52.215.173.202]: 5108 ([52.215.173.202]: 5108) 'Can't be established. RSA key fingerprint is 88: f9: c9: d7: 65: 29: 65: 3c: 41: c1:
Daemon shell -- tipserver 1: You can directly turn off the terminal and run it in the background. 2. You can query the service status. 3. You can regularly start the program to run. (example: Start) 4: You can avoid repeated tipserver startup at
The document viewer text browser in linux cannot be closed. Today, the document viewer text browser in ubuntu system is used to view PDF files. At the same time, when the terminal updates the software source and maximizes the document viewer, the
Compile gcc-g-O2-o test with simple commands for gdb debugging. c. debug gdb filename gdb file filename. view the program list (l). Add the breakpoint break (B) to the function entry. The function name adds the breakpoint break (B) to the specified
The following is a summary of linux_Shell programming. If you need it, you can check it out. Why is shell programming in Linux? Although there are various graphical interface tools, kernel is still a very flexible tool. Shell is not only a
In Linux, do not restart and change the hostname permanently. 1. If you only modify the hostname, run the following command [java] hostname newHostname: Note: This modification method is only valid currently. After the server is restarted, the
Related Configuration Optimization after LNMP is installed in Linux: 1. Enable Nginx + PHPvim/etc/rc upon startup. local/home/mysql startulimit-SHn 65535/usr/local/webserver/php/sbin/php-fpm start/usr/local/webserver/nginx/sbin/nginx 2, optimize
Tools used to deploy projects on linux servers: SecureCRT and WinSCP 1. first, use maven to compress the project into a war package. eclipse: Right-click the project and choose run as> maven package 2. copy the empty Tomcat project to the linux
Modify the maximum number of processes in linux-view the number of processes ulimit-a # * soft core 0 # * hard rss 10000 # @ student hard nproc 20 # @ faculty soft nproc 20 # @ faculty hard nproc 50 # ftp hard nproc 0 # @ student-maxlogins 4
Wget and crontab combination scheduled task usage such as 0 4 *** wget -- spider http://www.google.com means to run wget at 04:00 every day ...... The following is a good introduction to crontab in the previous article: crontab task format *****
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