找回密码
 注册
搜索
热搜: 回贴
微赢网络技术论坛 门户 服务器 Linux/BSD 查看内容

我的 Ubuntu 设置 step by step

2009-12-20 13:26| 发布者: admin| 查看: 35| 评论: 0|原作者: 仙之剑缘



我的 Ubuntu 设置 step by step
2008-08-13 20:07




0. pppoe config pppoeconf1. install vmware-toolsand fix the mouse wheelsudo gedit /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection我用的最新的vmware tools 装完后系统不认识vmware 显卡,没关系,升级ubuntu, 到内核2.6.24的时候,一切就正常了。2. config DNS DNS配置文件: /etc/resolv.confnameserver 211.146.6.3nameserver 202.106.0.20当
同时配置了多个网卡有使用dhcp时(ubuntu默认配置也有问题),ubuntu中的dhcp每次都会因为dhcp把/etc
/resolv.conf 重写,然后就每次要手动再改写/etc/resolv.conf
文件,否则不能dns不管用,郁闷不止.找到的解决办法是,修改/etc/dhcp3/dhclient.conf:prepend domain-name-servers 211.146.6.3, 202.106.0.20;2. update source sudo gedit /etc/apt/source-list replace all source with "ubuntu.cn99.com"3. install media .. by lazybutu
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http:///fileicon/zip.gif');}" onmousewheel="return imgzoom(this);" alt="" />

文件:Lazybuntu-0.1.5.tar.gz
大小:30KB
下载:
下载

4. ubuntu SCIM keboard bug sudo gedit /etc/X11/xinit/xinput.d/scim
然后把里面倒数第二、三行改成
GTK_IM_MODULE="scim"
QT_IM_MODULE="scim"
保存
另外记得安装scim的几个bridge,否则会出现有的应用不能输入中文,或者有时候对按键无反应。 原因未知,这样可以解决。
5. 让系统是中文的情况下bash保持英文在.bashrc 中添加:export LANG=en_US.UTF-86. 常用软件包sudo
apt-get install automake libtool gettext libexpat* libexosip2-dev
gcc-3.4 ss-dev texlive-base-bin rpm perl flex bison mawk comerr-dev
build-essential texinfo tcl gawk libpng12-dev latex2html
texlive-extra-utils texlive-extra-utils libreadline-dev git-core7. 常用软件sudo apt-get install kate iptraf ksnapshot dia sudo apt-get install openssh-server8. 网络速度实时显示sudo apt-get install netspeed然后把netspeed 添加到系统面板其他: adesklets
gadesklets
9. vsftpd 最简配置(1). 配置文件: /etc/vsftpd.conf安装后就改过一行:max_clients=3
(2).启动停止:sudo /etc/init.d/vsftpd reload|restart|start|stop3. 建立用户ftp 将他加入ftp组, 这样默认的ftp目录就是/home/ftp(4). 修改/home/ftp 的权限sudo chmod a x /home/ftpsudo chmod a-w /home/ftp没有第一个命令, 将不能列出目录,没有第个命令会出现下面的提示信息:
Login failed: 500 OOPS: vsftpd: refusing to run with writable anonymous root这个意思是, anonymous用户的根目录拥有写权限..









最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 05:36 , Processed in 0.203919 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部