CentOS Yum Source has no git, can only compile their own installation, now record the contents of the compilation installation, left to their own memo.
Make sure that the dependent packages are installed
Yum Install CurlYum Install Curl-develYum
The first thing to do after installing a system is to configure the network. Modified parameter profiles and instructions for observing results of important startup scriptsIP-related parameters/etc/sysconfig/network-scripts/ifcfg-eth0 Ifconfig
Step1. System Mount Data diskDf-h, the data disk is not visible.Fdisk-l, you can see the data diskExecute the "fdisk-s 56/dev/xvdb" command to partition the data disk;According to the prompts, enter "n", "P" "1", two times carriage return, "Wq", the
One, crack root password solution
The first is how to retrieve the root password under CentOS:
We first install a CentOS for testing:
Select the feature software to install
Installation Complete
Beginning
My server defaults to minimal installation, so there is no vncserver. Install one using Yum.
# yum Install Tigervnc-server
Then start up:
# vncserver:1
Try to use the Vncviewer connection under Windows, and find that the same server as the
First download the CentOS operating system ISO, you can go to the official website, or to the nearby mirror open source server download. Here, in version 5.3, for example, there are two forms of downloading files, one is CD-ROM version, to six disk,
Method One,
Edit/etc/rc.d/rc.local File
Format is program name program path
such as a.sh/home/a.sh
The second method
Just replace the your_prog_name with the name of your actual script or execution file, and set the Prog_path to a specific path.
Set up startup Coreseek service, here must add –pidfile file, lest the shell from start cannot find process PID.
The code is as follows
Copy Code
Vi/etc/rc.local (or
Whim, want to learn python, I heard it is good to do reptiles. Starting with the running environment, Python is already built into the CentOS, but the version seems older and the version is 2.4.3 through the PYTHON-V command. The current version of
Last week, with the company's server test, a server connected to VNC, always black screen. Today in the teaching section with their own server to find a solution.
My server defaults to minimal installation, so there is no vncserver. Install one
Varnish is a high-performance open-source HTTP accelerator, Norway's largest online newspaper Verdens Gang (http://www.vg.no) using 3 units varnish replaced the original 12 squid, performance is even better than before. Visible varnish is a rather
In the test, files must be transferred between two virtual machines. The scp command is first generated, and the result is as follows:-Bash: scp: command not foundIf you use the yum install scp command for installation, the result is:No package scp
# Python-VPython 2.6.61. Download the Python-2.7.3 # Wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz22. Extract # Tar-jxvf Python-2.7.3.tar.bz23. Change the working directory# Cd Python-2.7.34. Installation#./Configure# Make all# Make
Dockerfile contains all commands required to create an image. Based on the commands in Dockerfile, we can use the Docker build command to create an image. Simplify deployment by reducing the process of creating images and containersThe basic syntax
1. View the current system running level[Root @ iZ25fcztyabZ ~] # RunlevelN 32. Check whether the current system has installed and not installed components.[Root @ iZ25fcztyabZ ~] # Yum grouplist | moreLoaded plugins: securitySetting up Group
Install snmp on the monitored sideYum-y install net-snmp-develInstall and configure snmp on the monitored sideVim/etc/snmp/snmpd. confCom2sec notConfigUser default publicChange to (cacti host IP address)Com2sec notConfigUser 192.168.0.195
Check whether lm exists in cpuinfo. If lm exists, 64-bit is supported. lm means long mode. The specific command is as follows:Cat/proc/cpuinfo | grep flagsCheck whether the output contains lm characters.OrCat/proc/cpuinfo | grep flags | grep lm | wc-
Record your own installation processFirst install the gcc-c ++ compiling environment and openssl The code is as follows:Copy code Yum install gcc-c ++ openssl-develWget http://nodejs.org/dist/node-v0.10.12.tar.gz (latest nodejs download
After countless attempts over the past six months, we have tested many methods for installing the software on the internet. The following is a record of successful methods.One-click L2TP installation packageThe one-click installation package of Zed
InstallThe rarfile is not supported in liunx. You need to install winrar in liunx as follows: The code is as follows:Copy code Wget http://www.rarsoft.com/rar/rarlinux-4.0.1.tar.gzTar-zxvf rarlinux-4.0.1.tar.gzCd
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