There are many Python programs that can be installed directly through the PIP, such as the well-known Django, Markdown, Shadowsocks, and so on.
Briefly describe the use of the PIP (to install shadowsocks examples):1. Installation packagePip Install
To adjust the use of a CPU for a program:
First, use Taskset to make full use of multi-core CPU, so that the utilization of the CPU is balanced to each CPU
#taskset-P, set an existing PID instead of reopening a new task-C, specify a processing,
To view the version of the CentOS kernel:
1) [Root@localhost ~]# cat/proc/versionLinux version 2.6.18-194.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri A PR 2 14:58:14 EDT 2010
2)
[Root@localhost ~
The way to turn on gzip compression is simple, connect the server and open the configuration file "httpd.conf", find the following two sentences, remove the "#" in front
The code is as follows
Copy Code
LoadModule
Method One:
First, view the current system partition situation:
>free-m
Create a file for the swap partition:
>dd If=/dev/zero of=/whatever/swap bs=block_size (10M) count=number_of_block (3000)
Third, set up swap partition files:
The platform of the trend who can block? Take your net and dash it! Http://www.cnblogs.com/dunitian/p/4822808.htmlFirst say recommended installation: Online installation, follow the official walk can avoid some problemsNewly learned MongoDB I still
1. Get IP address automaticallyVirtual machines use bridging mode, which is equivalent to a network connected to a physical machine, and the physical machine network has a DHCP server that automatically assigns IP addresses.#dhclient Auto Get IP
Phenomenon:1. Display the eno16777736 adapter as down state via IP addr2. The Service status network displays the following logs:....November 15:30:10 localhost.localdomain systemd[1]: Network.service:control process exited, code=exited
CENTOS6 The history command displays the time and user identity of the action command[Email protected] ~]# history 294 2017-01-06 16:46:48 root Clear 295 2017-01-06 16:46:50 Root ll 296 2017-01-06 1 6:46:52 root cat hostname.sh 297 2017-01-06 16:46:
Yezee user ssh to the server, then su to the root user, ready to restart the iptables serviceRun the service command to restart the iptables service:[Root @ www sysconfig] # service iptables restartThe bash: service: command not found error is
Problem:After installing the Linux operating system, some Dell servers find that the nic name has changed to em1.Solution:Change the nic name to eth0. The CentOS Operating system is used as an example.1. Modify the grub systemVi/boot/grub. conf #
1. Install vnstatThe epel package comes with vnstat. You can install epel and run the following command:Yum install vnstat-yII. ConfigurationModify the/etc/sysconfig/vnstat file and you can see the following configuration (if the default network
1. Use the command "pwgen" to generate any unique password with a length equal to 10 characters. If you have not installed pwgen, you can use Apt or YUM to install and obtain it.Use yum to install: yum install pwgenIf pwgen is installed here, an
Check whether JDK is installed in Linux.The installed CentOS comes with OpenJdk and uses the java-version command. The following information is displayed:Java version "1.6.0 & Prime;OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-Bit Server
The latest CentOS6.4 is installed in VirtualBox.Building the OpenGL support module [FAILED]Find the solution on the network.Cd/media/VBOXADDITIONS_4.1.8_75467/Export MAKE = '/usr/bin/gmake-I'./VBoxLinuxAdditions. runDuring installation, use "make-I",
If your wordpress installation directory is wordpress, the default wizard configuration will show insufficient permissions:Sorry, but I can't write the wp-config.php file.You can create the wp-config.php manually and paste the following text into it.
Because the program running environment is required, you have to use PHP5.2 or earlier versions.The following two methods are provided to install PHP5.2:Operating system: CentOS 5.8 64-bit (Alibaba cloud space)1. Download the source code from the
I. INTRODUCTIONNagios is an open-source computer system and network monitoring tool that can effectively monitor the status of Windows, Linux and Unix hosts, network settings such as vswitches and routers, and printers. It's a powerful O & M tool,
Scenario:Recently, the server memory is always very small, prompting you to increase the memory space, but adding the memory requires money, but how can you increase the memory at the same time without spending money. So I thought about the virtual
What is tuned/tuned-adm?Tuned/tuned-adm is a new system tuning tool introduced after CentOS 6.3. tuned is a server program used to monitor and collect data of various system components, the system settings are dynamically adjusted based on the
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