1.create md5 password with grub
#grub-md5-crypt
Password:
Retype password:
$1$hQxw5/$VV.DSdXzWeHQjwrumXB9D/
2.modify the grub config
#vi /boot/grub/grub.conf
add new line below
password --md5 $1$hQxw5/$VV.DSdXzWeHQjwrumXB9D/
3.reboot system to confirm password
2009年6月29日 星期一
install livan repository
1.install livan.repo with command line
#su -c "rpm -ivh http://rpm.livna.org/livna-release.rpm"
2.install freshrpm.repo with command line
#sudo rpm -ivh freshrpms-release-1.1-1.fc.noarch.rpm
#su -c "rpm -ivh http://rpm.livna.org/livna-release.rpm"
2.install freshrpm.repo with command line
#sudo rpm -ivh freshrpms-release-1.1-1.fc.noarch.rpm
Install adobe reader
1.get adobe reader bin file
#wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1./en/AdbeRdr9.1.1-1_i486linux_enu.bin
2.change file mode to execute
#chmod 777 AdbeRdr9.1.1-1_i486linux_enu.bin
3.install adobe reader
#sudo ./AdbeRdr9.1.1-1_i486linux_enu.bin
#wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1./en/AdbeRdr9.1.1-1_i486linux_enu.bin
2.change file mode to execute
#chmod 777 AdbeRdr9.1.1-1_i486linux_enu.bin
3.install adobe reader
#sudo ./AdbeRdr9.1.1-1_i486linux_enu.bin
2009年6月28日 星期日
Install java (openjdk)
1.Install java-jre-1.6
#yum install java-1.6.0-openjdk-plugin
2.Install java-jdk-1.6
#yum install java-1.6.0-openjdk-devel
#yum install java-1.6.0-openjdk-plugin
2.Install java-jdk-1.6
#yum install java-1.6.0-openjdk-devel
Install new add-on on firefox
1.Install flash plugins
#yum install flash-plugin
2.Install flahs-audio playback
#yum install libflashsupport
#yum install flash-plugin
2.Install flahs-audio playback
#yum install libflashsupport
install the Fusion repository and mplayer
1.Install fusion repository
#su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
2.Install mplayer-gui
#yum install -f mplayer-gui
3.Install xine player
#yum install -f xine
4.Install xine extra codes
#yum -y install xine-lib-extras-nonfree
5.Install vlc player
#yum -y install vlc
6.Install Dvd-Playback
#yum -y install libdvdread
7.Install windows codes
#wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
#tar -jxvf all-20071007.tar.bz2
#su -c 'mkdir -p /usr/local/lib/codecs'
#su -c 'cp all-20071007/* /usr/local/lib/codecs'
#su -c 'ln -sf /usr/local/lib/codecs /usr/lib/codecs && ln -sf \
/usr/local/lib/codecs /usr/local/lib/win32 && ln -sf /usr/local/lib/codecs '
8.Install mp3-playback
#su -c 'yum -y install gstreamer-plugins-ugly libmad libid3tag id3v2'
#su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
2.Install mplayer-gui
#yum install -f mplayer-gui
3.Install xine player
#yum install -f xine
4.Install xine extra codes
#yum -y install xine-lib-extras-nonfree
5.Install vlc player
#yum -y install vlc
6.Install Dvd-Playback
#yum -y install libdvdread
7.Install windows codes
#wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
#tar -jxvf all-20071007.tar.bz2
#su -c 'mkdir -p /usr/local/lib/codecs'
#su -c 'cp all-20071007/* /usr/local/lib/codecs'
#su -c 'ln -sf /usr/local/lib/codecs /usr/lib/codecs && ln -sf \
/usr/local/lib/codecs /usr/local/lib/win32 && ln -sf /usr/local/lib/codecs '
8.Install mp3-playback
#su -c 'yum -y install gstreamer-plugins-ugly libmad libid3tag id3v2'
2009年6月26日 星期五
2009年6月25日 星期四
install phpmyadmin
1.Install phpmyadmin
#sudo yum install phpmyadmin
2.add host record
#sudo vim /etc/hosts
172.16.1.10 ipsec1 ipsec1.microdomain
3.modify apache security access
#sudo vi /etc/httpd/conf.d/phpMyAdmin.conf
Alias /phpMyAdmin /usr/share/phpMyAdmin
order deny,allow ---> order allow,deny
deny from all ---> allow from all
4.setting phpmyadmin authorized
#sudo vim /etc/phpMyAdmin/config.inc.php
$cfg['Servers'][$i]['user']='' --> username for mysql
$cfg['Servers'][$i]['password']='' --> password for mysql
5.reload apache setting
#sudo service httpd reload
#sudo yum install phpmyadmin
2.add host record
#sudo vim /etc/hosts
172.16.1.10 ipsec1 ipsec1.microdomain
3.modify apache security access
#sudo vi /etc/httpd/conf.d/phpMyAdmin.conf
Alias /phpMyAdmin /usr/share/phpMyAdmin
order deny,allow ---> order allow,deny
deny from all ---> allow from all
4.setting phpmyadmin authorized
#sudo vim /etc/phpMyAdmin/config.inc.php
$cfg['Servers'][$i]['user']='' --> username for mysql
$cfg['Servers'][$i]['password']='' --> password for mysql
5.reload apache setting
#sudo service httpd reload
install mysql server
1.Install mysql client and mysql server
#sudo yum install mysql mysql-server
2.Start mysql dameon
#sudo /etc/init.d/mysqld start
Initializing MySQL databases:..............
3.Confirm mysql server status
#mysql -u root
mysq>select version
4.Setting runlevel 2345 mysql run
#chkconfig --level 2345 mysqld on
5.Check runlevele mysqld status
#chkconfig --list mysqld
#sudo yum install mysql mysql-server
2.Start mysql dameon
#sudo /etc/init.d/mysqld start
Initializing MySQL databases:..............
3.Confirm mysql server status
#mysql -u root
mysq>select version
4.Setting runlevel 2345 mysql run
#chkconfig --level 2345 mysqld on
5.Check runlevele mysqld status
#chkconfig --list mysqld
yum
1.list all packages to update
#yum check-update
2.install all update packages
#yum update
3.list all packages to install
#yum list
4.install single package
#yum install k3b
5.Search single package
#yum search openvpn
6.Find some infomation about package
#yum info openvpn
7.Remove installed package
#yum remove openvpn
8.List rpms for you installed from repos
#yum list extras
9.Install speeds up the yum repoes
#su -c 'yum install yum-presto'
10.Install yum graphical user interface
#yum -y install yumex
#yum check-update
2.install all update packages
#yum update
3.list all packages to install
#yum list
4.install single package
#yum install k3b
5.Search single package
#yum search openvpn
6.Find some infomation about package
#yum info openvpn
7.Remove installed package
#yum remove openvpn
8.List rpms for you installed from repos
#yum list extras
9.Install speeds up the yum repoes
#su -c 'yum install yum-presto'
10.Install yum graphical user interface
#yum -y install yumex
network setting
1.add new eth0
#sudo vim /etc/sysconfig/network-script/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
NETWORK=192.168.1.0
ONBOOT=yes
#sudo vim /etc/sysconfig/network-script/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
NETWORK=192.168.1.0
ONBOOT=yes
訂閱:
文章 (Atom)