写在86之前
86年了。
去年傻傻的守在电脑前看直播,结果网络不通,只有速速去挤位置看电视。我记得那可是勤业园区第一次,也是我们在漳州校区唯一一次看见电视在电视柜里。
今年的明天,我会傻傻的看着仪器,做着无聊的物化基础实验。不过也好,至少没有白度。
认认真真做事,简简单单做人
vrms是Virtual Richard M. Stallman的缩写。想必大家已经知道Stallman是何许人也。
vrms的功能是去除你系统中的non-free软件。
一些人已经开始清除PC里的non-free software,而我们却还在为找到一个更好的盗版软件而奋斗。
注:ubuntu官方源已添加该软件包。该软件包说明说下:virtual Richard M. Stallman
The vrms program will analyze the set of currently-installed packages on a
Debian GNU/Linux system, and report all of the packages from the non-free
tree which are currently installed.
Future versions of vrms will include an option to also display text from
the public writings of RMS and others that explain why use of each of the
installed non-free packages might cause moral issues for some in the Free
Software community. This functionality is not yet included.
一、关于声音
今天,多媒体突然没有了声音。百思不得其解。经多方搜索发现是PCM被禁音了(原文[11楼])。双击右上角的小喇叭,将PCM静音去掉,久违的声音终于响起。
二、关于skype
一直以为是源中的skype有问题。今天发现原来是scim-qtimm包作怪。卸载之,skype即可正常登录。
三、关于scim
按照wiki.ubuntu.org.cn上在最后一步:
sudo im-switch -s scim-pinyin
im-switch -s scim-pinyin
deb http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse
deb http://ftp.tw.debian.org/ubuntu/ edgy main multiverse restricted universe
deb http://ftp.tw.debian.org/ubuntu/ edgy-backports main multiverse restricted universe
deb http://ftp.tw.debian.org/ubuntu/ edgy-proposed main multiverse restricted universe
deb http://ftp.tw.debian.org/ubuntu/ edgy-security main multiverse restricted universe
deb http://ftp.tw.debian.org/ubuntu/ edgy-updates main multiverse restricted universe
#deb http://mirror.bjtu.edu.cn/ubuntu/ edgy main restricted universe multiverse
#deb http://mirror.bjtu.edu.cn/ubuntu/ edgy-updates main restricted universe multiverse
#deb http://mirror.bjtu.edu.cn/ubuntu/ edgy-security main restricted universe multiverse
#deb http://mirror.bjtu.edu.cn/ubuntu/ edgy-backports main restricted universe multiverse
deb ftp://debian.ustc.edu.cn/ubuntu/ edgy main restricted universe multiverse
deb ftp://debian.ustc.edu.cn/ubuntu/ edgy-updates main restricted universe multiverse
deb ftp://debian.ustc.edu.cn/ubuntu/ edgy-security main restricted universe multiverse
deb ftp://debian.ustc.edu.cn/ubuntu/ edgy-backports main restricted universe multiverse
debian用户:
aptitude install linuxdcpp0.691
sudo apt-get install cvs scons build-essential libgtk2.0-dev libglade2-dev zlib1g-dev libbz2-dev libssl-dev
cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login
cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcpp
cd linuxdcpp
scons release=1 PREFIX=/usr/local
sudo scons install
linuxdcpp
[Desktop Entry]
Name=dcpp
Comment=Direct Connect client
Exec=/home/user/place_where_you_put_it/linuxdcpp/linuxdcpp
Path=/home/user/place_where_you_put_it/linuxdcpp/
Icon=/home/user/place_where_you_put_it/linuxdcpp/pixmaps/linuxdcpp.png
Terminal=false
Type=Application
Categories=Application;Network;
cvs update -d
sudo scons -c install
其实OpenSSH配置一很简单。
注:client表示客服端,server表示服务器。本文以SSH 1.x
一、公钥安装
安装好OpenSSH。
:~# apt-get install ssh
:~$ ssh -V
OpenSSH_4.2p1 Debian-7ubuntu3.1, OpenSSL 0.9.8a 11 Oct 2005
client$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa
Enter passphrase (empty for no passphrase): …
Enter same passphrase again: …
client$ ssh-keygen
client$ ssh-keygen -d
client/.ssh:$ cat filename
$ chmod go-w ~/
$ chmod 700 ~/.ssh
$ chmod go-rwx ~/.ssh/*
# first, upload public key from client to server
client$ scp ~/.ssh/id_rsa.pub server.example.org:
# next, setup the public key on server
server$ mkdir ~/.ssh
server$ chmod 700 ~/.ssh
server$ cat ~/id_rsa.pub >> ~/.ssh/authorized_keys
server$ chmod 600 ~/.ssh/authorized_keys
server$ rm ~/id_rsa.pub
client$ ssh -o PreferredAuthentications=publickey server.example.org
Enter passphrase for key '/…/.ssh/id_rsa': …
…
server$
[lots of explanations and possible options listed]
# Be paranoid by default
Host *
ForwardAgent no
ForwardX11 no
FallBackToRsh no
Host *fbc
HostName www.foobar.com
User bilbo
ForwardAgent yes
Compression yes
# Be paranoid by default
Host *
ForwardAgent no
ForwardX11 no
FallBackToRsh no