debian; ubuntu; kali / 未分类 · 2013年5月22日

ubuntu 12.04 初始化

echo "deb http://packages.mate-desktop.org/repo/ubuntu precise main
deb http://repo.mate-desktop.org/ubuntu precise main
deb http://mirror1.mate-desktop.org/ubuntu precise main ">>/etc/apt/sources.list

sudo apt-get update
sudo apt-get install mate-archive-keyring --force-yes
sudo apt-get update
# this install base packages
#sudo apt-get install mate-core
# this install more packages
sudo apt-get install mate-desktop-environment -y
apt-get install fvwm -y

我去我人有的和
vi /etc/sudoers
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) NOPASSWD: NOPASSWD: ALL
#%sudo ALL=(ALL:ALL) ALL
rsync -avz [email protected]:/home/evan/ /home/evan
sudo apt-get install subversion filezilla -y
sudo apt-get install kdesvn -y
sudo apt-get dist-upgrade 升级系统
sudo apt-get install leafpad dconf-editor
sudo apt-get install xfce4-panel # WATE

http://docs.xfce.org/xfce/xfce4-panel/start
#输入法 fcitx 五笔拼音
sudo apt-get install fcitx-table-wbpy
###
deb http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-stable/ubuntu precise main
deb-src http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-stable/ubuntu precise main
sudo apt-get update
sudo apt-get install cinnamon

****************************
Debian Linux 7.0 屏幕亮度调节技巧
首先,终端输入以下命令:
sudo vi /etc/rc.local
在打开的文件中,我们会找到“exit 0”,这时,我们只需要把下面一句代码加到“exit 0”之前就可以了。代码如下:
echo 9 > /sys/class/acpi_backlight=vendor/acpi_osi=Linux/brightness
其中“9”表示亮度值,范围从0~15.根据自己需要进行取值。(这句代码是结合网上几个方法得来的)。然后重启电脑,屏幕亮度就是你设定的亮度了,而且还可以用“Fn”结合亮度按键进行屏幕亮度的改变。
先声明一下:这种方法虽然适合我的本本,但不一定适合所有的本本,而且我用的 xfce 桌面环境,所以也可能不适合 gnome 或 kde 等其他桌面环境。希望大家有其他方法时能分享一下,大家一起学习。
****************************
Gnome Flashback is a shell for Gnome 3 which was initially called “Gnome Fallback”.
https://live.gnome.org/GnomeFlashback
install openssh
sudo apt-get install openssh-server openssh-client
https://help.ubuntu.com/12.04/serverguide/openssh-server.html
http://forum.ubuntu.org.cn/viewtopic.php?f=54&t=121428
evan@evan-laptop:~/svndoc/ywshare$ svn up
WARNING: gnome-keyring:: couldn’t connect to: /tmp/keyring-WqIsnA/pkcs11: 没有那个文件或目录
GNOME keyring [(null)] 的密码:
svn: 方法 OPTIONS 失败于 “http://192.168.1.18:8080/ywshare”: 认证失败: 不能认证到服务器: 被拒绝的 Basic 挑战 (http://192.168.1.18:8080)
#solve
GNOME keyring [(null)] 的密码: 这里随便输入个密码就行了啦 ,如果直接回车就会报如上的错误