KUbuntu9.04 工作环境搭建备注

关于字体
将字体文件放在 ~/.fonts/ 下就可以
设置中文显示优先级则在 /etc/fonts/conf.d 下29,69,99这几个

关于网络设置
Kde4自带的那个绝对有问题,上手不能联网的会比较麻烦需要手动修改network的interface
拨号的话就pppoeconf吧,还算比较简单。
开关命令是:pon dsl-provider 跟 poff dsl-provider
局域网手动设置的例子:

auto eth0
iface eth0 inet static
address xxxxxxxx
netmask xxxxxxx
gateway xxxxxxxx

还得在 /etc/resolv.conf加个nameserver xxxxxx指向DNS服务器

ssh登录跟sshftp
其实是可以用自带的openssh终端连接的,但我怎么实验都没有成功指定了publickey一直显示密码错误,用putty解决吧,sshftp则可以用FIlezilla满强大的。

关于945gm很卡
换了新的2.6.30基本很流畅,下载地址:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30/linux-headers-2.6.30-020630-generic_2.6.30-020630_i386.deb
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30/linux-headers-2.6.30-020630_2.6.30-020630_all.deb
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30/linux-image-2.6.30-020630-generic_2.6.30-020630_i386.deb
http://mirrors.kernel.org/ubuntu/pool/main/w/wireless-crda/wireless-crda_1.7_i386.deb

LLMP
开启两个模块,重写的模块可以在conf里去注释

#apt-get install lighttpd lighttpd-doc
#lighty-enable-mod fastcgi simple-vhost
#/etc/init.d/lighttpd force-reload

在conf-enabled里面修改simple-vhost.conf,下面是参照

## Simple name-based virtual hosting
##
## Documentation: /usr/share/doc/lighttpd-doc/simple-vhost.txt
##                http://www.lighttpd.net/documentation/simple-vhost.html
	
server.modules += ( "mod_simple_vhost" )
	
## The document root of a virtual host isdocument-root =
##   simple-vhost.server-root + $HTTP["host"] + simple-vhost.document-root
simple-vhost.server-root         = "/home/linyu/www"
simple-vhost.document-root       = "/default"
	
## the default host if no host is sent
simple-vhost.default-host        = "localhost"
	
$HTTP["host"] == "zjunion" {
server.document-root = "/home/linyu/www/zjunion/html"
server.errorlog = "xxxxxxx"
accesslog.filename = "xxxxxxx"
}

MYSQL

#apt-get install mysql-server

默认UTF8
my.cnf

[client]
character-set-server=utf8
collation-server=utf8_general_ci
default-character-set=utf8

PHP5

#apt-get install php5-cgi php5-sqlite php5-mysql

Add a comment

Add comment

Fill out the form below to add your own comments

User data





Add your comment