Thursday, March 29, 2007

我的Linux安装及配置过程

硬件环境:
CPU:AMD 3600+
内存:1G
显卡:7600GS
软件版本:
Fedora 6
下面是一些安装过程中碰到的问题及安装完后进行的一些简单配置:
1,安装过程中提示:
MP-BIOS bug:8254 timer not connected to IO-APIC
...
解决方法:在boot>提示符后键入
linux noapic
成功安装。
2,进入linux的KDE环境,以非root用户登录。
3,打开Firefox,下载Firefox2.0.3,解压到/opt/目录下, 我的Firefox安装目录是/opt/firefox
4,运行 firefox如下
cd /opt/firefox
./firefox
提示错误缺少 libstdc++.so.5
yum安装
yum install libstdc++.so.5
5,配置sudo,切换到root身份.
emacs /etc/ sudoers
找到 #Same thing without a password
很简单,依照示例加入以下一行,假设登录用户名为testuser
testuser ALL=(ALL) ALL
这样,以后输入sudo 后面直接加命令就可以了,不用每次都要输入密码。
6,安装ntfs-3g,以挂载windows分区。我在windows机器上保存了一些下载的文件软件等资料。
yum install ntfs-3g
7,安装java开发环境
从java.sun.com下载 jdk-6-linux-i586.bin,放到/opt目录下,直接解压
./jdk-6-linux-i586.bin
sudo kwrite ~/.bash_profile
添加JAVA_HOME=/opt/jdk1.6.0
PATH后面添加:$JAVA_HOME/bin
export行PATH前添加JAVA_HOME
让/usr/bin/下的添加java,javac
cd /usr/bin
sudo rm java
sudo ln -s /opt/jdk1.6.0/bin/java java
sudo ln -s /opt/jdk1.6.0/bin/javac javac
更改字体设置以让java swing界面支持中文(在2.6.20-1.2933.fc6内核下不需要进行以下设置便能支持中文)
打开/opt/jdk1.6.0/jre/lib/fontconfig.redhat.properties文件会发现在文件末尾处引用目录
/usr/share/fonts/zh_CN/TrueType下的字体,在/usr/share/fonts目录下建立zh_CN目录,并且拷贝些中文字体并进行重命名即可。

8,安装netbeans开发工具
http://www.netbeans.info/downloads/index.php
下载中文版或英文版的均可,如果要想使用英文版的界面,在netbeans启动参数中添加
-locale en

4 comments:

ninest123 said...

chanel handbags, ugg boots, longchamp pas cher, louboutin pas cher, replica watches, longchamp, nike outlet, jordan shoes, louis vuitton outlet, ray ban sunglasses, sac longchamp, oakley sunglasses, prada handbags, nike free, air jordan pas cher, tiffany jewelry, polo ralph lauren outlet, tiffany and co, kate spade outlet, polo ralph lauren outlet, gucci outlet, nike air max, louis vuitton, louis vuitton, burberry, longchamp outlet, oakley sunglasses, nike roshe run, louboutin shoes, prada outlet, louboutin, ray ban sunglasses, louis vuitton, air max, louis vuitton outlet, louboutin outlet, longchamp outlet, christian louboutin outlet, michael kors, oakley sunglasses, ray ban sunglasses, uggs on sale, nike air max, replica watches, ralph lauren pas cher, tory burch outlet, cheap oakley sunglasses, ugg boots, oakley sunglasses, nike free

ninest123 said...

michael kors outlet, michael kors, replica handbags, michael kors, ralph lauren uk, burberry outlet online, ugg boots, nike free run uk, abercrombie and fitch, air force, north face, tn pas cher, nike air max, coach outlet, michael kors outlet, michael kors outlet, vans pas cher, michael kors, vanessa bruno, ugg boots, nike blazer, oakley pas cher, michael kors outlet, true religion jeans, hermes, nike roshe, nike air max, true religion jeans, converse pas cher, coach outlet, true religion outlet, lacoste pas cher, hogan, michael kors outlet, north face, coach purses, burberry, sac guess, hollister, true religion jeans, timberland, hollister pas cher, mulberry, michael kors, lululemon, kate spade handbags, nike air max, ray ban pas cher, new balance pas cher, ray ban uk

ninest123 said...

north face outlet, insanity workout, nike huarache, hollister, hollister, herve leger, nike air max, wedding dresses, soccer jerseys, chi flat iron, longchamp, birkin bag, p90x workout, louboutin, babyliss, iphone cases, mcm handbags, nike roshe, gucci, valentino shoes, asics running shoes, jimmy choo shoes, lancel, timberland boots, ghd, north face outlet, ferragamo shoes, nike air max, giuseppe zanotti, mac cosmetics, new balance, celine handbags, beats by dre, mont blanc, converse outlet, baseball bats, ralph lauren, bottega veneta, lululemon, hollister, soccer shoes, ray ban, vans, instyler, oakley, nike trainers, abercrombie and fitch, reebok shoes, nfl jerseys, vans shoes

ninest123 said...

karen millen, links of london, canada goose, ugg,ugg australia,ugg italia, sac louis vuitton pas cher, canada goose, louis vuitton, swarovski crystal, juicy couture outlet, ugg boots uk, moncler, moncler, thomas sabo, moncler, moncler outlet, moncler, canada goose uk, pandora charms, toms shoes, wedding dresses, juicy couture outlet, louis vuitton, coach outlet, moncler, supra shoes, montre pas cher, bottes ugg, marc jacobs, pandora charms, hollister, canada goose outlet, canada goose, moncler, swarovski, canada goose, moncler, ugg,uggs,uggs canada, canada goose outlet, ugg pas cher, pandora jewelry, replica watches, louis vuitton, louis vuitton, doudoune canada goose, pandora jewelry