Configure a static IP for CentOS in VMware with access to VMware under Network-windowsFirst make sure that the virtual network card (VMware Network Adapter VMnet8) is turned on, and then enter "Ipconfig/all" on the Windows command line to find the
The newly installed CentOS system server may have set the wrong time, time is very important when doing the cluster, it is likely that the cluster will fail because of the time, so you need to adjust the time zone and adjust the times. The following
Ifconfig command is to set or display the network interface program, can display our machine's network card information, but sometimes minimize the installation of the Linux distribution such as CentOS will not install the ifconfig, such as the
After configuring the iptables policy, generally input is drop and then configured to pass theWhen executing:Iptables-p INPUT DROP, the machine can not be ping pass!Because ICMP is not added to the rule!So I execute the following code:Iptables-a
In the normal use of the system, the most important three aspects of memory use the hard disk CPU load these own feel more importantThe first is memory viewingCommand Free-m-m indicates the unit is mMainly look at the first line of mem total 3758M
Linux basic commands--File and directory managementBen has been selected from the bird Brother's Linux private dishes-Basic Study directory seventh chapter, Linux file and directory managementLS (view of files and directories)The LS command is the
Today on a PC installed CentOS 7, at that time chose the minimum installation mode, the installation is completed immediately after the Ifconfig to view the IP address of the machine (LAN already has DHCP), found an error, prompted Ifconfig command
By default, CVS is already installed in Redhat Linux, which can be run with the Linux command line:Rpm–q CVSBut xinetd may not be installed by defaultRpm-q xinetdIf not installed, you can pass$yum Install CVS$yum Install xinetdTo installInstallation
As we all know, CentOS has a handy software installation tool yum, but by default, CentOS is installed, and the system uses a foreign CentOS update source, which causes us to use the default update source to install or update the software when the
Description1. This blog post records the configuration of the CentOS 7 user account, including adding users, adding user groups, deleting users, deleting user groups, and so on. This includes analyzing the user's profile, directory, and thinking
1. Page UP and down:The reverse commands are generally shift-pageup and shift-pagedown.Daily one command: CD1. CD/Enter the system root directory2. cd. Enter the system root directory to use the CD. "Always back, you can reach the root directory3.
CentOS 7.0 Minimized installationThe first line is login[[Email protected] ~]#[[email protected] ~]# CD. /[[email protected]/]# lsbin Dev home lib64 mnt proc run SRV tmp Varboot etc Lib media opt root sbin sys usrCompare with disk files[[email
Labels: Install system soft RAID
I remember reading an Open Course in YY, where I installed the operating system on a soft RAID without a hardware RAID card. When a disk crashes, the entire system will not crash (raid1 ); I personally think it is
Fdisk-l // first query unmounted hard disk names such as mkfs such as sdb1. ext3/dev/xvdb start to format DF-H Mount/dev/xvdb/home start to mount VI/etc/fstab settings automatically enable start to add/dev/xvdb/home ext3 defaults 0 by format 0 hard
Solution to CentOS disk usage of 100%
The/opt partition is full of web logs, causing some services to fail to run normally. Therefore, rm-fr drops these logs (nearly 11 GB), but the services are still not recovered, if df-hT is used, the partition
View the installed Centos version and centos version
1) [root @ localhost ~] # Cat/proc/version
Linux version 2.6.18-194. el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) #1 SMP Fri Apr 2 14:58:14 EDT 2010
2)
[Root
CentOS 6.4 cannot read group information from the repository. This is a problem related to your installation tree.
CentOS 6.4 was installed with a USB flash drive yesterday. The following error message is displayed after each partition:"You cannot
Remote centos yum source modification, centosyum Source
Yum-y install unzip cannot be executed. It means that the unzip package cannot be found. If you find that the yum source is faulty, modify yum,
The method found on the internet is as follows:
1
1. Install and use mercurial (I don't know how to use it, it seems useless, just for ht clone to download go from the golang official website, but that wall ...)Yum install mercurial2. Modify environment variables# Vi/etc/profileExport GOROOT =/root/
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