1. Prepare the environment
Yum-y install GCC gcc-C ++ Autoconf automake make
Yum-y install zlib-devel OpenSSL -- devel PCRE-devel
If you do not install the above two items, you may encounter the following problems during my installation:
Download
A project completed two weeks ago is a website written in Python. Some problems were encountered when deploying the server to the official server, which were repeated many times, wasting some time. Today, we finally have time to sort out the process.
Create a Web server (LAMP):# Optimization by OnekeySed-i ' s#selinux=enforcing#selinux=disabled# '/etc/selinux/configgrep selinux=disabled/etc/selinux/configSetenforce 0Getenforce/etc/init.d/iptables stop/etc/init.d/iptables stopChkconfig iptables
An environmental background
python-2.7.8
Docker version 1.15 (*yum installed as 1.14, upgrade to 1.15, see next steps)
Two Get Docker container indicator "indicator feasibility analysis See note:"
CPU:USR and System Cpu
Python is usually installed in/usr/local/python3 (a specific installation location to see a person's preference, but to remember the location of the installation), because the/usr/local directory does not exist in the directory Python3, so first
General Linux comes with git version is very old, there will be some problems, you can uninstall the system comes with Git:yum remove gitDownload and install Git:wget https://github.com/git/git/archive/v2.2.1.tar.gztar zxvf v2.2.1.tar.gzcd
Python (https://www.python.org/ftp/python/)First, tool installation1, the installation of Python1 tar vxf Python-2.7.13. tgz2 cd Python-2.7.13. tgz3 ./Configure 4 make && make install2, Installation SetuptoolsDownload
Foreword: Some third-party frameworks in order to reduce complexity, the new version has begun to not support older versions of Python, such as Django this web framework version 1.8 and above only support python2.7 and above (memory is this version 1
Compiling the installation from source code
Download the latest version from the Python website
Unzip tar -xzvf Python-3.6.4.tgz , modify the package name according to the version number
cd Python-2.7.9/
LDFLAGS="-L/usr/lib/x86_6
First, CENTOS7 installation Python3.6.5 tutorial1, before the installation of Python, you need to install some of the following dependencies (if there is a dependency problem, follow the prompts to install):yum-y Install zlib-devel bzip2-devel
Recently on new projects, to build nginx to ensure security, the decision to install the WAF module, the following is the specific steps, first download the required installation package, for each installation:
wget
Mainly refer to this article:
Http://www.nginx.cn/install
The only place to pay attention to IS
Replace the pcre-8.34.tar.gz with a new version, and of course the author has given a hint to download the latest Pcre source pack in the article.
Objective:
Python3 should be the trend of Python, of course, the current controversy is also relatively large, the main purpose of this essay is to record the linux6.4 under the PYTHON3 environment of the process
As well as the problems encountered
1. IntroductionOPENTSDB is a real-time monitoring information collection and display platform on the hbase system. It supports all metrics of second-level data acquisition, supports permanent storage, can do capacity planning, and is easy to access
This is my first time in the Linux environment source installation nginx, build PHP environment, the process of reference http://www.nginx.cn/install and http://php.net/manual/zh/ install.unix.nginx.php Two official documents to install, or
Configure the lamp environment on the Centeros 6.5 64-bit condition if you want to turn off the firewallFirst, the preparatory work1. Check for system updatesupdate2. Installation of the compilation environment-y install gcc gcc gcc-c3. Need to
AIDE (Advanced intrusion Detection environment, high-level detection environment) is a detection tool, the main it through the system of "miniature" to compare, the period of operation recorded clearly continue. For example, a XXX in your server to
1. Environment Preparation:Server System version: CentOS 6.5Nginx software version: nginx-1.13.92. Resource Preparation:Nginx:http://nginx.org/download/nginx-1.13.9.tar.gz3. Installation steps:You can perform an installation of all missing
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.