Environment Description:Linux version: CentOS6.2 jdk:jdk-7u60-linux-x64.tar.gz1, download jdk-7u60-linux-x64.tar.gz, I was put in the ~/tool directory2. Unzip the JDK to/usr/lib/java-1.7.0/7u60/, command: sudo tar-zxvf
Brief introduction1. System power-on reset stage2, BIOS boot, self-test3. Loading MBR Master boot program4. Load GRU Secondary boot program5. Load operating system kernel6, the first process running the operating system initThe first step, the
PWD View current pathCd.. Indicates a post-level directory levelCd. Represents the current directoryCd.. /.. Back to Level TwoCD indicates access to the current home directoryDate returns the current specific time-s modification timeCal returns
#1 View Hardware product namesDmidecode |grep ' Product Name '#2 View the motherboard serial numberDmidecode |grep-i ' serial number ' |grep CN#3 View CPU Modelsgrep name/proc/cpuinfo#4 See the number of CPUs (cores):grep ' physical ID
First, the initial knowledge of SEDIn the process of deploying OpenStack, you will have access to a large number of SED commands, such as# Bind MySQL service to all network interfaces. / etc/mysql/my.cnf So what does this order mean? The next
Introduced:The OD (octal dump) command can display files or streams in eight, decimal, hexadecimal, and ASCII codes, which are useful for accessing or visually inspecting characters in a file that cannot be displayed directly on the terminal.Grammar:
Common Linux EndpointsGnome-terminal (Gnome Standard)Xfce4-terminal (XFCE4 Standard)Lxterminal (LXDE Standard)Konsole (KDE standard)The first 3 are GTK interface style, Konsole is the QT interface style, of course, their core is based on Gnu/bash
chmod: Changing PermissionsMethod 1: use a number to change the permissions of a file or pathThe permission scores are as follows:R:4W:2X:1Identities include:User:u, Group:g, Other:oFor example:-rwxrwx---The permissions on behalf of the file
#include #include #include #include #include int main (void){#define STDOUT 1int nul, oldstdout;Char msg[] = "This is a test";/* Create a file */nul = open ("Dummy.fil", O_creat | O_rdwr, S_iread | S_iwrite);/* Create a duplicate handle for
Here are just some of the usual, probably not all, welcome additionsCD Switch DirectoryCd.. Switch to upper-level directoryCD-Switch to the last directoryCD ~ Switch to user home directoryPWD View your current directorymkdir Creating a new directory-
1. RoleThe last command in a Linux system is a display of recent user or terminal logins, and its use rights are for all users. Using the last command to view the logof the program, the administrator can tell who has or attempted to connect to the
Search for files under Linux Find, which, Whereis, locate:-which look for "Execute file"---a lists all the commands that can be found, not just the first command name found-Whereis looking for a specific file Whereis [-BMSU] file or directory-B:
Linux Resource limit level summary and linux level Summary
Linux resource restrictions can be divided into system-level and kernel-level:
First: system-level restrictions:
/Etc/security/limits. conf
The limits. conf format is as follows:Username | @
Android stuido Chinese character display box in ubuntu, androidstuidoInstall windows fonts in Ubuntu 12.04 LTS
The Chinese font in ubuntu seems a little uncomfortable, so Baidu record how to install the windows Font in ubuntu 12.04.
Step1.Copy a
Centos6.3 install openfire
Operating System Centos6.3
JDK1.7
Openfire3.9.3
1. Download The openfire installation package
Http://www.igniterealtime.org/downloads/index.jsp
2. Determine that everything in JDK is normal (including environment
Dstat, the latest tool for performance monitoring in CentOS
Significance of dstat:
During performance testing, we usually need to check a lot of data, including CPU usage, memory usage, network conditions, load average, process information, and disk
Linux --- file descriptor and redirection1. stdin, stdout, and stderr are often used when writing scripts, because the output information may be one of the above.A file descriptor is an integer associated with an opened file or data stream. File
Use logwatch to monitor log files in Linux
Linux operating systems and many applications create special files to record their running events. These files are often called "logs ". These system logs or specific application log files are essential
Centos 64-bit mounting nginx-1.6.2
Centos 64-bit for linux
Step 1: Download the corresponding version from http://nginx.org/download/( or wget http://nginx.org/download/nginx-1.5.9.tar.gzdirectly on linux)
Step 2: unzip tar-zxvf
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