General article:
First, look at the process with PS by using the following methods:
The code is as follows:
$ ps-ef
......
Smx 1822 1 0 11:38? 00:00:49 gnome-terminal
Smx 1823 1822 0 11:38? 00:00:00 Gnome-pty-helper
Smx 1824 1822 0 11:38 pts/0
Standalone host
Rm-rf/etc/localtime
Ln-s/usr/share/zoneinfo/asia/shanghai/etc/localtime #修改时区到东8区.
Date-r #查看的时区设置.
Next, adjust the system time to time server synchronization
The Debian system installs the NTP school pack:
The code is as
Line breaks are different for Windows and Linux. The runtime on a generic operating system automatically determines the wrapping format for text files. If a program runs on Windows, it generates CR/LF text files, while running on Linux generates a
The GNU C Library (GLIBC) is the GNU implementation of the standard C library. GLIBC is a key component of the GNU tool chain for use with binary tools and compilers to generate user-space applications for the target schema.
Some Linux programs may
Crontab is a scheduled task in Linux, but the task plan before the persecution using the ENV environment variable is not working, let's look at how to solve the crontab problem caused by the ENV environment variable.
A friend said that he wrote
You can count the current number of connections by following this command
Netstat-n | awk '/^tcp/{++s[$NF]} end {for (a in S) print A, s[a]} '
This statement returns the following results
1.time_wait 346
2.FIN_WAIT1 85
3.fin_wait2 6
This article mainly introduces the concurrent queue classes in Linux, with the following features: Concurrent blocking queues, time-out limits, size limits Design concurrent queues code as follows: #include T boundedblockingqueue<t>::p op
Today's own virtual machine disk is completed, so I would like to add a disk, when mounted to find an error you must specify the filesystem type. (Note: My system environment is lcentos6.3 installed in VirtualBox virtual machine)
It turns out that
Rsync is a server and server This synchronization tool, usually we can use rsync to real-time data synchronization operation, I will look at the installation of Rsync synchronization software tutorial.
Installation
Rsync-3.1.0.tar.gz#tar ZXVF
Mount Windows partitions
1. Manual Mount
Windows partitions can also be read in Linux, including the FAT32 format and NTFS format. First, you need to know the name of the hard disk partition under Linux. For example, the C disk under Windows is
1, Usermod, Chown, and other modified files of the owner, belong to the group, in order to achieve the modification of file access rights. viewing with IDs
2, chattr + +-filename makes the file or directory can only be read can not be deleted, or
1, Print working directory: PWD
(That is, your main work environment, such as in the Cygwin input pwd, the reality is/home/administrator)
Win is the same as Linux
2. Print Computer name: hostname
3, create a directory: mkdir
The difference
The network filesystem (nfs,network file system) is a mechanism by which partitions (directories) on a remote host are mounted over the network to the local system, which enables users to share partitions (directories) on the remote host, as if they
After the rsync server configuration is over, the next step is to issue an rsync command on the client to enable the server-side files to be backed up to the client. Rsync is a very powerful tool, and its commands have many feature options, and
Linux How to set environment variables, summed up today, issued to share with you, I hope that the learning of everyone to help, do not say, see how the specific operation of ...
1. Summary background
Under Linux, the application is downloaded and
Cloud Lock Linux version 32-bit download installation method:
1. Download Cloud lock Linux version 32 bit
wget http://download.yunsuo.com.cn/yunsuo_agent_32bit.tar.gz
2. Extract files, get installation package files:
Tar zxvf
Linux using cobbler can quickly establish a Linux network installation environment, greatly reducing the Linux network installation technology threshold, then how to install the Linux system cobbler it?
Introduction to Cobbler
Cobbler is an open
Linux system startup processPc:os (Linux)Post-->bios (Boot Sequence)-->mbr (bootloader,446)-->kernel-->initrd--> (ROOTFS)/sbin/init (/etc/ InittabThe service started differently:Operating level: 0-60:halt1:single user mode, directly as an
650) this.width=650; "alt=" "GitHub" image search Result "src=" http://www.aha.io/assets/integration_logos/ Github-bb449e0ffbacbcb7f9c703db85b1cf0b.png "" 491 "height=" 182 "/> GitHub every time Pull/push code to require the user to push code is
Article I.On a Linux host (SSH client),SSH keys via Ssh-keygen# ssh-keygen-t RSA (three consecutive returns, i.e. locally generated public and private keys, no password set)The. SSH directory in the current user home directory of the Linux host,
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