通过 SSH 远程安装提示: ssh_exchange_identification
需要在 /etc/hosts.allows 中添加:
ALL: 0.0.0.0/0.0.0.0 : allow
关于这个文件的详细配置,参见:http://linux.die.net/man/5/hosts.allow
键盘鼠标无法使用
Arch 的 xorg 升级出了不少问题,我用 hwd -xa 生成 xorg.conf 以后无法使用键盘鼠标,问题的关键是 hal 服务没有启动,以下是 LinuxSir 网友总结的修复办法:
1、注释掉Section “Files”中的RgbPath项
2、修改i810为intel(我原先用i810,现在只能用intel,根据你的自己设置)
3、注释掉Section “ServerLayout”中inputdevice项和所有Section “InputDevice”
4. rc.conf中的daemons添加hal
5 使用以上方法仍有问题的,请不要使用方法3,并将ServerFlags中的AutoAddDevices设为false
Section “ServerFlags”
Option “AutoAddDevices” “False”
EndSection
vim
Arch 自带的 vi 不好使,我最需要的 clientserver feature 没有打开,所以只能下载源码自己编译。
vim 的 features 可以通过编辑 src/feature.h 删改,记得一定要开启双字节支持!
vim 的 feature list。
vim 的 编译说明。
Bitlbee
装了默认的 bitlbee 竟然不支持 join_chat,无奈只能下载源码编译。
安装的时候使用 ./configure –help 看看协议的默认值,用不到的禁用。 Arch 把 xinetd 的配置文件放在 /etc/xinetd.d/ 下,建一个 bitlbee 的服务描述文件:
service bitlbee
{
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
user = bitlbee
group = bitlbee
server = /usr/sbin/bitlbee
port = 6667
disable = no
}
LAMP
在 /etc/httpd/conf/httpd.conf 中加入:
LoadModule php5_module modules/libphp5.so AddHandler php5-script php Include conf/extra/php5_module.conf
然后修改 http 服务器根目录。
还有个小问题是发现 php 无法读写一个 777 的文件夹,折腾了半天才想起 php 有个 open_basedir 选项,把要读写的文件路径加入,问题解决。
对于 mysql:
mysql_ininstall_db /usr/bin/mysqladmin -u root password 'new-password'
暂时就这些。