We know CentOS by Yum/etc/yum.repos.d/ Centos-base.repo in the configuration of the mirror server to find updates, the customer recently installed a mantis and Testlink build test platform, found that CentOS with PHP is 5.1 version, does not support
The experiments are CentOS6.9 and CentOs7.3 systems 1. Mounting System Discs
There are two ways to mount a disc, one is to use the Magic directory of/MISC/CD, and the other is the mount method that we usually use.
1.1 Mount Mode Mount
[Root@centos7 ~
CentOS View port occupancy commands, such as viewing 80 port occupancy Use the following command:
Lsof-i tcp:80List all ports
Netstat-ntlp1, open the Port method one:
/sbin/iptables-i input-p TCP--dport 80-j ACCEPT Write
It is suitable to do common file system with Moosefs,glusterfs,lustre. Moosefs
Support Fuse, relatively lightweight, the master server has a single point of dependence, written in Perl, relatively poor performance, domestic use more people,
If the RPM package is installed or in the system original program, directly to/usr/share/applications/right click on the corresponding icon, copy to .... Just go to the desktop. The English version of the CentOS system comes with the default use of
Just knock a few orders today.
1. Network interface Parameters--ifconfig
This command can set the NIC interface IP address, subnet mask, etc.,
Ifconfig xx (NIC name) down-off NIC interface
ifconfig XX (network card name) up open NIC
Build a small Linux process based on CentOS 6:First we need to know the starting process of the CentOS 6 system for post (power On Self Test)-->bios (System Select Boot device sequencing, the default order is CD, USB flash drive, hard
The documentroot must be a directory error is frequently encountered when configuring the Apache service, and it has been a few hours since the first contact with Apache to find the cause of the error, which is generally due to selinux.SELinux
CentOS7 installed by default python2.7.5, when you need to use Python3, you can manually download the Python source code after compiling the installation.1. The dependencies that may be used to install python3.51 yum install openssl-devel
After the Java project is ready, the final deployment usually uses securecrt (or other terminals) to connect to Linux and upload the war package. It is necessary to learn several basic Linux commands.
1. Ssh settings on centos
1.1 In the
Purpose: use shell scripts to check whether the database is running hourly and send an email alert when the database is down.
1. Check if Sendmail is running
Service Sendmail status
If it is not running, start or install it.
For Linux 6, check
I installed a pair of systems in my laptop at home, and found that the touchpad was annoying and disabled!
1. Install a small artifact
yum install xorg-x11-apps
2. view the hardware ID to enable or disable the command.
[[email protected] yum.repos.d]
Prerequisites:
I cover all these operations on centos 6.4 and with root, So if you encounter some privilege problem, try sudo.
And, if using Ubuntu, you needn't worry about SELinux.1. Install essentical Library
Yum update
Yum install GCC g ++ make
Mercurial is used when xen is installed in source code. Google has been around for a long time, focusing on source code installation, and then two simple methods.1. Download source code
[Root @ localhost mercurial-1.4.1] wget
1. Download jdk1.6linux from the official Oracle website.
Is:
Http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-i586.bin
2. The downloaded file is a jdk-6u32-linux-i586.bin file, which can be directly executed with the suffix
The netstat command displays network connection, route table, and network interface information, allowing you to know which network connections are in operation. In our daily work, we usually use two parameters, netstat-an, as shown below:
[Root @
In linux, vmwarecentos cannot configure a fixed ip address for centos cloned under vmware
1. clone a centos from vmware
2. Go to centos and open the command line and enter ifconfig. After the command is executed, no eth0 is found.
3. Execute the
Problems and Solutions for sudden failure of the left mouse button of centos
Environment: CentOS 6.5, Kernel Linux 2.6.39-400.214.4.el6uek.x86 _ 64, GNOME 2.28.2
Background: Installation of python-psutil-0.6.1-1.el6.X86_64 and
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