页面: 1
我的笔记本Debian系统安装的软件(wheezy版)
浏览器:chrome FireFox
FTP:filezilla
ssh:putty
gSTM Tunnel Manager (gSTM 和 Tunnel Manager:会出现没链接时,会自动掉线 )
下载地址:https://launchpad.net/tunnelmanager
远程桌面VNC:Vinagre 或者 remmina
下载工具:Multiget qBittorrent
网络管理器:wicd 或者 network-manager-gnome(projects.gnome.org/NetworkManager)
办公软件:libreofffice
CPU温度监控:Psensor
MP3播放器:DeaDBeeF
视频播放器:smplayer VLC kmplayer XBMC Totem
小游戏:chromium-bsu Bovo(五子棋) GMChess(中国象棋)
词典:星际译王
终端:Terminal
截图软件:KSnapshot(KDE截图工具)
新立得包管理器:synaptic
CHM阅读器:chmsee
图片查看器:GpicView Eye of GNOME Image Viewer
输入法:ibus-rime
加密软件:trurcrypt
归档管理器:File Roller Archive Manager
计算器:gcalctool
GNU图像处理程序:GIMP
ADSL PPPOE
防火墙: gufw Firestarter
系统监视器:ksysguard
传感器(硬件温度):xfce4-sensors
飞鸽传书:iptux
音频视频刻录:Brasero
录音机:gnome-media
视频转换:WinFF
摄像头:Cheese
制作USB启动盘:usb-imagewriter
磁盘实用工具:gnome-disk-utility
IRC聊天:xchat
网络工具:gnome-nettool
备份工具:mintBackup
系统信息:HardInfo
域名拦截工具:mintNanny
本地搜索:catfish
密码管理:keepass2
离线
3.在Gnome中显示Debian菜单:
$ sudo vi /usr/share/desktop-directories/Debian.directory
NoDisplay=true 删除或注释
4.Debian 6.0下解决GDM3不能登录root超级用户的问题
ebian系统下面默认是不允许root用户登陆的,而且跟Ubuntu的解决方法有点不同,现摘录如下:
1、编辑/etc/pam.d/gdm3,注释掉含root的那行,变成这样:# auth required pam_succeed_if.so user != root quiet_success ;
2、编辑/etc/pam.d/gdm3-autologin,同样注释掉含root的哪一行,变成这样:# auth required pam_succeed_if.so user != root quiet_success ;
2、编辑/etc/gdm3/daemon.conf,里面的[security]选项下增加一行:AllowRoot=true
3、编辑/etc/gdm3/daemon.conf,[daemon]字段下追加如下两行:
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root
4、重启机器,就能自动以root登陆了。
注:有时候你可能还有这样的要求,希望出现登录画面,让你可以选择登录别的用户,但是在一定时间内(我们以10秒为例),用户没有选择别的用户登录,那么就自动以root登录系统。同样修改/etc/gdm3/daemon.conf,去掉刚才那2行,在[daemon]字段后面追加如下所示3行:
[daemon]
TimedLoginEnable=true
TimedLogin=root
TimedLoginDelay=10
5.Debian下彻底删除Gnome和KDE的方法:
删除KDE是
apt-get --purge remove libqt3c102-mt
删除Gnome是
apt-get --purge remove liborbit2
6.安装KDE中文桌面环境:
首先,我们需安装x-window系统,与安装gnome桌面环境一样:
debian:~# apt-get install x-window-system-core
接着就可安装kde系统,为了减少不必要的软件包,我只安装了KDE的核心软件包:
debian:~# apt-get install kde-core
好了,现在基本的kde环境已安装好,我们可用startx命令启动它。现在的kde是英文环境的。接下来我们要安装kde的国际化包kde-i18n-zh*,这里用星号表示安装所有的中文国际化软件包,你也可根据实际情况选择。这些国际化软件包里包含了KDE桌面环境的中文显示信息。
debian:~# apt-get install kde-i18n-zh*
在kde中要显示中文还要安装中文字体。有关字体的安装请参照上一节“安装gnome中文桌面环境”中有中文字体安装的内容。这里就不再介绍了。装完中文字体后,就可在KDE“控制中心”-->“区域和辅助功用”-->“国家/地区和语言”里添加中文语言,记住,要把中文语言放到第一位。这样,英文的KDE桌面环境就变成中文的了。
安装中文locales,方法同GNOME桌面系统。
开源软件都是跨平台的,在KDE中我们也可使用GNOME平台(基于GTK+)的程序,如firefox。在Debian系统的KDE中有一个软件包叫gtk2-engines-gtk-qt,可帮我们在KDE平台下管理GTK+程序的主题和字体配置,使GTK+程序就就像QT程序一样方便地进行配置。该套软件包中的主题配置引擎叫GTK-Qt Theme Engine,是由Freedesktop.org维护的,Freedesktop.org通过开发软件和制定标准,志在消除各X window桌面平台间的差异。GTK-Qt Theme Engine的网址是:http://www.freedesktop.org/wiki/Software_2fgtk_2dqt。在KDE中安装和配置gtk2-engines-gtk-qt软件包的方法如下:
用以命令安装gtk2-engines-gtk-qt软件包:
debian:~# apt-get install gtk2-engines-gtk-qt
安装完成后,就可在KDE的“控制中心”-->“外观和主题”-->“GTK Styles and Fonts”中配置GTK+程序的主题和字体。通过该工具,GTK+程序就可使用QT丰富的主题,并可在控制中心中方便地修改GTK+程序的字体。
7.设置电脑默认语言编码
dpkg-reconfigure locales
8.安装中文字体
ttf-arphic-ukai
ttf-arphic-uming
xfonts-wqy
wqy-zenhei
9.如何确认使用的Debian是什么版本:
cat /etc/debian_version
cat /etc/issue
cat /proc/version
uname -r uname -a
10.更改系统时区:
dpkg-reconfigure tzdata
11.设置ADSL拨号上网:
安装pppoeconf
建立连接:
pon dsl-provider
中断连接:
poff [dsl-provider]
查看连接情况:
plog
离线
Debian下载挂载磁盘:
一、增加一块硬盘:
1.fdisk -l 查看新硬盘名称:例如/dev/sdb
2.对新硬盘进行分区
fdisk /dev/sdb
3.格式化分区
mkfs -t ext3 /dev/sdb1
4.将位于/ 的home独立出来
先备份好home分区资料
挂载home
mount /dev/sdb1 /home
二、挂载CD
用dmesg |grep hd* 或sd 查看CD接口
新建临时挂载点 mkdir /mnt/cdrom
mount /dev/sr0 /mnt/cdrom
三、永久性挂载
编辑/etc/fstab 文件,添加相应的信息
离线
Debian 安装软件:
sudo apt-get install synaptic libgnome2-perl menu 安装新立得软件包管理器
sudo apt-get install stardict-gnome 安装星际译王
aptitude -t squeeze-backports install libreoffice 安装libreoffice(更新源中需要先添加Debian-backports)
中文语言包可以直接从新立得软件包管理器中下载安装后自动完成。
安装flashplugin:(squeeze版本无法直接apt-get install flashplugin-nonfree)
方法一:添加Debian-backports,然后用apt-get install flashplugin-nonfree安装
方法二:
flashplayer-mozilla Install Howto
Add the following line to /etc/apt/sources.list:
deb http://www.debian-multimedia.org squeeze main non-freeUpdate the package index:
# sudo apt-get updateInstall GPG key of the repository
# sudo apt-get install debian-multimedia-keyringInstall flashplayer-mozilla deb package:
# sudo apt-get install flashplayer-mozilla方法三:
下载deb的安装包,使用dpkg进行安装。下载地址:http://pkgs.org/#debian-squeeze
Debian 安装xfce4
http://wiki.debian.org/Xfce#Versions
How to install Xfce
Install a fresh system with Xfce
If you install a new system, you can choose to install Xfce directly :
At the Debian Installer boot prompt, press the tab key to edit the command line, then add
desktop=xfce
When prompted to select the task to install, make sure you click "Desktop Environment"
See Selecting and Installing Software in the Lenny (i386, amd64) installation guide.
Install Xfce in an already installed system
To get a bare minimum base install of X, do:
aptitude install xorgTo install Xfce, do the following:
aptitude install xfce4This will install a meta package, which will install the core XFCE modules and scripts to get it to work.
There are many useful utilities that come with XFCE, to install these:
aptitude install xfce4-goodiesRun Xfce
For GDM/KDM choose xfce4-session.
For startx add in file ~/.xinitrc:
exec ck-launch-session startxfce4For slim boot session in /etc/slim.conf:
login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %sessionYou also can install xdm to login in start Xfce.
debian Xfce4下安装网络管理器wicd
http://wiki.debian.org/WiFi/HowToUse
1.Update the list of available packages and install the wicd package:
$ su
# aptitude update
# aptitude install wicdAmend /etc/network/interfaces to contain only the following:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
2.# The loopback network interface
auto lo
iface lo inet loopback3.If not already performed, add your regular user account to the netdev group and reload DBus:
# adduser yourusername netdev
# /etc/init.d/dbus reload4.Start the wicd daemon:
# /etc/init.d/wicd start5.Start the wicd GUI with your regular user account:
# exit
$ wicd-client -n安装星际译王离线词典:http://abloz.com/huzheng/stardict-dic/ 备用在Godaddy.caizhengzhu.com FTP服务器上有。
下载词典后直接将文件夹复制到:/usr/share/stardict/dic/ 目录即可。
离线
安装Ibus-rime输入法
之前笔记本安装的是fcitx输入法,后来一次升级后出错就改用ibus了。ibus下一直使用sunpinyin googlepinyin之类的,不过使用起来明显不称心。今天无意中发现Ibus-rime输入法,中文叫:中州韻輸入法引擎 。
官方网站:http://code.google.com/p/rimeime/
其中提到:rime 已收錄於 Debian unstable (Sid)
在sources.list临时将wheezy 改为unstable 源,然后apt-get update,在apt-get install ibus-rime ,因为依赖一些包,所以需要apt-get -f install来解决后再进行安装,安装后就可以使用了。默认的是繁体,调整为简体:按F4选择4就可以了。当然别忘了将源中unstable该回去。
离线
linux mint安装ufw,禁止ping
这个防火墙是系统自带的,本来安装了Firestarter作为防火墙的,但Firestarter有个不喜欢的地方,就是每次上网方式改变就需要手动调整设备,比较麻烦,尤其正对笔记本这样的设备。测试了一下ufw并且安装gufw界面,感觉这个防火墙更加小巧一点,测试了一下基本能满足需求,就是在界面下不能设置禁止外部ping,网上搜寻一下解决方法如下:
nano /etc/ufw/before.rules允許ping
-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT禁止ping
-A ufw-before-input -p icmp --icmp-type echo-request -j DROP关于防火墙其他参考文章:http://wiki.ubuntu-tw.org/index.php?title=%E9%98%B2%E7%81%AB%E7%89%86
离线
使用pppoe ADSL 拨号上网
参考文章:http://wiki.ubuntu.org.cn/ADSL%EF%BC%88PPPOE%EF%BC%89%E6%8E%A5%E5%85%A5%E6%8C%87%E5%8D%97
1.安装pppoeconf
2.终端输入:pppoeconf 一直下一步直到结束就可以了。
3.用ifconfig查看是否连接成功,拨号命令:pon dsl-provider 断开命令:poff 、poff -a 、poff dsl-provider
离线
安装星际译王离线词库
1.apt-get install stardic
2.去http://abloz.com/huzheng/stardict-dic/下载离线词库
3.解压后复制到:cp stardict-langdao-* /usr/share/stardict/dic
网盘上也保留了部分词库的备份(百度和360网盘中)
离线
制作ubuntu 12.04 U盘安装
参考:http://www.pobeta.com/ubuntu12-04-upan.html
下载:ImageWriter ,将ubuntu ISO拓展名改为.raw就可以了。
注:ubuntu和debian一样,烧录到iso光盘都无法启动,以后还是用这种方法比较好。
注:使用ImageWriter后U盘会变小,得用这个方法来解决 http://www.caizhengzhu.com/viewtopic.php?pid=1181#p1181
另有U盘安装工具:http://www.pendrivelinux.com/
Debian部分参考:http://www.caizhengzhu.com/viewtopic.php?id=341
离线
安装编译环境
sudo aptitude install build-essential
离线
debian Firefox安装flash
直接在Mozilla官网下载程序直接运行即可,安装flash很简单
apt-get install flashplugin-nonfree离线
查看硬盘Load/Unload Cycle Count数值
apt-get install smartmontools
smartctl -a /dev/sda | grep 193离线
页面: 1