The use of GCC in Linux to compile C programs, using g++ to compile C + + programs, using GDB to debug the program, these tools need to install themselves, then how should you configure these tools?First, enter VI on the command line to view the VIM
The first step: Back up the original repo file, develop good habitsMV Rhel-source.repo Rhel-source.repo.bakStep two: Download the latest Centos-base.repo to/ETC/YUM.REPOS.DWget-o/etc/yum.repos.d/centos-base.repoHttp://mirrors.aliyun.com/repo/Centos-6
1. Through the Package management toolIf it is installed through the Package management tool, uninstall it with the Package management toolYum Remove Nodejs npm-y2. ManualIf it is manually installed: Install after the official downloadEnter the path
First step: Install Nginx's dependent environment first1, installation pcre-devel yum-y install Pcre-devel #支持正则的pcre模块 such as installation or manual installation will be error2. Installing OpenSSL yum-y install OpenSSL openssl-develStep Two:
First, IntroductionNFS (Network file system/):1), set up file sharing between Linux systems (Linux and Windows intermediate file sharing using Samba services);2), NFS is only a file system, itself does not have the transmission function, is based on
Assume that from a host SSH login B host, with the secret key instead of the password, the steps are as follows:1. Execute on Host A: ssh-keygen-t RSAAll by default, without entering a password, generate two
1. Environment deploymentInotify-master 10.10.6.208Inotify-slave 10.10.6.1492, two servers are installed RsyncYum Install-y rsync3. Inotify-slave DeploymentCreate a new rsync user and module catalog and change its user groupsUseradd
The earliest use of centos5 installed cobbler, very useful, now CentOS has reached 7, with the Times, try to install a cobbler in this centos7, installed in their own notebook virtual machine, easy to work in the back of the time may need to use the
1. Using the command line to achieve screenshotscapture the entire screen : $ gnome-screenshot650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/932784/201605/932784-20160524205319147-533443582. PNG "width=" 404 "height=" 241 "style="
1-In the Boot Grub menu, select the Edit option to start:2-Press the keyboard e key to enter the editing interface:3-Find the line for Linux 16 and change the RO to RW init=/sysroot/bin/sh:4-Now press CONTROL+X, start with single user mode (there
SSH password-free login to use public and private keys. You can use Ssh-keygen to generate a public/private key pair under Linux.1. Generate a public/private key pair under a machine$ssh-keygen-t rsa-p "'-P for the password,-p ' means the empty
CentOS system Start-up processPOST--Boot Sequence (BIOS)--Boot Loader (MBR)--Kernel (ramdisk)--Rootfs (readonly)--Switchro OT--/sbin/init (CentOS 5,6,7 different)--set the default run level--run the system initialization script, complete the system
Unlike Windows, Linux does not restrict access to anything by the root user, so you can put each file in a tar file in a single partition.To switch to the root directory using the root userThen, use the following command to back up the complete
CentOS after installing the desktop, the graphical interface is set to the default mode, to the PC memory pressure, so you want to modify the system's default boot mode for the command interface, and do not start the graphical interface. Here's how:1
Centos1. BackupMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup2, download the new Centos-base.repo to/etc/yum.repos.d/CentOS 5Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-5.repoCentOS
The graphical interface allows you to enter the command-line window with CTRL+ALT+F2* If you use a virtual machine, there may be a problem that can not go in, because the hotkey conflict* Workaround: Modify the hotkey on the line Edit→parameter→hot
1. Disk partition Format descriptionThe Linux partition differs from the Windows,linux under the hard drive device name (IDE hard disk is HDX (x is from a-d) because the IDE hard disk is up to four, the SCSI,SATA,USB hard disk is SDX (x is a-Z), the
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