An old computer, a little bit older, used to do Linux testing, hardware problems, can not boot from the U disk, and there is no CentOS installation CD-ROM, There seems to be a problem with the previously downloaded centos6.0 DVD installation image,
Install Squid
Yum install squid-y
#-y represents automatic selection y, automatic installation
After installation, you can customize the HTTP proxy port, set the source IP white list, etc.
vi/etc/squid/squid.conf
#------Custom HTTP port:
# Squid
Binding Prerequisites: The chipset model is the same, and the NIC should have its own stand-alone BIOS chip.Operation Process:1, edit the virtual network interface configuration file, specify the network card IP (without this file we can copy from
Centos-yum Update Problem-103
When you install the software on the CentOS. Prompt for error information:
Could not retrieve Mirrorlisthttp://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error is
14:pycurl ERROR 6-"couldn ' t
This tutorial is currently the safest tutorial, if you are novice please follow the steps of the tutorial strictly, if there is a certain basis for people can selectively skip certain paragraphs modify port configuration
Run
First, install the compilation tool and the library file
Yum-y install make zlib zlib-devel gcc-c++ libtool OpenSSL openssl-devel
second, the first to install PCRE
PCRE function is to let Ngnix support Rewrite function.
1, download PCRE
Previously we connected the CentOS system remotely using the server-side username and password via SSH. This approach is not secure enough and it is recommended to use key authentication in order to improve the security of connection access.The
Ensure that python is installed. Most installation failures are caused by the low Python version. Before installation, upgrade python to http://www.tomtalk.net/wiki/python.
[Root @ SNDA-192-168-15-161 ~] # Python-VPython 2.7.3Start installation:
1
When centos is started, an error is prompted:
1 /dev/mapper/VolGroup-lv_root contains a file system with errors,check forced. 2 /dev/mapper/VolGroup-lv_root: 3 Inodes that were part of a corrupted orphan linked list found. 4 /dev/mapper/VolGroup-lv_
Chrony has two core components: chronyd, which is a daemon. It is mainly used to adjust the system time and time server synchronization in the kernel. It determines the ratio of the increase or decrease time of the computer and adjusts the
To create a centos5.9-x86_64 USB flash drive,
Mount a 16g USB flash drive to the Virtual Machine of VMware Workstation:
Check the current disk status
Fdisk-l
Partition
Fdisk/dev/SDB
D # Delete existing partition-repeat as necessary
N # New
When we use the centos system, problems may occur frequently in the time zone, and sometimes errors may occur after the change. Next we will learn a way to change this situation. If you are not using centos, run the yum install NTP command.
Then:
Enable SSL for centos 5Install mod_ssl firstYum install mod_sslAfter completionThere is an SSL. conf file under/etc/httpd/CONF. d/. OpenIt mainly looks at the certificate and key locationSslcertificatefile/etc/pki/tls/certs/localhost.
The following content is reproduced from http://starsliao.blog.163.com/blog/static/89048201041553024170/
Wget http://www.apachefriends.org/download.php? Xampp-linux-1.7.3a.tar.gz
Apache 2.2.14, MySQL 5.1.41, PHP 5.3.1 & pear + SQLite 2.8.17/3.6.16 +
CentOS 6.3 static IP settings tutorial
There is a computer installed with CentOS6.3 in the LAN. when the power is down or restarted, its IP address will be re-allocated by DHCP. If you want to remotely control the computer, you have to turn on the
Remote ControlCentOSDesktop?
How to use windows Remote ControlCentOSDesktop?
1. Check whether the local machine is installedVnc(CentOS5 installed by defaultVnc)
Rpm-q vnc-server
If the result is:
PackageVncIs not installedVncServer-4.1.2-14.e15_3.1
1. Check whether the Redhat yum series package exists in the installed package.# Su root# Rpm-qa | grep yum
2. If yes, delete them all one by one.# Rpm-e -- nodeps component package name
3. Install the Centos upgrade package# Su root# Rpm-Uvh --
Symptom:
Ping IntranetPing the Internet IP address. The domain name cannot be normal. The error "connect: Network is unreachable" is returned.
The command for adding a gateway to the Linux network configuration is displayed inadvertently
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