CentOS
1.安装ntfs-3g:
(1)下载并安装源:
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
(2)yum install ntfs-3g
2.安装Open In Terminal:
yum install nautilus-open-terminal
3.安装smplayer:
yum install smplayer
4.安装evince:
yum install evince
5.安装jdk:
(1)yum install jdk-7u75-linux-x64.rpm
(2)修改/etc/profile文件配置环境变量:
#Set Java Environment
export JAVA_HOME="/usr/java/jdk1.7.0_75"
export CLASSPATH=".:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar"
export PATH="$JAVA_HOME/bin:$PATH"
(3)source /etc/profile
6.安装wine:
(1)安装源:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
(2) yum install wine
7.安装ati显卡驱动:
(1)rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
(2)rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
yum install yum-plugin-fastestmirror
(3)yum install kmod-fglrx
8.安装gedit:
yum install gedit
9.安装VMware:
(1)消除一些错误:
1>locate libpk-gtk-module.so
结果:/usr/lib64/gtk-2.0/modules/libpk-gtk-module.so
2>locate libcanberra-gtk-module.so
结果:/usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
3>vi /etc/ld.so.conf.d/gtk-2.0.conf
添加: /usr/lib64/gtk-2.0/modules/l
4>ldconfig
(2)安装 :
./VMware-Workstation-Full-11.1.0-2496824.x86_64.bundle
Key:1F04Z-6D111-7Z029-AV0Q4-3AEH8
(3)安装gcc:
yum install gcc
(4)安装dkms:
yum install dkms
10.安装Rhythmbox:
(1)yum install rhythmbox
(2)yum install gstreamer-plugins-ugly
(3)yum install python-mutagen
备注:修改mp3的标签:mid3iconv -e gbk --remove-v1 *.mp3
11.安装compiz-gnome:
yum install compiz-gnome
12.安装mysql
(1)yum install mysql
(2)yum install mysql-server
(3)yum install php-mysql
(4)vi /etc/my.conf:
在[mysqld]中加入:default-character-set=utf8
增加:
[mysql]
default-character-set=utf8
(5)service mysqld start
(6)grant all privileges on *.* to root@"%" identified by 'root';
(7)update user set password=PASSWORD("XXXXXXXXX") where user='root';
13.用户加入sudo组中:
(1)切换到root:su
(2)visudo
(3)在文件尾部加入:
xavier ALL=(ALL) ALL
14.安装ant:
(1)下载apache-ant-1.9.5-bin.tar.gz
(2)tar -zxvf apache-ant-1.9.5-bin.tar.gz
(3)cp -ri apache-ant-1.9.5 /usr/local/ant
(4)vi /etc/profile
#Set Ant Environment
export ANT_HOME="/usr/local/ant"
export PATH="$ANT_HOME/bin:$PATH"
(5)source /etc/profile
15.安装有道词典:
(1)从http://sourceforge.net/projects/yodao-free/files/python-dict/python-dict%201.0.1/下载:pyton-dict.1.0.1.zip
(2)unzip pyton-dict.1.0.1.zip
(3)将dict.py移动到/bin下,chmod 777 dict.py
(4)vi /usr/bin/youdao,输入:
python /bin/dict.py $@
(5)chmod 777 /usr/bin/youdao
(6)查询单词:youdao word