Create a swap partition using the DD command[Root@localhost Desktop] #dd if=/dev/zero of=/home/swap bs=1024 count=1048576Calculated formula for Count: count=size*1024 (SIZE in MB)This creates a/home/swap partition file with a size of 1G, and then
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,
To put it simply, it is easy to install the software yum and will automatically resolve the dependencies of each package. RPM is just a package.
CentOS to install MySQL5.5 in RPM mode
First go to the
Add VirtualBox Source
The code is as follows
Copy Code
Cd/etc/yum.repos.dwget Http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
Add Rpmforge Source
The code is as follows
Copy
Kloxo has not been updated for some time, last updated in 2011-11-12Latest Version 6.1.7
First, installation requirements 1, CentOS or rhel5.x,centos6.x temporarily not support2, at least 256M of memory3, at least 2G hard disk space
Second,
Operating system CentOS 6.3 Normal, one day log in to the normal user prompts as follows:-bash:fork:resource temporarily unavailableChecked online, because the Linux system's file restrictions cause the root user login does not have such a hint.Then
CentOS Firewall to open port 80
The code is as follows
Copy Code
#/sbin/iptables-i input-p TCP--dport 80-j ACCEPT#/sbin/iptables-i input-p TCP--dport 22-j ACCEPTAnd then Save:#/etc/rc.d/init.d/iptables Save
The safest way to kill a process is simply to use the KILL command.
First use the PS-EF command to determine the PID to kill the process, and then enter the following command:# Kill-pidNote: The standard KILL command usually achieves the purpose.
1. The default for System Services program Boot boot method
For example: MYSQLD,HTTPD, etc.
You can use the command directly
Chkconfig mysqld on so that you can start MySQL on the boot.
2. is not a system service, requires a command-initiated
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
RHEL6 is installed on the server, the RHN service is not purchased, so the source of CentOS is used.
Before deleting Yum
Rpm-aq|grep Yum|xargs rpm-e--nodeps
The following packages need to be installed:
python-iniparse-0.3.1-2.1.el6.noarch.rpmyum-
In order to implement the front end using the Apache processing page, the backend uses JBoss or tomcat processing logic, we need to install the MOD_JK module for the httpd.
The operation is as follows:
1, download the latest Apache Tomcat
You can disable hibernation by modifying the configuration of the X11,/etc/x11/xorg.conf, and remember to back up the file before modifying it to prevent the X11 desktop from being configured incorrectly.
The modification involves two places, the
Temporarily disable users in Linux
1. In the/etc/passwd file, locate the disabled user in the row, add # at the beginning of
/etc/passwd
#coderbolg: X:500:500::/home/coderbolg:/bin/bash
2. In the/etc/shadow file, locate the disabled user row,
Description
As of the current CentOS 7.x latest version of CentOS 7.2.1511, the following describes the CentOS 7.2.1511 specific installation configuration process
Server-related settings are as follows:
Operating system: CentOS 7.2.1511
IP Address:
InstallationCheck whether the system's built-in subversion is installed:[Root @ topseek ~] # Rpm-qa | grep subversionSubversion-1.6.11-12.el6_6.x86_64If it has been installed, uninstall:[Root @ topseek ~] # Yum remove subversionDownload the
1. EnvironmentCentos5.52. Install svnYum-y install subversion3. ConfigurationCreate a version Library DirectoryMkdir/www/svndataSvnserve-d-r/www/svndata4. Create a version LibraryCreate a new Subversion projectSvnadmin
Compile and install node. jsWget http://nodejs.org/dist/v0.8.5/node-v0.8.5.tar.gzTar zvxf node-v0.8.5.tar.gzCd node-v0.8.5./ConfigureMake & make installModify the wget version by yourself.Run the yum command to installYum install
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