python2.7 mysqldb module for Linux installation

1. Download: Mysql-pythonHttp://sourceforge.net/projects/mysql-python/files/mysql-python-test/1.2.3b1/MySQL-python-1.2.3b1.tar.gz/downloadTAR-ZXF mysql-python-1.2.3b1.tar.gzCD MYSQL-PYTHON-1.2.3B1Python setup.py Build==>importerror:no module named

Install and start mongdb under Linux

1. Download MongoDBDownload Link: http://www.mongodb.org/downloads2. Unzip the downloaded compressed packageTAR-ZXVF mongodb-linux-x86_64-3.2.8.tgz3. Change the file name MongoDBMV XXX MongoDB4. We set up a new data directory in the MongoDB

How to see which ports are listening in Linux

To view the occupancy of an end port: lsof-i: Port numberPrerequisite: First you must know that the port is not independent, it is dependent on the process. When a process is turned on, its corresponding port is turned on and the process shuts down,

Linux Boost installation, test program

Download:wget Http://101.96.10.75/ncu.dl.sourceforge.net/project/boost/boost/1.62.0/boost_1_62_0.tar.bz2tar XF boost_1_62_ 0.TAR.BZ2 CD boost_1_62_0/Compiling the installationBash bootstrap.sh echo $?. /b2echo $?sudo./b2 Install--prefix=/tmp/haha

Linux kernel Upgrade

1. View the kernel versionUname-r2. Download the compilation package required for the upgradeYum install-y vimYum install-y wgetYum install-y gcc gcc-c++ xzYum install-y BCYum Install-y ncurses-develYum install-y hmaccalc zlib-devel binutils-devel

Linux installation JDK

Method Two: Install the JDK with Yum1. See which JDK versions are available in the Yum Library (OPENJDK only)[email protected] ~]# Yum search Java|grep JDKLdapjdk-javadoc.x86_64:javadoc for LDAPJDKJAVA-1.6.0-OPENJDK.X86_64:OPENJDK Runtime

Linux Foundation II

I. Initialization of the network1.ip Address modification (temporary effect)Using the Ifconfig commandIfconfig NIC name IP address Subnet mask192.168.100.112/24Modification of 1.IP address (permanent entry)Modify the NIC file in

i.mx6 SHT20 Linux Drive porting

/*********************************************************************** * i.mx6 SHT20 Linux Drive porting * Description: * Originally intended to use SHT10 to do humidity detection, found that it is not i²c interface, of course, also use * Gpio can

Search for Linux kernel library files

How do I find the so library file for the Linux kernel function?The first thing to do is to generate a process for the Coredump fileLinux has a lib-gdb.so library in which the last load segment of all the load segments in the Coredump file of this

Linux implementation automatically creates FTP users and creates folders

To create a createuser.sh script file#!/bin/sh#传入的文件名Name=$1#创建该用户所对应的ftp文件夹/srv/ftp is the root directory of my FTP servermkdir/srv/ftp/$name#创建ftp用户组 for easy Management/usr/sbin/groupadd FTP#创建用户/usr/sbin/useradd-g

How to mount partitions on Linux

Mount label= Custom Label name Directory name (Note When using mkfs. File type partition name to format a partition without a label name, you can only use the command mke2fs-l Label name Partition name to specify a label name for a partition )

Linux System Fundamentals (ii)

Linux System Fundamentals (ii)First, the Linux system structure1.Linux system structure is inverted tree type2./bin # #二进制可执行文件也就是系统命令/sbin # #系统管理命令存放位置/ Boot # #启动分区, responsible for system startup/ Dev # #设备管理文件/ etc # #大多数系统管理文件 /Home #

Modify the Linux password

Note:Init 0 Stop system running (shutdown)Init 1 Single user mode (can operate modify system)Init 2 Multi-user mode (no NETWORK Service)Init 3 Multi-user mode (command line)Init 5 Multi-user (graphical interface)Init 6 RestartFirst step Press any

Linux Learning Note 3

Permissions for files-rw-rw-r--1 Kiosk Kiosk 0 Oct 2 17:05 file"-" File type "-" represented as directory for file "D"The first three bits of the "rw-rw-r--" file permission represent all permissions for the file or directory, and the three bits

Linux Learning Note 4

Process What is a processProcess is what the system is doing2. Process statusRunDormancyStop itGo onEndZombie Process3. How to view processes in a drawingGnome-system-monitor4. How to view processes with commandsPS Process Viewing tool-a process

Linux Basic Learning Second unit exercise

Unit two exercises1. Create a file with commands and regular expressions as required*) Create 12 files with one command Westos_classx_linuxy (the value range of x is 1-2,y 1-6)*) These files are included in the study directory of the root user's

Key authentication issues for Linux two virtual machines

Key authentication between 1.desktop server two virtual machinesFirst look at the true IP: if 178.25.254.10Then two virtual machines can set IP to desktop 178.25.10.11Server 178.25.10.122. Revenue command: Nm-connection-editor or Nmtui for quick

Storm installs and debugs under Linux system

Installation: Install Zookeeper: Download Zookeeper:http://zookeeper.apache.org/releases.html#download. Extract the zookeeper-3.4.7.tar.gz to the directory,/usr/local/zookeeper-3.4.7. Copy the conf/zoo_sample.cfg of the

Linux file Count

1. The number of files in the current directoryls -l | grep " ^- "| WC -L2. Directory tree of the current directoryls -l | grep " ^d "| WC -L3. The current number of directory files contains sub-directory contentsls -lr| grep " ^- "| WC -L4. Specify

Haproxy implements port 80 multiplexing and haproxy80 multiplexing

Haproxy implements port 80 multiplexing and haproxy80 multiplexing Copyright: The author of this article is-Chen Xin All the content in this article is summarized by Chen Xin. Unauthorized forwarding and use are prohibited without my permission. QQ:

Total Pages: 5467 1 .... 4960 4961 4962 4963 4964 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.