前几天在Ubuntu中文论坛上看到这个dock,用了几天觉得还不错就推荐一下!以前用过kiba-dock,我觉得那个也不错,不过我没怎么用过,呵呵,我觉得太夸张了点! 这个东西的主页在这里:http://awn.wetpaint.com/,上面有安装方法的,这里我就简单的说下在Edgy下的安装方法:sudo gedit /etc/apt/sources.list 添加源: deb http://download.tuxfamily.org/syzygy42/ edgy avant-window-navigator deb-src http://download.tuxfamily.org/syzygy42/ edgy avant-window-navigator 然后要把钥匙,嘎嘎 wget http://download.tuxfamily.org/syzygy42/8434D43A.gpg -O- | sudo apt-key add - 升级软件包: sudo apt-get update sudo apt-get upgrade 然后就装喽: sudo apt-get install avant-window-navigator 装好好在应用程序的附件里面就有Avant Window Navigator了。试试吧! 不过我这样装了后不行,后来用svn源里新的那个版本就可以用了,我是用新力得搜的,把那个带有svn字样的装上就可以了! 来张截图: 注:Feisty的话,就把源改成 ## Avant Window Navigator deb http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator deb-src http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator
美化过Vista、OS X等风格后,我最终选择了OS X。 因为我认为OS X的风格比较耐看,而且OS X的美化更有意义。模拟了OS X的Dock后,再配以Beryl,组织和管理窗口真叫爽啊──效率与花俏俱全! 让我们来一步步把Ubuntu Feisty打造成Ubuntu OS X吧!
以下几步并没有规定的顺序,大家可以从任意步开始,另外,Edgy的系统也可参照,几乎一样。
一些下载资源来自http://www.taimila.com 编辑 壁纸 美化成OS X第一步,换壁纸。
从这里下载OS X的壁纸
http://www.taimila.com/images/osx/tiger.jpg
http://www.taimila.com/images/osx/panther1.jpg
http://www.taimila.com/images/osx/panther2.jpg
这三张分别是Tiger和Panther的,根据自己的喜欢下载吧!
下载好后,直接桌面右键,“更改桌面背景”,随自己换吧! 图标 有两套风格类似又有区别的OS X图标,大家可以从这里下载:
http://www.gnome-look.org/content/show.php?content=31618
http://www.gnome-look.org/content/show.php/OsX_MoD?content=54851
下载好以后,“系统”“首选项”“主题”,再点击“自定义”“图标”,安装时指向下载来的压缩包(不必解压缩)就可以了; 窗体控件和边框装饰(Emerald) 我使用的窗体控件是:
http://www.gnome-look.org/content/show.php/OSX-Tiger+theme?content=56577
下载好后,到“系统”“首选项”“主题”,再点击“自定义”,“控件”,安装即可;
Emeraldr的装饰器我使用的是Mymacthemes:
http://www.gnome-look.org/content/show.php/MyMacTheme?content=50415
下载好后,右键beryl-manager,打开“Emerald主题管理器”,点“Import”导入,然后在最下面选择即可; GDM登录窗口 我所使用的GDM登录窗口来自Taimila网站,下载好后,到“系统”“系统管理”“登录窗口”,然后选择“本地”,点击“添加”按钮就可以了。同样下载的文件不需要解压缩,直接选择就可以了。
http://www.taimila.com/downloads/gdm-osx-theme.tar.gz Dock Dock我使用的是Avant Window Navigator,这个据我使用是最像Mac OS X的Dock。
也是美化成Mac OS X的关键之处。
安装Avant Window Navigator请参考:推荐一个dock────Avant Window Navigator!
Feisty版本加源时,把其中的Edgy替换成Feisty就可以了。 重点讲讲如何配置:
安装好Avant Window Navigator后会在“系统”“首选项”里有个设置工具──Avant Preferences,打开它。
1.在“Bar Appearence”中,把“Enable rounded corners”去掉,因为我不喜欢圆的边角,大家可以根据自己喜好做决定。在“Borders”里,把“Marin border”和“Internal border”的不透明度都设置成0;
2.在“Glass Engine”里的“Gradient”下两项“First step color”和“Second step color”都设置成#6077A6的颜色和200的不透明度;
3.图标自己拖进去就可以了,OS X的图标配这个Dock就是好看;
其他的基本上不用什么改了
Beryl的设置 有关Beryl的安装可以参见这页:http://linuxdesktop.cn/documents/desktop/beryl
安装好以后,在“beryl-manager”里,把“视觉效果”“动画”下面,“最小化动画”和“取消最小化”的都设置成“神灯1″,然后把下面最小化时间设置成0.5秒左右,默认是0.2秒,太短不好玩。呵呵。
看看我的效果~ 先写这些,大家觉得还有哪里不详细的请说,我再补充……断断续续搞了半天,终于好了……先去休息下
Gnome-dock 是一款模仿 Mac-OS Dock 的程序。Gnome-dock 只要具有 Gtk 环境就可以像 Engage 一样工作在 KDE 下。在我的机器上 Gnome-dock 需要 Beryl 才能运行,但是运行时还存在抖动现象,暂时不知道解决方案。 Gnome-dock 具有的特性如下: * mimics the apple universal dock in animation
一、安装篇 1、下载光盘镜像 首先下载我们需要的光盘镜像,如果你喜欢刻盘安装那就下载desktop版本刻盘安装,我们这里讨论的是使用ubuntu-7.04-alternate-i386.iso进行硬盘安装,所以推荐下载alternate版,另外最近下载的人比较多,更推荐使用bt下载。 下载地址:http://ubuntu.csie.nctu.edu.tw/ubuntu-releases/7.04/ 透过 Google AdSense 使您的网站产生收益 如 果你刻盘安装,那么把刻好的盘直接放到光驱中,desktop版本启动之后可以进入一个livecd模式,你可以在里面先体验一下,点击桌面上的 install进行安装,按提示一步步安装就行了。alternate版本的就会出现下面的画面,直接选择第一项进入。(直接跳到第5步) 下面说一下硬盘安装的方法。 2、下载引导文件 先下载好光盘镜像,放在某个分区根目录下(我这里放置在windows的D盘下)然后下载硬盘安装的引导文件,下载地址: http://ftp.sjtu.edu.cn/ubuntu/dists/feisty/main/installer-i386/current/images/hd-media/initrd.gz http://ftp.sjtu.edu.cn/ubuntu/dists/feisty/main/installer-i386/current/images/hd-media/vmlinuz
以上两个文件都要下载,放在某个分区里(我这里还是放置在windows的D盘下) 3、准备分区 在硬盘上用分区魔术师之类的软件分出来一个ext3的分区,作为linux根分区,分出一个大小为内存2倍的swap分区,作为linux的虚拟内存。 4、准备grub,引导安装程序 然后想办法搞到一个grub用。如果你有grub就直接跳过这步。如果没有grub,下载矮人dos工具箱 下载地址 http://download.zol.com.cn/detail/9/88018.shtml 然后下载一个grub for dos(图省事,也放在D盘根目录下)(如果你有软盘的话,可以把grub for dos解压到软盘里使用软盘引导,启动grub) 下载地址:http://download.gna.org/grub4dos/
安装后重启,选择矮人dos工具箱进入,然后就会出现如下画面 这时运行矮人dos工具箱,进入dos,进入D盘,输入grub.exe启动grub
进入grub,按c键调出命令模式 输入如下命令 kernel (hd0,2)/vmlinuz root=/dev/ram ramdisk_size=32000 devfs=mount,dall initrd (hd0,2)/initrd boot
注意:命令里面的 (hd0,2)/vmlinuz 和 (hd0,2)/initrd 不是绝对的,要看你文件放置的分区和目录决定。
5、进行安装 选择语言,这里我们选择中文简体(看着舒服^_^) 位置就选中国吧~ 选择键盘,这里选“否”,在下面手动选择键盘,这里选“是”的话还要测试,麻烦 选择USEnglish 还选USEnglish
系统探测硬件,如果是硬盘安装,这里会显示自动装载分区,探测光盘镜像 自动载入安装需要的文件 探测网络 自动配置网络,貌似没什么用。。。 随便输入个主机名 探测你的硬件配置 这里选手动,否则你硬盘上的其他东东都会玩完了。 将你需要把ubuntu安装进去的根分区改成如上图所示的状态 选择分区设定结束写入硬盘。 再检查一遍,不要弄错了。。。 还是选“否”,选“是”的话有可能系统时间混乱。 输入用户名 这个是真正在登录时用到的用户名。 设置帐户的密码。 自动安装基本系统 这个要选“否”,如果选“是”,会在一会安装过程中卡在85% 另外在安装过程中会询问你是否安装ubuntu-desktop,当然要用空格把它选上,然后按tab切换到“确定”按钮,回车。 设置你的x-window 安装结束。选择“继续”重启。 重启后ubuntu漂亮的引导画面 登录界面
二、配置篇
注意:我下面所说的执行蓝色字体的命令要在终端下执行,终端的打开方式是 应用程序 -> 附件 -> 终端 并且是以sudo开头的命令,有可能需要您输入密码,那么就输入您安装系统时给您帐号设置的密码即可。
1、网络配置
安装完了先确定你的网络连接方式,如果是LAN或者路由(或自动拨号的ADSL)的话,这步骤就可以PASS了,如果是需要ADSL虚拟拨号的用户,请在终端下执行如下命令
sudo pppoeconf
然后根据里面的提示设置一下你虚拟拨号。设置完毕应该可以上网了。
2、更换软件源、更新系统 先去网上search一份你使用起来比较快的,网通建议用台湾的源,电信就用cn99 在终端输入 sudo gedit /etc/apt/sources.list 懒得搜索的,下面有一份源列表,建议复制一部分使用 ——————————————————————————————
deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse
更新服务器 (上海市 电信): deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main multiverse restricted universe deb-src http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu-cn/ feisty main multiverse restricted universe
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main multiverse restricted universe deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn feisty main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse deb-src http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse deb http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse deb http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse deb http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse deb http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main multiverse restricted universe deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cnsite.org/ubuntu-cn/ feisty main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe deb http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe deb http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe deb http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe deb http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe deb-src http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe deb-src http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe deb-src http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe deb-src http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe deb-src http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe deb http://mirror9.net9.org/ubuntu-cn/ feisty main multiverse restricted universe ———————————————————————————————————— 将里面乱七八糟的东西删了,将你复制的源列表粘贴到里面,保存退出。 在终端输入 sudo apt-get update sudu apt-get upgrade 这样便更新以及升级了系统。 3、中文支持安装(包括输入法) 更新完毕后,点击屏幕上方面板中的“系统”(可能是英文,总之是从左边数第三个),在菜单中选择“系统管理”(同样可能是英文,是菜单第2项),打开语言支持(language support),在这个设置程序中找到chinese一项,将后面的方框点成对号,再点Apply. 系统会自动帮助你安装完中文字体、输入法等。这步完毕后最好重启一下,来看看我们漂亮熟悉的汉字吧!
4、安装解码器、flashplayer、java虚拟机、微软字体
这是ubuntu推出的一个新软件包,将一次性将上面几个东东自动装好
在终端输入
sudo apt-get install ubuntu-restricted-extras
即可完成安装
5、安装媒体播放器
我个人还是推荐使用mplayer,它支持的格式很全,功能强大,当然,你也可以用系统自带的播放器,在上一步中已经安装了totem的相关解码器,并且当你用它播放wma之类上面没有安装的解码器的文件时,程序会自动搜索并安装上
我安装的是mplayer
终端输入
sudo apt-get install mplayer mozilla-mplayer totem-xine libxine-extracodecs
另外需要一个w32codecs文件,是用来支持那些私有媒体格式的解码器,源里已经没有w32codecs了,我们可以从这里下载那个后缀为.deb的安装
http://www.debian-multimedia.org/pool/main/w/w32codecs/
mplayer调试(视频、字幕)
启动mplayer,右键->Preferences->Video
Available drivers选择xv
然后进入Font标签 Font里选择一个中文字体,Encoding里设置为Simplified Chinese charset (CP936)
6、安装下载工具(多线程下载、BT下载、电驴) 还是终端输入 sudo apt-get install d4x amule azureus 即可。 7、Firefox浏览器优化 这个不多说了,只推荐几个插件 Tab Mix Plus ———— 标签浏览增强插件 Super DragAndGo———— 超级拖拽插件 Fasterfox———— 浏览器速度优化插件 去https://addons.mozilla.org/en-US/firefox/ 搜索安装。 8、安装rar压缩、解压工具 终端输入 sudo apt-get install rar unrar 9、启用root(最高权限)帐户 终端输入 sudo passwd root 输入你希望的root用户的密码 三、显卡驱动安装和beryl(3D桌面)安装篇 1、显卡驱动安装 feisty里面显卡驱动的安装也是相当简单的事情,进入“系统”->“系统管理”->“受限驱动管理器” 找到你的显卡,把那个框点成对号,会提示你安装显卡驱动,然后按照提示一步一步安装完毕,重启即可。
2、beryl的安装 在此之前先说明一下,你的系统在安装完毕之后就已经有了一个内置的桌面效果软件(能实现简单的桌面特效,包括3D立方体),使用方法是(必须将显卡驱动装好)进入“系统”“首选项”“桌面效果”,点击“启用桌面效果”,如果你需要使用3D立方体桌面,那么选中“立方体上的工作区”即可。
如果你对这个简单的桌面特效工具不太满意,想追求更华丽的桌面,那么安装beryl仍然是个很好的选择。如今安装beryl不会像以前一样麻烦了,feisty的源里已经有了beryl的软件包,我们只需要在终端里输入 sudo apt-get install beryl-core beryl-plugins beryl-plugins-data emerald beryl-settings beryl-manager beryl beryl-dev emerald-themes 安装完毕即可了。 启动方法:“应用程序”->”系统工具”->”Beryl Manager” 或者直接在终端输入 beryl-manager 或者把 beryl-manager添加到启动项内
四、美化篇 1、字体更换 我推荐大家使用文泉驿字体,在 http://wqy.sourceforge.net 下载deb包安装 在“系统“->”首选项“->”字体“中调整字体 五、优化与清理篇 1、apt下载的deb包清理 在使用完apt后,系统下载的deb包会留存在硬盘里,我们可以把它们删除,释放硬盘空间。 终端输入 sudo apt-get clean
2007.05.18 经试验,本文方法也可用于 ubuntu-7.04-desktop-amd64.iso 。
经测试,用官方下载的 ubuntu-7.04-desktop-i386.iso 中的文件即可实现硬盘启动、安装,步骤如下:
1 拷贝文件
下载 ubuntu-7.04-desktop-i386.iso ,将其中的 casper 文件夹解压到硬盘上某 FAT32 分区中(测试发现不支持ntfs,其他格式未测),注意 casper 文件夹须放在分区根目录下。
2 设置 GRUB4DOS 启动
若装有 xp/2000/2003(vista 的情况后面说):
下载附件,解出 grldr 和 menu.lst ,放到 C 盘;
调整“文件夹选项”使显示 系统文件 和 隐藏文件,应看到 C 盘有个 boot.ini 文件,修改其属性,去掉“只读”;
打开它,添一句 c:\grldr = GRUB4DOS ,可酌情修改 timeout ,下面是示例:
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”DeepinXP-V4” /noexecute=optin /fastdetect
c:\grldr = GRUB4DOS
保存后重启,选择 GRUB4DOS 即可。
若装有 vista ,请参考这贴: http://bbs.znpc.net/viewthread.php?tid=2300&extra=page%3D2 设置 GRLDR 的引导,然后 下载附件,解出 grldr 和 menu.lst ,放到 C 盘即可。
引自:http://blog.chinaunix.net/u/17549/showart.php?id=188498 多台电脑通过ADSL同时上网,如果有路由,那就太简单了。 但是,如果没路由只有交换机怎么办呢?一般有两种方法。 1、用双网卡(一个接内网,一个接外网)的机器装代理服务器软件(windows下有winGet等)来完成,但这种方法要两块网卡(浪费),同时还要装代理软件(烦,而且还会被打盗版)。 2、通过共享拔号连接来解决,这种方法很简单且不需要其它的软件。 对于windows下的第二种方法的实现网上有很文章且很简单,在此不作阐述。 下面就我在linux(在centOS4.4,rhel as 4,fc5下测试通过)下如何通过adsl拔号与共享上网作一个简单的记录,希望对新手有所帮助。 1、拔号上网 1.1拔号软件 linux下的拔号软件很多,但比较好的是rp-pppoe,一般linux系统会自带拔号软件,如果你没装,请自己到google去找一个来装上。 1.2拔号设置 切换为root用户,只有root才能配置。 $ su Password: # /sbin/adsl-setup 按提示设置用户名、密码、DNS、及其它相关信息,下面是我的参考配置: Welcome to the ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly… The following DSL config was found on your system: Device: Name: ppp0 DSLppp0 Please enter the device if you want to configure the present DSL config (default ppp0) or enter ‘n’ if you want to create a new one: LOGIN NAME Enter your Login Name (default xyn0699647): INTERFACE Enter the Ethernet interface connected to the ADSL modem For Solaris, this is likely to be something like /dev/hme0. For Linux, it will be ethX, where ‘X’ is a number. (default eth0): Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter ‘no’ (two letters, lower-case.) NOTE: Demand-activated links do not interact well with dynamic IP addresses. You may have some problems with demand-activated links. Enter the demand value (default no): DNS Please enter the IP address of your ISP’s primary DNS server. If your ISP claims that ‘the server will provide dynamic DNS addresses’, enter ‘server’ (all lower-case) here. If you just press enter, I will assume you know what you are doing and not modify your DNS setup. Enter the DNS information here: PASSWORD Please enter your Password: Please re-enter your Password: USERCTRL Please enter ‘yes’ (two letters, lower-case.) if you want to allow normal user to start or stop DSL connection (default yes): FIREWALLING Please choose the firewall rules to use. Note that these rules are very basic. You are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security. If you are running any servers on your machine, you must choose ‘NONE’ and set up firewalling yourself. Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc. If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port. The firewall choices are: 0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules. 1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation 2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN Choose a type of firewall (0-2): Please enter a number from 0 to 2 The firewall choices are: 0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules. 1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation 2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN Choose a type of firewall (0-2): 0 Start this connection at boot time Do you want to start this connection at boot time? Please enter no or yes (default no): ** Summary of what you entered ** Ethernet Interface: eth0 User name: xyn0699647 Activate-on-demand: No DNS: Do not adjust Firewalling: NONE User Control: yes Accept these settings and adjust configuration files (y/n)? y Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0 Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets (But first backing it up to /etc/ppp/chap-secrets.bak) (But first backing it up to /etc/ppp/pap-secrets.bak) Congratulations, it should be all set up! Type ‘/sbin/ifup ppp0’ to bring up your xDSL link and ‘/sbin/ifdown ppp0’ to bring it down. Type ‘/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0’ to see the link status. 1.3拔号连接与断开 输入 ‘/sbin/ifup ppp0’ 进行拔号连接戓’/sbin/ifdown ppp0’断开拔号连接。 至此,如果一切正常,你就可以正常网上冲浪! 2、共享上网 通过上面的设置,你只能自己上网,要想其它电脑共享linux的连接上网,需要作如下的设置。 LINUX网络设置: 内网IP:192.168.0.1 子网掩码:255.255.255.0 网关:192.168.0.1 DNS:根据各地的网络服务商不同,云南昆明的是 202.98.160.68 注:要使设置生效,请先停止网卡,然后再激活。 其它的机器的设置只要保证与linux机器在一个网段并且网关设置为192.168.0.1就可以了,如: 192.168.0.2 255.255.255.0 192.168.0.1 DNS和主机一样。 用你喜欢的编辑器(如vi,gedit等)打开LINUX主机的/etc/rc.d/rc.local 在最后补上如下内容: echo “1” > /proc/sys/net/ipv4/ip_forward /sbin/modprobe ip_nat_ftp /sbin/modprobe ip_conntrack /sbin/modprobe ip_conntrack_ftp /sbin/modprobe ip_conntrack_irc /sbin/iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.0.1/24 -j MASQUERADE 运行一下rc.local /etc/rc.d/rc.local 重新拔号,这样linux下的共享连接就设置OK了!
[ Ubuntu 7.04 + Apache 2.2.3 + PHP 5.2.1 + MySQL 5.0.38 ] 1、安装 Apache2+PHP5+MySQL sudo apt-get install apache2 libapache2-mod-php5 php5 php5-gd mysql-server php5-mysql phpmyadmin joelhy 提醒 这一步可以使用新立得来安装,同样效果。 打开新立得,编辑 –> 使用任务分组标记软件包 –> 勾选 LAMP Server 然后再单独安装 phpmyadmin sudo apt-get install phpmyadmin 2、启用 mod_rewrite 模块 sudo a2enmod rewrite 3、配置 apache2.conf sudo gedit /etc/apache2/apache2.conf 去掉 AddHandler cgi-script .cgi 前的注释 “#”。 然后在任意地方添加这么一段:
Kiba-dock 星期四, 11月 16th, 2006 看過蘋果MacOS X Tiger的人通常都會對它的Dock(桌面下面的按鈕列,滑鼠移上去ICON會伸縮的)印象深刻,方便、好看又有華麗的動畫,因此後來在Windows中也有人模仿設計出ObjectDock和Y’z Dock等Dock軟體 但是在Linux中呢?Linux原本有gDesklet這個套件可以模仿一些桌面工具的功能,但是真的太陽春了,一點華麗感都沒有,透明也不是真正的透明,用了還不如不用。 那這樣Linux就真的不能用Dock了嗎?其實並沒有,Linux有自成一格的Dock套件,而且比Mac的還要更加華麗,那個套件叫做Kiba-Dock Kiba-Dock是由Beryl的製作團隊製作出的XGL新應用套件,實現動作更加順暢的Dock並且增加更多的效果上去,除了與Mac一樣的滑鼠移上 去會伸縮還有點下去會閃爍之外,還增加許多像是讓ICON會像彈珠一樣往下掉落、在整個桌面上亂彈或是像磁鐵一樣互相吸引住。可以設定許多包括背景、邊 框、速度、特效,可以讓ICON旋轉、彈跳、伸縮,效果真的非常華麗。 我是使用Ubuntu 6.10 Edgy來安裝的,安裝方法很簡單
sudo apt-get remove automake1.4 sudo apt-get install automake1.9 build-essential cvs libpango1.0-dev libgtk2.0-dev libgconf2-dev libglitz-glx-dev librsvg2-dev checkinstall libglade2-dev 接著再下載deb檔案來安裝 下載點 如果不是使用Ubuntu的人可以下載Tarball來安裝 下載點 然後再依照下面的方法安裝就好!
tar -xf kiba-dock-0.1.tar.bz2 ./autogen.sh make make install-schemas sudo checkinstall 安裝好後只要執行 kiba-dock 就可以看到華麗的Kiba-Dock出現了!
gejr给出了他配置Kiba-dock的方法,如果你还没有安装kiba-dock可以参考此文。 gejr给出了他的配置截图,以及最终效果,只需按照截图配置即可。点击可查看大图。 原文地址
已经有两个朋友问我的主题是什么了。那么借此把自己的桌面配置(包括Beryl)好好介绍下,或者还有需要的人。 不敢说自己的桌面弄得很好看,自认为自己的桌面很古怪,因为我的桌面是Ubuntu+Vista+Mac OS X三者结合的怪胎……哈哈,假如你也想这么怪,那么来一起设置吧! 先放两张图出来! 点击看1280X800的大图: 540) {this.resized=true; this.width=540;}” border=”0” width=”540”< 540) {this.resized=true; this.width=540;}” border=”0” width=”540”< 下面来简单介绍下是哪些主题的集合: 1、Gtk2主题──LiNsta 0.1 Alpha 下载地址:http://www.gnome-look.org/content/download.php?content=42697&id=1 安装说明: 不知道这个Gtk2主题需要什么引擎,总之我的电脑上安装了“gtk2-engines-pixbuf” “gtk2-engines”“gtk2-engines-ubuntulooks”,假如你下载了LiNsta 0.1,在“系统”“首选项”“主题”里安装好,没有什么效果,那么请用“sudo apt-get install ×××××”分别把以上三个引擎装好 。 另外这个Gtk2主题有0.3版,不过我嫌它太黑了,还是喜欢这个。 2、图标──OSX 3.1 下载地址:http://www.gnome-look.org/content/download.php?content=31618&id=1 安装说明: 使用OSX的图标是原因是,觉得只有OSX的图标表现在Dock上,才是最好看的。另外这个图标确实很不错。 下载好后,直接“系统”“首选项”“主题”“主题细节”──“图标”,然后安装吧! 3、Emerald主题(Beryl的主题)──Vista Linux 下载地址: http://www.gnome-look.org/content/download.php?content=42875&id=2 安装说明: 这个Emerald主题几乎是与Vista是一模一样,包括透明玻璃效果(前提是打开Beryl的模糊效果)。下载好后,打开Emerald,安装好使用即可。 另外,我用的是Kiba-dock,可以参考下我这篇文章:http://www.imtx.cn/read.php?189 kiba-dock的deb安装包在这里下载: 下载文件 (已下载 27 次)点击这里下载文件 关于如何设置好Kiba-dock,可以参考Linuxblog上的这篇文章:http://linuxblog.cn/archives/182