The error "Please use 127.0.0.1 as servername" is reported when apache is installed and started in linux.The solution is actually very simple. Find httpd In the conf directory. conf, open it, and find the # ServerName 127.0.0.1: 80 line. Just remove
As a RHCA, of course there are some tips for managing yum. I used to think that others would, but later I realized that only I knew that good things should be shared. In addition, I have some suggestions for installing software in the production
# RouteKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface192.168.8.0 * 255.255.255.0 U 0 0 0 eth0default 192.168.8.1 0.0.0.0 UG 0 0 0 eth0=-=The first line indicates that the network address of the host is 192.168.8.0. If
Because all linux systems are represented by files, it is necessary to modify the file handle Limit During Concurrent web systems. View the number of file handles used by a process # sudo ps-ef | grep java root 1663 1 0?
The ubuntu samba server has multiple user directories A and B in/home ..., now, samba is used for sharing. User A is required to have root permissions on the directory of user A and read permissions on other directories. User B has root permissions
System # uname-a # view kernel/operating system/CPU information # head-n 1/etc/issue # view operating system version # cat/proc/cpuinfo # view CPU information # hostname # View computer name # lspci-TV # list all PCI devices # lsusb-TV # list all
Hardware information of the test machine: View CPU information (model) # cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c 8 Intel (R) xeon (R) CPU E5410 @ 2.33 GHz (we can see eight logic CPUs and the CPU model is available) www.2cto.com # cat/proc/
The wc (word count) command is used to print the number of bytes, number of words, and number of lines of a file. Wc -- help can be used to view command parameters. Wc file1 displays the number of lines, words, bytes, and file names of file1 files.
1. CentOS modify the IP address to modify the corresponding Nic IP Address Configuration File # vi/etc/sysconfig/network-scripts/ifcfg-eth0 modify the following content DEVICE = eth0 # description of the network adapter corresponding to the DEVICE
1. pipelines: pipelines are one of the original Unix IPC formats supported by Linux. They have the following features: pipelines are half-duplex and data can only flow in one direction. Two pipelines need to be established when both parties need to
I. overview memory ing: in short, you can map a memory area of your space to the kernel space. After the ing is successful, your modifications to this memory area can be directly reflected in the kernel space. On the contrary, modifications made to
Different wtmp processing methods in AIX and Linux wtmp record user logon and exit events. it is similar to the utmp log file, but it increases with the increase in the number of logins, and some system ftp access is also recorded in this file, it
About linux tty command learning tty command is used to print the terminal name connected to the standard input. If/dev/console is displayed, this terminal is a console terminal; if/dev/pts/n is displayed, this terminal is a virtual terminal
In ubuntu, switching between root and common users is a popular Linux system recently, Because Ubuntu does not start root users by default. Now we will introduce how to access root. (1) switching from a user to a root user, whether logging on to
The bash script is registered as a service and automatically started upon startup. The chkconfig command is used to update (start or stop) and query the running level information of the system service. Remember that chkconfig does not automatically
Linux Ctrl + z jobs bg fg usage and differences 1. & this is most often used at the end of a command, you can run this command in the background. 2. ctrl + z. You can run a command in the foreground on the background, pause. 3. Run jobs to check the
Linux basic operations-sorting, splitting, merging, archiving, and other 1 sort 1 sort commands regard the input file as a data stream composed of multiple records, and the record is composed of fields of variable width, basic Format sort option
Linux umask command quick understandingToday, I was asked how the default permission was obtained when I created a file in linux. I suddenly couldn't afford it. I searched for the umask command and found that the answer was tedious. In fact, this is
After pycompile not found solves sudo apt-get remove python, many errors occur, resulting in subsequent failures in pycompile not found solution: delete/usr/bin/pycompile, then proceed to the apt-get-f install/remove gconf2 not found error sudo dpkg-
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