Compiling the installation steps is simple, as follows:
# wget https://www.python.org/ftp/python/2.6.1/Python-2.6.1.tgz
# tar zxvf python-2.6.1.tgz
# CD Python-2.6.1
#./configure--prefix=/usr/local--enable-shared
# make && make install
The
1. CentOS 7.0 Version Information view
#cat/etc/redhat-release
2.
Install MARIADB#yum-y Install mariadb*3.Connect mariadbError: Error 2002 (HY000): Can ' t connect to the local MySQL server through socket '/var/lib/mysql/mysql.sock ' (2)4.solve the
VI Syntax-assisted function
On the issue of VI color, the Internet to find a number of articles just to finish, their own summary.
The VI in CentOS only installs the vim-minimal-7.x by default. So whether the input VI or VIM to view the file, the
For some special software, such as Docker need Linux kernel 3.1 to be very good support, then need to upgrade the kernel, and centos7 the default kernel seems to be 3.10.x, some low.
Method One:
View current system kernel version uname-r
1. Import
CentOS (Community ENTerprise operating System) is one of the Linux distributions that is compiled from the source code released by Red Hat ENTerprise Linux in accordance with open source rules. Because of the same source code, some servers that
One: View CPU
More/proc/cpuinfo | grep "model name"grep "model name"/proc/cpuinfo
If you feel the need to look more comfortable
grep "model Name"/proc/cpuinfo | Cut-f2-d:
Two: View memory
grep memtotal/proc/meminfo
grep Memtotal/proc/meminfo |
Prior to installing/configuring the system production environment, it is generally necessary to upgrade the existing system to ensure that the packages/components within the system are up to date, and that the upgrade commands for Debian/ubuntu and
First, repeat the previous plan.
Server end: 192.168.136.144 centos6.5 (virtual machine)
Agent End: 192.168.136.155 centos6.5 (virtual machine) below, we will install the Zabbix agent on agent end 155 to see how to install and monitor
1,
After installing VSFTPD, by default, CentOS Firewall is not open FTP service, need to add module and open 21 port to provide FTP access.
1. Add Ip_conntrack_ftp Module[root@hexuweb101 ~] Vi/etc/sysconfig/iptables-configAdd the following lineIptables_
You can get the size of a file or folder in the following way, where FD is the file (folder) descriptor
Long fileSize = Lseek (FD, 0, Seek_end)
But the following problems exist
CT6.3
If the FD passed to Lseek is a regular file, there is no
Software: VLC (videolan), download from official website
Version: 2.1.15
Host: Centos6.5
Preparation software: FFmpeg, Version: 2.2.14, download from ffmpeg.org
If the other preparation software is missing, add the corresponding Devel library by
Download the source Packageinstalling devtoolset-7 MariaDB compile the TOKUDB engine will use the C++11 standard, the system is the highest version of the GCC 4.8.5 support c++11 Standard, but even if the designation -DCMAKE_CXX_FLAGS=-std=c++11 is
One, four modes of network card configuration
1, directly modify the configuration file
vim /etc/sysconfig/network-scripts/ifcfg-ens33
Bootproto represents the way the address is assigned, with DHCP, static, noneOnboot
First, configure the Yum source before installation#wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh#sh script.rpm.shSecond, install the specified version of the Gitlab-ce#rpm –qa gitlab-ce#yum list
First, the Environment preparationOs:centos Linux release 7.5.1804 (Core)?ip:172.16.8.46Installation requirements are as follows:Second, Docker installationReference 80454019Third, installation Docker-composeCurl-l
Some errors and workarounds when installing CentOS7.0 from the hard disk
mount:no Medium found and/dev/root do not exist Both cases cannot find the installation file for CentOS7.0, the problem is that the installation file (. iso) is not
Nginx is a high-performance Web services software. More lightweight and flexible than Apache HTTP server, it is an essential tool in Web and server-side development.In this article we will introduce the installation of CentOS 7 under Nginx.
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.