配置如下: http_port 59.64.5.62:3128 cache_mem 100 MB acl wang src "/home/arch/.proxy"#保存代理服务器用户的IP http_access allow wang
出错提示如下: # sshd Could not load host key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting.解决方法
ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N "" ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N "" ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
sshd 使用/etc/hosts.allow和hosts.deny.要注意配置
假设S为远程服务器,C为本地客户端,两台机器都有用户wang.
在C里运行
ssh-keygen -t rsa一路回车即可.
scp ~/.ssh/id_rsa.pub S:/tmp ssh S cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys rm /tmp/id_rsa.pub以后 ssh S时则直接以wang登录不需要密码了.
注意S上~/.ssh权限为 755.
pacman -S sfs mkdir /etc/sfs sfskey gen -P /etc/sfs/sfs_host_key mkdir -p /var/sfs/root/usr1 mkdir -p /var/sfs/root/usr2 echo "Export /var/sfs/root /" >>/etc/sfs/sfsrwsd_config echo "Export /mnt/pp/fs2 /usr2" >>/etc/sfs/sfsrwsd_config echo "Export /mnt/skate/fs1 /usr1" >>/etc/sfs/sfsrwsd_config echo "/var/sfs/root localhost(rw)" >> /etc/exports echo "/mnt/pp/fs2 localhost(rw)" >> /etc/exports echo "/mnt/skate/fs1 localhost(rw)" >> /etc/exports #配置完成~
alsactl restore
font=/usr/share/texmf-local/fonts/truetype/simsun.ttf subcp=cp936 subfont-text-scale=5
在apache配置文件中 AddDefaultCharset ISO-8859-1 -> AddDefaultCharset off
编辑/usr/bin/startx 将 xserverauthfile=$HOME/.serverauth.$$ 替换为 xserverauthfile=$XAUTHORITY
export LC_ALL=zh_CN.gbk export LANG=zh_CN.gbk export XMODIFIERS=@im=fcitx应设置在fcitx启动之前.
/dev/sda6 /mnt/e ntfs ro,user,noauto,umask=222,iocharset=utf8 0 0
named: capset failed: Operation not permitted: please ensure that the capset kernel module is loaded. see insmod(8)加载capset模块时发现不存在,在mailist上看到应该加载模块capability,应该是模块改名了
modprobe capability