Compression can compress a large directory into a smaller file, reduce bandwidth, and reduce disk occupancy!Gzip Compression:/* gzip [-d#] filename where # is the number of 1~9-D: Use when extracting -#: compression level, 1 compression worst, 9
1. Modify the/etc/udev/rules.d/70-persistent-net.rules,reboot system , which defines the binding relationship between the network card and the MAC address. Vi/etc/udev/rules.d/70-persistent-net.rulesreboot If Max produces a new Max address in
The most recent server space is always an alarm and there is not enough disk space.Using the DF command, disk space is close to 100%, the stale data on the machine and the logs are cleaned up, but the space is soon approaching 100%.Using Du view,
pwd Show current directoryls Show content in directoryFile type: the- : Normal fileD : Directoryb : Block device Filestype : Determines the type of command, built-in or externalExternal command: There is a corresponding executable file in a
sometimes we need to Linux Systems transfer files between each other, the normal login system is required to enter the password, but in the automated implementation of the need to manually enter the password is more troublesome, how to achieve no
? time (for m in {1..100000}; do test -d .; done;) ( for m in {1..100000}; do; test -d .; done; ) 0.21s user 0.15s system 98% cpu 0.366 total? time (for m in {1..100000}; do [ -d . ]; done;) ( for m in {1..100000}; do; [ -d . ]; done; )
Features of this Learning bashBash and its features:Shell: ShellGUI Gnome KDE XFCEShell types: CLI sh csh ksh bash tcsh zshProcess: From each process it appears that only the kernel and the current process exist on the current host. A process is a
Usually also see bird Brother's private food, but feel a little afraid of that very thick book. Part of the filesystem I have seen but my own information conversion rate is too low to absorb how much things. But today I saw Mr. Nanyi's blog, "The
Common operation commands in LinuxLinux introduction and Ubuntu installation common command system management command packaging compression related commands shutdown/restart machines Linux pipeline Linux software package management vim user and user
Apache AB commandI. Introduction AB is a stress testing tool provided by apache. AB is very practical. It can not only perform Website access stress tests on apache servers, but also perform stress tests on other types of servers. For example, nginx,
In vmware, linux cannot dynamically obtain dhcp solutions.Recently, I encountered the problem that linux dhcp cannot be obtained in vmwarevm. After a long time, I finally got help from the great gods ~ First, make sure that the ethX configuration is
Linux partitioning and encrypted partitioningI. linux disk partition operation step 1. umount/dev/vdb 2. fdisk/dev/vdb input n, new partition input p, new primary partition input Partition Number, then input partition size, such as + 10G ...... 3.
Install CentOS 7.0 Nvidia graphics card1. Download the driver from the NVIDIA website.After searching for the corresponding driver, do not click it directly, but click "right", Save Link...Otherwise, there will be no static download for half a
Linux Command-file management class mv command
Command function:Move orRename the name of a file or folderCommand syntax: mv [-parameter] [source file or directory or target file or directory]
Parameters:
-B or-backup if you need to overwrite the
Centos7 SSH key login and password key dual Verification
1. First, log on to centos, switch the user, switch to the user you want to log on to without a password, and go to the home directory. The following command uses root as an example:Su rootCd ~
CentOS memory slots, maximum capacity, and frequency
In Linux, check the number of memory slots and the number of slots used. The size of each entry of memory, and the size of memory used
[Root @ HNTX-XY-PIM-HA5 ~] # Dmidecode | grep-P-A5 "Memory \
Install openvpn in CentOS to enable Intranet access in win7 and go through the firewallClient: win764bitOpenvpn: centos5.8 Internet IP Address: x. x Intranet IP Address: 192.168.53.230First install the software
Install the R language 3.2.2 In CentOS 6.5Download the tar package in the R language from the address (https://cran.r-project.org/src/base/R-3/) I downloaded: https://cran.r-project.org/src/base/r-3/r-3.2.2.tar.gzran after installing the dependency
Centos system initialization
Change User Password:
Passwd
Modify linux host name
Vi/etc/sysconfig/network
Vim/etc/host
The host name takes effect immediately.
Hostname
Selinux and Firewall
Redhat uses SELinux to enhance security. The method to
Install pomelo on CentOS
Windows, so it is installed on the centOS virtual machine, but also due to version issues.
First, the latest node version of the linux binary version is installed, and then npm instal pomelo-g reports a bunch of errors
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