﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-YHL的笔记-文章分类-Linux</title><link>http://www.cppblog.com/YHL/category/8481.html</link><description /><language>zh-cn</language><lastBuildDate>Sat, 18 Oct 2008 17:59:48 GMT</lastBuildDate><pubDate>Sat, 18 Oct 2008 17:59:48 GMT</pubDate><ttl>60</ttl><item><title>Ubuntu配置笔记（1）</title><link>http://www.cppblog.com/YHL/articles/63815.html</link><dc:creator>YHL</dc:creator><author>YHL</author><pubDate>Sun, 12 Oct 2008 09:22:00 GMT</pubDate><guid>http://www.cppblog.com/YHL/articles/63815.html</guid><wfw:comment>http://www.cppblog.com/YHL/comments/63815.html</wfw:comment><comments>http://www.cppblog.com/YHL/articles/63815.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/YHL/comments/commentRss/63815.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/YHL/services/trackbacks/63815.html</trackback:ping><description><![CDATA[&nbsp;&nbsp; 最近买了个本本，联想旭日C466A（正好这款搞特价）。回来就把正版vista给卸了，装上了ubuntu，然后就开始了漫长的配置之旅。（为什么不双系统：限制自己不要玩游戏呗！）<br>&nbsp;&nbsp;
显卡配置： 首先按照自己显卡的型号下个驱动，我的显卡是GeForces 8400。然后按crtl－alt－F1 进入命令行。这时，X
windows系统还没有关闭，不能安装显卡驱动。登录，输入 $/etc/init.d/gdm stop 就可以关掉X
windows。然后进入进入驱动的目录（注意：不要把驱动放在中文路径下，否则是自找麻烦：））执行$sudo sh
显卡驱动文件名。然后一路next。安装完毕后，输入 $/etc/init.d/gdm start就可开启X
windows。如果出现了NVIDIA的logo，说明基本安装成功。这时，左上角的菜单&#8220;应用程序－》系统工具－》&#8221;中会多一个NVIDIA的配置工
具。显卡安装完毕后，就可以开启各种超炫的桌面效果了！<br>&nbsp;&nbsp;
软件安装：原来早就听说ubuntu的软件源非常丰富，这次我终于体会到了。首先安装一个apt(一般光盘里就有）。然后参考网页
http://wiki.ubuntu.org.cn/%E6%B7%BB%E5%8A%A0%E5%85%B6%E4%BB%96%E8%BD%AF%E4%BB%B6%E5%BA%93&nbsp;&nbsp;&nbsp;
在/etc/apt/sources.list中添加相应的源, 先update一下，然后找到你想要的软件包名称，在终端中输入apt-get
install 软件包名称。
就可以自动安装了。关于查找软件包有一些经验：在google中搜索：软件包大致名称+ubuntu+details就可以搜到一个网站的网页，这个网页
上有关于这个软件包的各种详细信息。<br>&nbsp;&nbsp; 一些软件安装：<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 星际译王：用apt-get
只能安装基本公能，也就是没有字典。字典要到官网上下载。但下载下来的都是rpm格式的软件包，而且用rpm
-i安装总是报错。后来发现把各种字典解压缩，然后copy到/usr/share/stardict/dic/目录下即可使用。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MPlayer:用apt-get install mplayer即可安装。安装完毕，linux可以看电影了！mp3,wmv也可以播放了。<br>&nbsp;&nbsp; 上网：有线上网不需安装软件。上网分两种模式：漫游模式和静态ip模式。漫游模式用于自动获得ip（如电信上网）等。而在实验室等明确分配ip的场合，就要设置好ip和DNS地址。<br>&nbsp;&nbsp;&nbsp; 编译环境构建：有几个是必须安装的:build-essential gcc g++ 等。至于其他的库，慢慢用apt&#8220;积累&#8220;吧。。。<br>&nbsp;&nbsp;&nbsp; 还存在的问题：<br>&nbsp;&nbsp;&nbsp; 1.无法无线上网。 上网搜搜，BCM5906M的网卡好几个论坛（包括几个外国的）都说没有linux下的驱动。强受打击啊！笔记本如果不能无限上网......难道逼我买个外置无线网卡？<br>&nbsp;&nbsp;&nbsp; 2.matlab 的simulink不能用。说什么cannot access opengl 啦，gcc版本不兼容啦！按网上的方法一步一步来，也不起作用。唉，matlab如果用不了simulink......<br>&nbsp;&nbsp;&nbsp; 3.部分软件还存在字体问题。已经解决了firefox，gftp，mplayer等的字体问题。但pdf等还有问题。<br>&nbsp;&nbsp;&nbsp; 4.emacs。哎，可爱又可恨的emacs。<br>&nbsp;&nbsp;&nbsp; 慢慢来吧！ <img src ="http://www.cppblog.com/YHL/aggbug/63815.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/YHL/" target="_blank">YHL</a> 2008-10-12 17:22 <a href="http://www.cppblog.com/YHL/articles/63815.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>