Linux Apache opens virtual host pseudo-static. htaccess

Open Apache configuration file/etc/httpd/conf/httpd.confFind "#LoadModule rewrite_module modules/mod_rewrite.so" To remove the previous #, if not, add this sentence, remember not to bring the # number.Allow the ". htaccess" file to be used in any

Linux CPU Load

The Load is a little more abstract than it's been seen many times, Mark.CPU utilization refers to the percentage of CPU consumed during the runCPU load is in use and waiting for use for a period of time average number of tasks for CPU This can

Linux Zombie Process Orphan process

Today, someone asked about the zombie process and the orphan process, which has been encountered before, but not much attention, here markZombie Process: The process fork out the subprocess, but the parent process does not call wait or waitpid to

LInux Viewing environment variables

1. Display Environment Variables Home$ echo $HOME/home/redbooks2. Set a new environment variable Hello$ export hello= "hello!"$ echo $HELLOHello!3. Use the ENV command to display all environment variables$

Linux TCP Server Demo

? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 #include  #include  #include  #include  #include  #include    #define

Linux tar.gz zip decompression compression command

Tar is responsible for packaging, Gzip is responsible for compressingTar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are

Linux # Basics

Main topic:Linux input / device software /RPM installation Linux Input Method:Note: After the installation of Sougou, it is very convenient to switch, shift directly to the Chinese and English switchingLinux Modify keyboard settings _helengreens_

Linux Common Operations Command

Iostat to monitor IO performance#iostat-D-K 1 20Display Throughput Kb_read/s,kb_write/s,tpsDevice:tps kb_read/s kb_wrtn/s Kb_read kb_wrtnsda7.00 64.00 24.00 - -sda10.00 0.00 0.00 0

Linux Device driver character device

Can no longer be streamlined, suitable for getting started.1#include 2#include 3 4#include 5#include 6#include 7#include 8 structmengc_dev{9 Chardata[ -];Ten structCdev Cdev; One }; A intMengmajor; - structMengc_dev Meng_device; -

Cross-compiling tcpdump for ARM Linux

1. Download and unzip the source file from the official website www.tcpdump.org, here isTcpdump-4.5.1.tar.gzLibpcap-1.5.3.tar.gz2. Compile libpcap, install directory is/home/armroot, cross compilation cannot determine Pcap type, manually designated

Linux Command---SED

UseSED, stream editing, can be used to analyze standard input, but also to replace, delete, add, take a specific line.Usagesed -nefr actionOptions and Parameters:-N: In general sed usage, all data from stdin is generally listed on the screen, but if

Kali Linux Installation VMs

Https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-10.0.2-1744117.i386.bundleVm10To execute permissionschmod u+x Vmware-workstation-full-10.0.2-1744117.i386.bundle./mware-workstation-full-10.0.2-1744117.i386.bundleInstallation

Linux mouse key pasting function?!!

Reprinted from: http://yjhexy.iteye.com/blog/785564Ubuntu Mouse key problem, in fact, is not a problem, Ubuntu mouse button is used to quickly paste, but Windows used to, and occasionally hand a point, the result of a lot of trouble1, open the

Linux under Automatic FTP-to-server comparison copy files under specified directories

Tag:shell   linux    Compare files    ftp automatically copy     #!/bin/bashprocess=8pwd= ' pwd ' dat= ' date ' ftpip= "192.168.1.1" user= "Ftp_username" password= "Ftp_password" local_dir= "/home/" GetList () {ftp-n $ftpip $PWD/listuser $user

Linux users, groups, permissions little exercise

1. Create a new user with no home directory OpenStack2. Copy/etc/skel to/home/openstack3. Change the owner of/home/openstack and its internal files, belong to OpenStack Group4./home/openstack and its internal files, belonging to groups and other

Differences between the su and sudo commands in Linux

Bytes ------------------------------------------------------------------------------------------------ First, I made some changes: Switch to the root user operation =>Sudo suEnter the password of the current user: ****** Modify the root password

Type conversion and byte alignment

When a pointer with a smaller byte alignment type is strongly converted to a pointer with a larger byte alignment type, this may cause problems. On the arm platform, this problem is obvious. After running on the x86 platform, typdef struct {int addr;

Mysql database backup script

Vim mysql. sh#! /Bin/bashDAY = 'date + % Y-% m-% d' // The date is displayed as year, month, and DAY, and the DAY variable is assignedSIZE = 'du-sh/var/lib/mysql // view the mysql SIZE and assign the variable SIZEEcho "Date: $ DAY">/tmp/mysqlbak.txt

Solve the problem that the linux Nic must be manually activated every time the operating system is restarted.

1. Problems A linux operating system. After the operating system is restarted, no information about the network adapter (eth0) is available and needs to be manually activated. 2. Solution Method 1: Select "connect automatically" on the NIC

Linux environment variable. bash_profile/bashrc File

View system environment variables: [Root @ localhost ~] # EnvHOSTNAME = localhost. localdomainSELINUX_ROLE_REQUESTED =TERM = xtermSHELL =/bin/bashHistory Size = 1000SSH_CLIENT = 192.168.7.105 50641 22SELINUX_USE_CURRENT_RANGE =QTDIR

Total Pages: 5467 1 .... 4419 4420 4421 4422 4423 .... 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.