Assuming you already have sudo access to the user account, below, formally start the installation.First step, install git :For Ubuntu or Debian$ sudo apt-get install gitfor Centos 更新一下 yum 源yum list git 查看可安装版本yum install git 安装The second step is to
This article address http://comexchan.cnblogs.com/, author Comex Chan, respect intellectual property rights, reproduced Please indicate the source, thank you!Backing up the time zone configuration fileCp/etc/localtime/etc/localtime. ' Date
This article address http://comexchan.cnblogs.com/, respect intellectual property rights, reproduced Please indicate the source, thank you! Query disk information and plan for zoningExecute the following command to query the disk information:
Preparation before modificationWe modified the hostname to comexchan.cnblogs.com (this article was posted on http://comexchan.cnblogs.com/)Back up the related profile so that it rolls backCP /etc/sysconfig/network/etc/sysconfig/network. 'date
PWD View current work pathCD into a folder ... Switch to Parent directory/switch to the root directoryLs-l view in long format that-A view information for all subdirectories and files, hidden files can also be viewed-D View the properties of the
Some files on Windows we want to see the content, as long as there is a corresponding file of the viewing software, directly open can be seen, such as word files.On Linux, you can do this with some commands. The functions of these commands are
Commonly used are 4 groups: GIZP, tar, zip, bzip2, listed below:1. Compression command gzipCan only be used to compress files, not to compress directories.The original file will not be retained after compression.2, decompression command
Basic conceptsThe signal is a common concept in Linux, for example, we interrupt the foreground process by pressing CTRL + C, and ending the process through the kill command is done through the signal. The following is an example of CTRL + C for a
Getting Started with Linux-4File type tagging methods in 1:linuxLs-l command to view the details of a file, the file is preceded by a 10-character position, each of which represents a different meaning. The first character represents the type of
All files in Linux1. Kernel Object KobjectstructKobject {Const Char*name;//object's name structList_head entry;structKobject *parent;//upper layer of object structKset *kset;the Kset pointer to which the current object belongs
I am also a small white, previously published in Win QT program feel very easy,release, to the directory run EXE file, the hint of what DLL to copy what DLL to the directory is good. Linux is roughly the same, but there are some differences.1.linux
Ways to modify path under Linux1. Knock directly at the command linePath= $PATH:/path1:/path2:/pathnAfter the user has logged out, path reverts to the original. It's just a temporary effect.2. Modify ~ Directory bash_profile, CD vi. Bash_profile
GDB is a debugging tool under UNIX and Unix-like. The people who develop under Linux will not be unfamiliar, also have the corresponding debug version under the Arm-linux. Here are some of the things that are used in work to debug multithreading
Linux programming-process/thread-bound CPU-multi-process multi-thread programming
Intro-----
When writing server code, you can bind the current process to a fixed CPU core or thread to a fixed CPU core to improve the efficiency of the system
Magic secondary CT, magic secondary CT
When I want to write an automated script, I have to interact with each other, such as ssh or scp, And I am helpless until I know about reverse CT.
CT has a series of CT-send pairs, just like chatting.
Wrong
Linux automatic synchronization server time and linux synchronization serverIntroduction
When a Linux server runs for a long time, there will be some errors in the system time. This article will introduce how to synchronize the server time with the
MySQL master-slave synchronization principle deployment [Switch], mysql master-slave principle deployment
I. Role of master and slave:1. It can be used as a backup method.2. read/write splitting to relieve the pressure on a databaseIi. MySQL
Install Swift 2.2.1 In Ubuntu 14.04.4
Swift 2.2.1 was recently released and downloaded. It is an interactive and interesting programming language, applicable to iOS, OS X, tvOS, and watchOS. The syntax is concise and expressive, and applications run
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