Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Python 2.7 installed on CentOS 6.5     - Solaris 10 nagios monitoring system (Linux)

- MongoDB data replication and data slices (Database)

- MySQL various log summary (Database)

- How dependent on Fedora, CentOS, RHEL check RPM packages (Linux)

- Use Tails 1.4 Linux system to protect the privacy and anonymity (Linux)

- Oracle 11R2 Grid Infrastructure execute root.sh script rootcrs.pl execution failed treatment (Database)

- The new task parallel library feature in .NET 4.6 (Programming)

- Ubuntu under Spark development environment to build (Server)

- Linux command line ten magic usage (Linux)

- To install and use Docker under linux (Server)

- Understanding Linux firewall Iptables (Linux)

- Linux set to select the appropriate level of security of the network according to deployment (Linux)

- Network Security: SYN attacks against under linux (Linux)

- Use dump restore mode fast backup and recovery system FreeBSD (Linux)

- AWR Report (Database)

- Use chattr and lsattr command to manage linux files and directory attributes (Linux)

- Use the DBMS_SCHEDULER package to manage scheduled tasks (Database)

- Computer black magic: tail recursion (Programming)

- C ++ Supplements - Virtual Function Principle (Programming)

- ASM Management - How to Rename diskgroup (Database)

 
         
  Python 2.7 installed on CentOS 6.5
     
  Add Date : 2018-11-21      
         
         
         
  Python 2.7 installation process detailed on CentOS 6.5.

1.yum groupinstall "Development tools"

2. Install the components needed to compile Python

yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel

3. Download and extract the latest Python 2.7 source code

wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tar.xz
tar xf Python-2.7.10.tar.xz

4. Compile and install Python

cd Python-2.7.10
./configure -prefix = / usr / local

make && make install
make clean
make distclean

5. The system python commands to the Python 2.7

mv / usr / bin / python /usr/bin/python2.6.6
ln -s /usr/local/bin/python2.7 / usr / bin / python

6. python yum need to do is specify 2.6.6

vi / usr / bin / yum

The file header

#! / Usr / bin / python

Changed

#! / Usr / bin / python2.6.6
     
         
         
         
  More:      
 
- Linux system started to learn: how to solve the xxx is not in the sudoers file error (Linux)
- Using Maven to download Spring (Linux)
- Ubuntu users how to install the latest Nvidia graphics drivers (Linux)
- Android Studio Clear Project or Rebuild Project Error (Linux)
- Python 3 for instructions encoded string conversion (Programming)
- DB2 Version SQLJ to access Oracle Server (Database)
- Java Foundation - Getting Start (Programming)
- Zabbix monitoring platform to extract a single server graphical Python implementation of concurrent (Server)
- Linux performance monitoring (Linux)
- MongoDB configuration in Ubuntu 14.04 (Database)
- Close common port to protect server security (Linux)
- View processes and threads under Linux (Linux)
- How to Install Foreman under Ubuntu (Server)
- Linux system boot process ARM platforms (Linux)
- CentOS yum source deployment (Linux)
- MySQL query optimization: profile function (Database)
- To create and manage virtual machines on Ubuntu Redhat (Linux)
- Debian Stable (Jessie 8.1) of normal.mod not found (Linux)
- New experience Budgie (Budgerigar) desktop environment (Linux)
- Oracle Character Set Summary (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.