The screen is still not adaptive after the virtual machine CentOS is installed, as shown in the following figure
Solutions
According to the online tutorials, change resolution, virtual display, these methods are ineffective, suddenly think of
Crontab can perform the actions you want to do regularly.Edit directly with crontab commandCrontab-u//Set a user's Cron service, which is required by the general root user when executing this commandCRONTAB-L//list details of a user's cron
To turn off the virtual machine firewall:
Close command: Service iptables stop
Permanently shutdown firewall: chkconfig iptables off
Two commands run at the same time, view firewall shutdown status after the run is completeService Iptables Status
First download the CentOS operating system ISO, you can go to the official website, or to the nearby mirror open source server download. Here, in version 5.3, for example, there are two forms of downloading files, one is CD-ROM version, to six disk,
1, check whether the System kernel support MPPE patch
The code is as follows
Copy Code
Modprobe ppp-compress-18 &&echo SuccessDisplay Success Description system support MPPE patch, if not supported, you need to install
Previously built for the company's Tomcat environment (CentOS installation configuration JDK1.7 and TOMCAT7), developers say that every time you start Tomcat is inconvenient, every time to go under the/usr/local/apache-tomcat-7.0.26/bin to execute,
The results of the query find the process for the grep containing a specific string by pipeline. Pipe character "|" Used to separate two commands, the output of the command on the left side of the pipe will be the input to the right command of the
Installing packages with Yum is quick and easy, with several software libraries from CentOS and other Third-party developers with software components outside of the default repositories of base and updates to meet your needs, which have varying
Let's take a look at an example:
[root@local opt] #ls-al
The Ls-al command is all files that list directories, including hidden files. The filename of the hidden file is the first character '. '
-rw-r--r--1 root root 08-02 14:54
Network configuration
After installing the minimal version system, the CentOS system's NIC is not enabled by default, and we can edit the network configuration with the following command:
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
If you use
And the message appears
Nov 20:34:12 St kernel:e1000e 0000:07:00.0:eth0:timesync Tx Control register not set as expected
Network card information
# ethtool-i
Modification cannot be completed normallySysctl. conf involves important linux kernel optimization and VPN construction.Therefore, this problem must be solved.XEN architectureI first encountered this problem in the Hong Kong VPS of my XEN
1. Common CentOS systemRelated tools:CentOS6.5 64bitPuttyData DiskFirst, check whether the hard disk device has a data disk.Unlike VPS hosts outside China, cloud host products in China are generally purchased, such as Alibaba Cloud hosts and Tencent
This evening, I opened the Online server and went to the previously installed DA. I was so upset to see a bunch of Brute force attack alarms. I followed the online tutorial to set iptables. In the future, I can block IP addresses directly. The
I. Machine preparation1. Three host names: server202 server203 server204In addition, server201 is used to build the repos of the local yum and does not participate in the cluster.2. Configure server202 ssh password-free login to other machines
First, install the LAMP one-click package environmentCurrently, this environment package is based on CENTOS 5 or 6 32 or 64-bit systems. The code is as follows:Copy code Wget http://soft.laozuo.org/lamp/lamp_centos1.0.tar.gzTar zxvf lamp_centos1.
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