CentOS System Upgrade Update basics

Source: Internet
Author: User
Tags centos

"System Update"

Download the update Kit profile from the Capital Education Center

Cd/etc/yum.repos.d
MV Centos-base.repo Centos-base.repo.default
Lftp ftp.kh.edu.tw
get/pub/appl/yum/centos6/fix-yum-centos6.sh
Exit

chmod 755 fix-yum-centos6.sh
./fix-yum-centos6.sh

Vi/etc/yum.repos.d/rpmforge.repo
At the bottom of the set, add two lines to increase the speed of the update.
proxy=http://proxy.edu.tw:3128
timeout=300

Perform an update

Yum Update
Yum Clean Packages

Tcp_wrappers Basic Settings

Vi/etc/hosts.deny
All:all

Vi/etc/hosts.allow
All:192.168.1.0/255.255.255.0:allow
Sshd:192.168.1.0/255.255.255.0:allow
Vsftpd:ALL:allow
Sendmail:ALL:allow

Date changed

Date-s 2009/07/08

Change Time

Date-s 10:58:30

When you can connect to the Internet, use an NTP.

Ntpdate watch.stdtime.gov.tw

Host name setting
vi/etc/hosts

127.0.0.1 localhost.localdomain localhost
163.32.xxx.88 sv.shsps.kh.edu.tw SV

:: 1 localhost6.localdomain6 Localhost6
2001:288:xxxx:1::88 sv.shsps.kh.edu.tw SV


Vi/etc/sysconfig/network

Networking=yes
Networking_ipv6=yes
hostname=sv.shsps.kh.edu.tw
Ipv6_autoconf=no
Ipv6_defaultgw=fe80::209:fff:fe85:f71e%eth0
gateway=163.32.xxx.254


recommended to reboot after modification

Sync;sync;sync;reboot

Phpsysinfo
Official website: http://phpsysinfo.sourceforge.net/

Installation steps

Cd
wget http://sourceforge.net/projects/phpsysinfo/files/phpsysinfo/2.5.4/phpsysinfo-2.5.4.tar.gz/download
Tar zxvf phpsysinfo-2.5.4.tar.gz-c/var/www/html/
cp/var/www/html/phpsysinfo/config.php.new/var/www/html/phpsysinfo/config.php
vi/var/www/html/phpsysinfo/config.php

$default _lng= ' TW ';
$default _template= ' classic '

Tm

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.