Basic configuration of CentOS5.2
Posted On 2008年10月5日星期日 at 时间: 19:01:00 by David Lu1. SELinux disabled & iptables -F
2. vi -> vim
3. chkconfig bluetooth cups iptables ip6tables setroubleshoot off
4. vi /etc/hosts
2. vi -> vim
3. chkconfig bluetooth cups iptables ip6tables setroubleshoot off
4. vi /etc/hosts
5. create yum repository:
cp -r /media/CentOS/ /var/ftp/pub/
cd /var/ftp/pub/CentOS/
rpm -ivh createrepo-0.4.11-3.el5.noarch.rpm
rpm -ivh createrepo-0.4.11-3.el5.noarch.rpm
createrepo -g ../repodata/comps.xml .
cd /etc/yum.repos.d/
vi CentOS-Server.repo
yum update
6. Chinese Support
7. install startdic dictionary:
mkdir /usr/share/stardict/dic
tar jxf stardict-*.tar.bz2 -C /usr/share/stardict/dic/
8. virtualization Support
9. vi grub.conf
reboot with xen-kernel
10. Support NTFS:
yum install gcc kernel-xen-devel -y
cd fuse-2.7.3 && ./configure && make && make install
cd ntfs-3g-1.2712 && ./configure && make && make install
vi /etc/fstab
mount -a
11. install wine:
cd wine-1.0
./configure
yum install flex bison libX11-devel freetype-devel -y
make depend && make && make install
( error occurd : lack of “lXext”. Installed group packages of “X Software Development” and “GNOME Software Development”, resolved )
12. online
/sbin/adsl-setup
wine drcomclient.exe
cd /root/.wine/drive_c/Program\ Files/PPOE\ Client/
wine ishare_user.exe
( error : need to import dll library in Windows. So just copy Packet.dll, WanPacket.dll, npptools.dll and mfc42u.dll in /media/system/WINDOWS/system32/ to `pwd`)
wine ishare_user.exe &
( attention: when run ishare program,you should in the default directory, or else it can not read the configuration file )
ifup ppp0