Our people use VPS installed system environment most likely is LNMP, the author recently also learning to install and use VPS, also see many kinds of system environment can choose, of course, including can choose to install Panel management.
Win7 operating system, VMware installation centos6.2, in order to practice the WWW server configuration, using the text interface, has been considering a problem, this Nic how to start it? Anyway, I feel that learning CentOS is much smoother than
system log files ( can be viewed by cat or Tail command )
/var/log/message information and error logs after system startup is one of the most common logs in red Hat Linux
/var/log/secure Security-related log information
/var/log/maillog
The default Python version of Python is 2.4. If you're unlucky with Yum, Installpython26 to install the python2.6, although the installation of the time will not be a problem, but there will be no libpython2.6.so.1.0 this library, even if the
The server is installed with the 6.3 version of CentOS, the default PHP version is 5.3, the version is too low, so that the latest open source framework does not work, want to run the latest open source framework must upgrade the PHP version, but
First, the installation of Fastdfs must be installed before libevent, installation libevent steps as follows:
1. Download Libevent:
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz2. Decompression Libevent:
TAR-ZXVPF
Since Linux itself does not have integrated PPTP functionality, it is necessary to install the relevant components to allow our Redhat to support PPTP, according to the kernel version, download the appropriate installation package, the components
This article mainly introduces the CentOS on the installation of phpMyAdmin tutorial, phpMyAdmin is a PHP script to operate the MySQL tool, very popular, need friends can refer to the
Premise
Installing phpMyAdmin on CentOS, you first need to set
In the CentOS system, the software installation program is quite complex, but the most common are two kinds:
1) One is the source code of the software, you need to build it yourself. This software installation package is typically a tar package
Only 22 ports are opened when the system is loaded. The site cannot be accessed after the Nginx+php+mysql is loaded.Iptables-l-NView firewall settings Discovery does not turn on port 80Because the Linux firewall is turned off by default. There are
It was an incredibly simple thing to install TensorFlow, but it was on my computer for one weeks. During the encounter all kinds of trouble, all kinds of pits, in this record, convenient for everyone. Errors include:
Undefined symbol:zgelsd_
When using Linux VPs, many people are not used to managing servers through SSH command lines. people prefer to remotely use images like remote desktop in windows.ProgramHowever, such a program does not exist in Linux.There must be some solutions.
1. Linux is a multi-user, multi-task operating system, including user accounts and group accounts.Subdivide user accounts (ordinary user accounts, super user accounts) in addition to the user accounts that think there are also group accounts. The so-
I. Environment preparation
Install centos: 6.2For centos introduction, see: http://baike.baidu.com/view/26404.htm
Nginx version: 1.2.1 about nginx, see: http://baike.baidu.com/view/926025.htm
2. Linux Common commands to introduce how
I. preparations:
Run the following three commands as root or another user:
1. Enter CAT/etc/RedHat-release on the terminal to view the release version. My version is:
Centos release 4.4 (final)
2. Enter uname-R on the terminal to view the kernel
Enable Nic automaticallyAfter centos 6.x is installed, You need to manually activate the NIC every time you start the system. The following methods can be used to automatically activate the NIC after the system
1. Download and install rsync* *** Rsync is enabled for normal RH installation, and the running file is stored in/usr/bin/rsync. # Tar zxvf rsync-2.6.9.tar.gz # Cd rsync-2.6.9 #./Configure -- prefix =/usr/local/rsync # Make # Make install 2.
1. Copy all centos Yum files, but actually only use base files.
[Root @ server yum. Repos. d] # lsCentOS-Base.repo CentOS-Debuginfo.repo. B CentOS-Media.repo. B server. Repo. B
2. Check the file and learn the following points:
Enabled = 0 do not
The result is 404 Not Found directly by clicking a link. Tragedy, it seems that there is a problem with Apache Rewrite, And the. htaccess file is completely ignored! After checking the Apache module, we found that the Rewrite module is enabled. It
Set environment variables for centos and environment variables for centos
Method 1: Add a variable to the/etc/profile file [effective for all users (permanent )]
Use VI to add a variable to the/etc/profile file. This variable will be valid for all
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