文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>第一次装ubuntu

第一次装ubuntu

时间:2006-04-23  来源:heavyrain

下载回来了ubuntu-5.10-install-i3861.iso,马上就再vmware上装起来了。
1、网络配置文件和RH不同,是在:/etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth0

# The primary network interface
iface eth0 inet static
        address 192.168.5.100
        netmask 255.255.0.0
        network 192.168.0.0
        broadcast 192.168.255.255
        gateway 192.168.5.150
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 211.99.25.1


2、紧接着的问题是ssh没有装,没法用putty,解决方法:
apt-get install openssh-server

3、当想把分辨率从1024*768改回800*600时花屏了,查了一下,解决:
 vi /etc/X11/xorg.conf
DefaultDepth    24  修改为16 (奇怪的修改!) 

   配置X的程序  sudo dpkg-reconfigure -phigh xserver-xorg

4、开机时同步问题:显示Synchronizing clock to ntp.ubuntu.com   
sudo chmod -x /etc/init.d/ntpdate
5、想装一个管理启动服务的程序,apt-get install sysv-rc-conf 但是总是报错……   6、建立adsl拨号连接: sudo pppoeconf 然后进行下去就行了,中途需要输入adsl用户名和密码。 以后,要手工拨号,打开终端,输入命令: sudo pon dsl-provider 一般情况下,一次拨通后以后登陆ubuntu都会自动拨通上网的了,不用每次都输入命令拨号。 手工断线: sudo poff   7、用vncviewer 连接vnc服务器   8、实现简单NAT网关功能    

!/bin/sh
sudo iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.1.0/24 -j MASQUERADE

9、安装stardict时报错,

原因时安装的是ubuntu desktop版,没有编译环境

apt-get install libxml-parser-perl

apt-get install gcc

apt-get install libc6-dev

apt-get install libgnomeui-*

apt-get isntall g++

然后就可以

./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man

make, make install
程序安装好后还要下载字典文件

放置到:/usr/share/stardict/dic/ 下面就可以了

---------------------------

10  tsclient 访问Win2003,sp1退出时报错:
IMPLEMENTED: System pointer message 0x7f00

解决:Simple solution, change the "Protocol" in client from RDP to RDPv5. As far as I can tell, this issue should only affect tsclient users as rdesktop 1.4.1 uses RDPv5 by default.

 11 解决XMMS 乱码问题:

 sudo ln -s /etc/gtk/gtkrc.zh_CN /etc/gtk/gtkrc.zh_CN.utf-8

 

相关阅读 更多 +
排行榜 更多 +
终极街头格斗

终极街头格斗

休闲益智 下载
大炮轰飞机

大炮轰飞机

飞行射击 下载
像素打僵尸

像素打僵尸

飞行射击 下载