Believe that playing the server/vps to CentOS must be not unfamiliar, CentOS is a red Hat Linux based on the free use of the source code of the enterprise-level Linux distribution. Because it is free, many Web servers and VPS now often use this
Note: Basic operation commands for firewalls:
code is as follows
copy code
query Firewall status: [root@localhost ~]# service Status To stop the firewall: [root@localhost ~]# service
Service httpd Restart1, first do the operation to open the PHP extension file directory:
Cd/www/wdlinux/php/lib/php/extensions
2, then 32-bit system Linux execution:
Wget-c
Installation Instructions
System Environment: CentOS-6.3
Installation mode: Yum Install (source code installation is easy to produce version compatibility problem)
Install software: The system automatically downloads SVN software
Check for
CentOS6.5 's own git version is 1.7.1
Uninstall self-brought git
# yum Remove git
Download the latest version of Git
# wget https://github.com/git/git/archive/v2.9.2.tar.gz
Extract
# tar ZXVF v2.9.2.tar.gz
# CD git-
Objective
This paper is mainly recorded under the CentOS 6.7 system installation JDK7 process record, the following words do not say, come together to see.
The method is as follows:
1, the official Oracle Download the latest JDK installation
Configure SSH without logon verification, in many scenarios is very convenient, especially in the management of large cluster services, avoid cumbersome password verification, the higher the security level of the server, the usual password settings
Why do you do this?
Recently in the Linux software development, but also want to use Windows under the Programming tool "Source Insight."
Second, the installation environment
Native System: Windows 7 flagship
Vmware:vmware Workstation 9.0
1. Download the CentOS installation disk
My computer is 32-bit, so I downloaded the i386 version of Centos-6.2-i386-bin-dvd.iso
Note: The hard disk installation version should be downloaded instead of the LiveCD version
LiveCD (CD-ROM) is a
Linux is not difficult to install a Web server, but its maintenance and security hardening is not easy, it requires a deeper understanding of the Linux system and the various configuration options for Apache here is how to find a balance between
1, view cpu physical number grep ' physical id '/proc/cpuinfo | sort-u | wc-l 2, view cpu core number grep ' core ID '/ Proc/cpuinfo | Sort-u | Wc-l 3, view the number of cpu threads grep ' Processor '/proc/cpuinfo | Sort-u |
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
Before setting ftp rules through iptables, you must first understand the two modes in which ftp works: Active mode and passive mode. If you are not clear about the ftp principles, refer to the following articles.FTP overview1. Differences between
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
Today, let's talk about how to compile and install nodejs separately. If so, let's take a look at the end. If not, let's install nodejs step by step.System: centos 6.x( 64-bit)Software version: nodejs 5.3.01. Upgrade gcc firstFor more information
Time-related commands:Date: modify the current system timeClock: modify the CMOS time (view the CMOS Time: clock-r)Hwclock: modifies the system hardware time.Lock usage:Clock-w writes time into CMOSView the CMOS time in clock-r Hwclock usage:
Recently, I set up a Git server for my team. The path is tortuous and I wrote it down for query. The Centos6.4 64-bit version is used for internal servers.Install GitInstall gitFirst install the required git Library:Yum install curl-devel
Enter the following command to check whether the crontab service is installed.Which crontabIf it is already installed, the path is displayed. If it is not, the installation is very simple. Use yum to install crontab:Yum install vixie-cronYum 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