Centos releases memory

When files are frequently accessed in Linux, the physical memory may be exhausted. when the program ends, the memory will not be released, but will always be used as a cache. Linux caches include dentry, buffercache, and pagecache. Dentry is used to

Centosif judgment command

No matter what programming language, the linuxif command cannot be separated from conditional judgment. SHELL is no exception. Iflistthendosomethinghereeliflistthendoanotherthinghereelsedosomethingelseherefi #! /Bin/shSYS linux if command No matter

View hard disk information in hdparm under Centos

Install hdparm: yuminstallhdparm display hard disk settings [root @ cnscn ~] # Hdparm/dev/sda: IO_support = 0 (default16-bit) readonly = 0 (off) readahead = 256 (on) geometry = 19929 [number of cylinders]/25 Install hdparm: yum install

Gzip-cdxxxxx | meaning of the path-dxxx-p1 command

The role of the patch-dphp-5.2.6-p1 command is to set the php-5.2.6. -fpm "(this is a php management tool recommended by instructor Xiao Bu) to add it to the PHP source code package, A command is used to compile and install PHP during nginx

Linux logon password cracking graphic tutorial

Common Method 1 of centos: GRUB: on the boot loader menu, type [e] to enter the editing mode. You will face a list of pilot projects. Find the line with the output similar to the following: kernel/vmlinuz-2.6.18-164.el5roroot =/dev/vol/rootrhgbquite

Add new hard disks, partitions, formatting, and automatic mounting to Centos

Step 1: Create a partition root # fdisk/dev/had à to enter the newly added hard disk Thenumberofcyli Step 1: Create a partition root # fdisk/dev/had à to enter the newly added hard disk The number of cylinders for this disk is set to 10402.

CentOS5.5yum update domestic Image

Sohu's open-source Image: http://mirrors.sohu.com/very fast !! Follow these steps: 1. back up and clear/etc/yum. repos. d/CentOS-Base.repoecho "" & gt;/etc/yum. repos. d/CentOS-B Sohu's open source ImagesHttp://mirrors.sohu.com/feel pretty fast good

RPM software package installation and upgrade

How to install and upgrade an RPM package? Solution: to install an RPM package, you must have an RPM package for the software you want to install. You can download the appropriate RPM package from a website. of course, the Red Hat Network provides

Vim language conversion in Centos

Convert big5 encoding to utf8. What should I do at this time? Is it hard to convert each file to utf8? This is not required! Use the iconv command! In the terminal environment, you can use the "wget URL" to download the above files! Laruence

How to view web logs in Centos

Number of times the web server is notified of ip access failure # cataccess_log | awk '{print $1}' | sort | uniq-c | sort-n or # cataccess_log | awk '{print $1} '| sort-n | awk' {S [$ NF] ++} END {for (ainS) Number of times the web server cannot be

Three common backup methods for mysql in Centos

Mysql supports logical backup and physical backup based on backup and recovery methods. logical backup is a backup SQL statement. when the database data is restored, the physical backup is a backup data file, compared to data files under the cp, the

Centoschattr command for changing file attributes

Chattr (changeattribute) function description: changes the file attributes. Syntax: chattr [-RV] [-v & lt; version number & gt;] [+/-/= & lt; attribute & gt;] [file or directory...] note: this command can change the file or directory attributes

File character set encoding conversion in Centos

1. install the conversion tool [root @ master/] # yuminstallconvmv2. view the Linux character set [root @ master/] # localeLANG = zh_CN.utf8LC_CTYPE = "zh_CN.utf8" LC_NUMERIC = "zh 1. install the conversion tool [Root @ master/] # yum install convmv

Command to hide the permission of the Centoschattrlsattr file system

You can use chattr to set the permission to hide an object. Use lsattr to display the hidden permissions of an object. Chattr [+-=] [ASacdistu] [file or directory name] parameter description: +-=: "+" (add), "-" (reduce), "=" (set) attribute A: When

Wget batch download of files on remote FTP server

I bought a VPS yesterday and migrated the VM to VPS. the migration process must be data transfer. In the past, the data migration mode for VM instances was very inefficient. the old host package download-& gt; new host Upload and decompress, because

Create an rpm Package in Centos

There are many friends who talk about RPM compilation and installation. RPM installation is a dumb installation. In fact, RPM is a very effective centralized deployment solution. Yum + RPM is a fast and convenient large-scale deployment solution.

Centos command -- sed

1. Merge row zj @ zj :~ /Script/blog_script $ cattest000034 merge the upper and lower lines of zj @ zj :~ /Script/blog_script $ sed '$! N; s/\ n/\ t/'test1000034 merge matching mode and the next zj @ zj :~ /Script/blog 1. merge rows Zj @ zj :~

Centos command -- crontab

The crontab command is used in linux systems to set periodically executed commands. The crontab file contains a series of jobs and commands sent to the cron daemon. Each user can have their own crontab file. at the same time, the operating system

CentOS file and permission management

Linux file management. 1. file naming rules are known to all. files must have file names. in linux, there are the following naming rules to standardize file naming: 1 ). all characters except/are valid. 2). It is recommended that you do not use some

Modify ssh default port in CentOS

1. add the port vim/etc/ssh/sshd_config and remove the comment of # Port22 and add the line feed to Port57788. if the comment is added but the comment is modified, we recommend that you keep port 22 first, and then remove the new port. We recommend

Total Pages: 2732 1 .... 2403 2404 2405 2406 2407 .... 2732 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.