CentOS Yum Source has no git, can only compile their own installation, now record the contents of the compilation installation, left to their own memo.
Make sure that the dependent packages are installed
Yum Install CurlYum Install Curl-develYum
Step1. System Mount Data diskDf-h, the data disk is not visible.Fdisk-l, you can see the data diskExecute the "fdisk-s 56/dev/xvdb" command to partition the data disk;According to the prompts, enter "n", "P" "1", two times carriage return, "Wq", the
1. If it is installed, there will be the following tips:
samba-3.0.28-0.el5.8samba-common-3.0.28-0.el5.8samba-client-3.0.28-0.el5.8System-config-samba-1.2.39-1.el52. If not installed, you can install using the Yum Install Samba command3. Configure
① Modify the maximum number of files that can be opened by the server open files, because the Linux socket is also file, so this parameter has a direct impact on the number of network connections, the general machine is 1024, can be set to
CentOS is stuck on the progress bar when the boot is on.
This does not see the boot boot card where, had to restart and hold the "E" key to enter the boot menu:
Then press E to edit the first item:
Then move to the second item kernel ...
Two days of subversion!!!! Ah, go crazy ~ I use the same version:
Subversion-1.7.2.tar.gzSubversion-deps-1.6.1.tar.gz
Before these two versions of the files, I succeeded in compiling the installation under Ubuntu12.04 AMD64. However, here, Apr,
———————————————. tarUnpack: Tar xvf Filename.tarPacking: Tar cvf filename.tar dirname(Note: Tar is packed, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz
Method One, get the inode number to delete the garbled filename file by Ls-li, for example, get 123456Perform deletes
Find./-inum 123456-exec RM-RF {}\;Note: after "{}", empty a grid and add "\;".
Method Two, when the file name is garbled, can not
Checking user logon Records
More/var/log/secureWho/var/log/wtmp
Check System daemon
Check/etc/inetd.conf file, input: cat/etc/inetd.conf | Grep–v "^#", the output information is the remote service that your machine opens.
A general intruder can
The operation is as follows, login ssh:
The code is as follows
Copy Code
vi/etc/sysconfig/network-scripts/ifcfg-eth0:0
The second IP is
The code is as follows
Copy Code
CentOS 7.x System network card naming rules are redefined, may be "eno167777xx", and so on, we will change the network card name to eth0 this.
First, cd/etc/sysconfig/network-scripts/ #进入网卡配置目录
MV eno16777736 Ifcfg-eth0 #修改名称
LVS is short for Linux Virtual Server. It is a Virtual Server cluster system.In the following case, we use three hosts with IP addresses:192.168.1.100192.168.1.101192.168.1.102Among them, 192.168.1.100 uses LVS as the server load balancer to
Install sendmailRun:[Root @ vps478753 ~] # Yum-y install sendmailThe program will automatically search for the sendmail installer for automatic installation.After installing sendmail, run the following command to start sendmail.[Root @ vps478753 ~] #
Check some information. If you want to install perf, execute The code is as follows:Copy code Apt-get perfApt-get linux-toolsYum install google-perftools-develAnd so on.However, these items are not available in centos.Yum source cannot be found,
If this problem occurs, we can see that crontab is not installed. We can install the following cron.Install crontabYum install-y vixie-cronRun the preceding command to installCheck whether the installation is successful.Crontab-lCheck whether it is
After the Centos system is customized, toolkit may be added later due to the company's needs. At this time, how should we provide this toolkit separately and install the required dependency packages. The following are several cases: 1. When
SolusVM has not been introduced much. We should have some knowledge about VPS abroad. Next, let's get to know how to install SolusVM.Before installation, we 'd better use screen for installation, because the use of screen can reduce the
This article does not describe how to configure FTP, but takes notes to record the strange problems you may encounter.The more I learn, the more I find my ignorance, and the more I say it is tears.Do not forget to enable iptables/Sbin/iptables-I
Merge and modify SVN branches to the trunkRun the following command on the Main Branch$ Svn merge -- reintegrate branch URL/album_mdl.php--- Merging differences between repository URLs into 'Album _ mdl. Php ':U album_mdl.php--- Recording mergeinfo
In fact, this problem is more like a Linux user problem. Apache automatically generates permissions for using apache users and apache user groups to operate on things in Linux by default. If this permission is used, you cannot delete or edit files
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