After the CentOS configuration of Apache server, with other computers to access my site, there is no access to the situation, may have been caused by the cause.
1. First make sure that the computer can access, Linux does not like Windows to
"System Update"
Download the update Kit profile from the Capital Education Center
Cd/etc/yum.repos.dMV Centos-base.repo Centos-base.repo.defaultLftp ftp.kh.edu.twget/pub/appl/yum/centos6/fix-yum-centos6.shExit
chmod 755
. set a permanent PATH environment variable. All Users
The code is as follows
Copy Code
#打开文件Vi/etc/profile# Add at the end, exitExport path= $PATH:/usr/local/go/bin#立即生效Source/etc/profile
Multiple between we
The code is as follows
Copy Code
./configureMake allMake installMake cleanMake Distclean
No accident, you should be able to see the python2.7 file in/usr/local/bin/, also explained 2.7 installation success. The next thing
Open/etc/httpd/conf/httpd.conf File
Modify two places
The code is as follows
Copy Code
#Listen 12.34.56.78:80Listen 80
#把80改为你设置的端口, I set the port to 8080
The code is as follows
Copy Code
1. Install subversion: The code is as follows:Copy code # Yum install subversion Check whether the installation is successful: The code is as follows:Copy code # Svnserve -- version II. Create a SVN database The code is as follows:Copy
In the test, files must be transferred between two virtual machines. The scp command is first generated, and the result is as follows:-Bash: scp: command not foundIf you use the yum install scp command for installation, the result is:No package scp
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,
I. Server operations (master server)Check method:1. rpm-qa rsyncThe rsync package is installed.2. rsync + press enterThe help information indicates that the tool has been installed.Configuration startsVim/etc/xinetd. d/rsync1 configure rsync
To set up a server load balancer, Centos system and local testing are required. Therefore, you have to use VMware10 as the virtual machine to install CentOS7.0 for testing. To install CentOS7.0, follow these steps:Step 1: Download the ISO package
1. View the current system running level[Root @ iZ25fcztyabZ ~] # RunlevelN 32. Check whether the current system has installed and not installed components.[Root @ iZ25fcztyabZ ~] # Yum grouplist | moreLoaded plugins: securitySetting up Group
Install nginx in Ubuntu. You can simply use apt-get install nginx, which is very convenient.However, if CentOS6.2 is installed today and yum install nginx is not available, you must first handle the source. The following describes the complete
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
Install snmp on the monitored sideYum-y install net-snmp-develInstall and configure snmp on the monitored sideVim/etc/snmp/snmpd. confCom2sec notConfigUser default publicChange to (cacti host IP address)Com2sec notConfigUser 192.168.0.195
Check whether lm exists in cpuinfo. If lm exists, 64-bit is supported. lm means long mode. The specific command is as follows:Cat/proc/cpuinfo | grep flagsCheck whether the output contains lm characters.OrCat/proc/cpuinfo | grep flags | grep lm | wc-
Because of work requirements, you need to share the local folder and then temporarily use it on the CentOS server.The server uses the CentOS system, while the local machine uses the win7 system. For temporary use, we do not plan to build FTP and
Storm depends on Zookeeper and ZeroMQ. You also need to have Java and Python in your system environment. The entire setup process is as follows:1. Build a Zookeeper cluster.2. Install the same environment (ZeroMQ, JZMQ, Java, Python, etc.) on the
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.