【摘录】Thinkpad T410i-2516A21 安装Ubuntu10.0.4记录

http://blog.csdn.net/collonn/archive/2010/10/10/5931640.aspx

先赞赏一下Ubuntu,对Thinkpad的支持是很好的,一张600多M的CD盘,在连网的情况下,30分钟,过驱动都一起安装好了。
-------------------------------------------------------------------------------------------------
1:CHM
(1)firefox plugin "chm reader"
(2)sudo apt-get install chmsee
-------------------------------------------------------------------------------------------------
2:Fcitx(请参考8:fcitx-utf8)
(1)you must use chinese system
(2)sudo apt-get remove ibus
(3)sudo apt-get install fcitx
(4)im-switch -s fcitx -z default  #设为默认输入法,一般不需要,除非系统有多个输入法
(5)~/.fcitx/config  #旧版位置,Ubuntu 10.04 源的版本
   gedit config
   将第一行的*替换成sans-serif
(6)终端,运行gconf-editor ,依次打开:
   apps->gedit-2->preferences->encodings
   在右侧的auto- detected上双击,确保UTF-8在第一位,保存退出,完成
more --> http://wiki.ubuntu.org.cn/Fcitx
-------------------------------------------------------------------------------------------------
3:Rar
(1)sudo apt-get install rar
(2)sudo ln -fs /usr/bin/rar /usr/bin/unrar
-------------------------------------------------------------------------------------------------
4:3D desktop
sudo apt-get install compizconfig-settings-manager
more --> http://forum.ubuntu.org.cn/viewtopic.php?f=94&t=140531
-------------------------------------------------------------------------------------------------
5:Wireless driver(我的自动就安装好了,如果你的无线网卡不可用,则参照下边的链接说明来安装)
make;
make install;
reboot and enjoy it
see: http://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T400#Wireless
see: http://www.thinkwiki.org/wiki/ThinkPad_11b/g/n_Wireless_LAN_Mini-PCI_Express_Adapter_II
-------------------------------------------------------------------------------------------------
6:Gnome(模仿MAC的小工具栏) 或 Docky
应用程序-->Ubuntu软件中心-->搜索Gnome Do安装后,在应用程序-->附件中,可以找到
-------------------------------------------------------------------------------------------------
7:linux1g1g
从http://www.1g1g.com上下载1g1g for linux,安装后,打开终端输入:nohup linux1g1g &,再按几次回车就可以了
whereis linux1g1g #查找可执行文件linux1g1g,也可以用location linux1g1g,还可以用find / -name '*1g1g*'
-------------------------------------------------------------------------------------------------
8:fcitx-utf8
(1)sudo apt-get remove ibus #删除原有的ibus输入法
(2)从http://code.google.com/p/fcitx/downloads/list上下载fcitx-utf8的deb版本,并直接双击安装。
(3)如果系统有多个输入法,打开终端输入:im-switch -s fcitx -z default
(4)fcitx -c #此命令会创建一个可配置文件,路径是:~/.config/fcitx-utf8/config,
   #可以修改中英文快速切换,开启/禁止输入法,设置默认皮肤等
(5)sudo gedit /usr/share/fcitx/data/tables.conf
   #编辑此文件,把你不需要开启的码表全部删除,只留下“五笔拼音”就够用了
more --> http://wiki.ubuntu.org.cn/Fcitx
-------------------------------------------------------------------------------------------------
9:JDK And Tomcat
(1)下载jkdxx.bin并执行
(2)sudo gedit /etc/profile #在最后加入(与fedora的配置是不太相同的)
   #config java and tomcat environment
   JAVA_HOME=/software/jdk1.6.0_01
   CATALINA_HOME=/software/apache-tomcat-6.0.20
   export PATH=$JAVA_HOME/bin:$CATALINA_HOME/bin:$PATH
   export CLASSPATH=.:$JAVA_HOME/lib:$CATALINA_HOME/lib:$CLASSPATH
-------------------------------------------------------------------------------------------------
10:MadEdit
see:http://madedit.sourceforge.net/wiki/index.php/Main_Page
click Download, select deb version,
after you install it, you can get it at: 应用程序-->附件-->MadEdit
-------------------------------------------------------------------------------------------------
11:MySQL
(1)应用程序--Ubuntu软件中心-->搜索libncurses5-dev,安装
(2)----------------------->搜索g++,安装
(3)download mysql5.1参考手册,按照目录找到:
   安装MySQL-->使用源码分发版安装MySQL-->源码安装概述(典型配置选项)
   需要注意的是,从MySQL5.1开始默认不会支持innodb,需要显示声明编译
(5)实践步骤
shell> sudo groupadd mysql
shell> sudo useradd -g mysql mysql
shell> tar zxvf mysql-VERSION.tar.gz
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql \
--with-charset=utf8 \
--with-collation=utf8_general_ci \
--with-extra-charsets=all \
--with-plugins=innobase
shell> #等待,当你看到 Thank you for choosing MySQL!,说明上步已操作成功
shell> sudo make
shell> sudo make install

shell> sudo cp support-files/my-medium.cnf /etc/my.cnf

shell> cd /usr/local/mysql
shell> sudo bin/mysql_install_db --user=mysql --basedir=/usr/local/mysql
shell> chown -R root  .
shell> chown -R mysql var
shell> chgrp -R mysql .
----------------------------------------------
start and stop mysql:
start:
shell> sudo bin/mysqld_safe --user=mysql &
shell> sudo bin/mysqld_safe &
注意:如果你不用sudo,是以登录linux主机的用户身份运行mysql的,这样是没有权限在/usr/local/mysql/var
下执行相关操作的,所以你也不可能启动mysql,你也可以这样启动mysql:
shell> sudo su - mysql
shell> bin/mysqld_safe &
stop:
shell> bin/mysqladmin -uroot -p shutdown
----------------------------------------------
config my.cnf
[mysqld]
default-storage-engine=INNODB
default-character-set=utf8
----------------------------------------------
如果遇到Access denied for user ''@'localhost' to database错误
更改root的登录密码(确保mysql服务已启动)
bin/mysqladmin -uroot password sa
-------------------------------------------------------------------------------------------------
12:openssh-server
(1)sudo apt-get install openssh-server
(2)ps -ef | grep sshd #查看是否已启动
(3)/ etc/ssh/sshd_config #配置文件
    远程登录时,输入用户名后等很长时间才提示输入密码。这是由于sshd反查客户端的dns信息,可以禁用这个特性
    找到GSSAPI options,将下面两行注释掉:
    #GSSAPIAuthentication yes
    #GSSAPIDelegateCredentials no
(4)sudo /etc/init.d/ssh restart #重启
-------------------------------------------------------------------------------------------------
13:桌面壁纸随机切换(移动硬盘)
gnome_wallpaper_slideshow.tar.gz
双击直接运行,选择你的图片目录,确定,就可以了,很好用,网上搜不到的朋友,请发邮件给我collonn@126.com
-------------------------------------------------------------------------------------------------
14:starDict(星际译王)
(1)下载你喜欢的词典後只需把它解压到 ~/.stardict/dic 或  /usr/share/stardict/dic
more: http://reciteword.cosoft.org.cn/stardict-iso/stardict-dic/
-------------------------------------------------------------------------------------------------
15:wine(在linux上运行windows程序)
(1)sudo add-apt-repository ppa:ubuntu-wine/ppa
(2)sudo apt-get update
(3)sudo apt-get install wine
另:在ubuntu10.0.4以上版本,你可以在系统-->系统管理-->软件源-->其它,中添加新的软件源
然后在“ubuntu软件中心”中,搜索wine,安装就可以了
不过,既然是用linux,就不要再用什么wine了,总会找到linux平台下相应的替换软件
实在不行,就装个VMware for linux也比wine强
以上只是个人建议。
-------------------------------------------------------------------------------------------------
16:Eva qq和LumaQQ
最终的软件更新时间都在2006,可能已经停止更新开发了
建议还是用qq官方的linux for qq版本吧
-------------------------------------------------------------------------------------------------
17:emesene(MSN)
直接从Ubuntu软件中心安装就可以了,挺好用的
-------------------------------------------------------------------------------------------------
18:Music Player
(1)Rhythmbox
    A:关于部分信息乱码的解决方案
    sudo apt-get install python-mutagen
    进入MP3存放的文件夹然后运行 mid3iconv -e GBK *.mp3
    B:坚持从google音乐下载歌曲
(2)audacious(推荐,如果无法播放mp3,就先安装Rhythmbox,随便打开个mp3文件,安装插件后,就可以了)
-------------------------------------------------------------------------------------------------
19:thinkpad 中键滚动 for Ubuntu 10.04(Ubuntu10.10)
(1)新建/home/Mouse_Wheel.sh文件(位置由你定),并加入以下内容
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation" 1
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Button" 2
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Timeout" 200
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Axes" 6 7 4 5
(2)改变文件的属性
sudo chmod u+x Mouse_Wheel.sh
(3)系统-->首选项-->启动应用程序, 点击“添加” name:输入“Mouse_Whell”,Command Box输入“/home/Mouse_Wheel.sh”
(4)新建/etc/hal/fdi/policy/mouse-wheel.fdi,并加入以下内容
<?xml version="1.0" encoding="UTF-8"?>
 <match key="info.product" string="TPPS/2 IBM TrackPoint">
 <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
 <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
(5)重新启动,OK

 

转载于:https://www.cnblogs.com/IamEasy_Man/archive/2010/12/16/1908044.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值