以下是我的Fedora KDE 安装后的配置备忘录,也适用于Ubuntu。
last update 2016-05-21
sudo vim /etc/sysconfig/network-scripts/ifcfg-enp1s6
NAME=etho0
BOOTPROTO=static
IPADDR=192.168.1.200
NETMASK=255.255.255.0
NETWORK=192.168.1.1
ONBOOT=yes
修改/etc/ssh/sshd_config
,把UseDNS yes
改为UseDNS no
编辑/etc/nsswitch.conf
找到hosts那行,将其改成下面这样:
hosts: files dns [NOTFOUND=return]
重启ssh
sudo /etc/init.d/ssh restart
ALL
ALL_PROXY=socks5://127.0.0.1:8888 git clone https://github.com/some/one.git
user
vim ~/.bashrc
export http_proxy=http://192.168.1.101:808
export ftp_proxy=http://192.168.1.101:2121
apt-get
vim /etc/apt/apt.conf.d/00aptitude
Acquire::http::proxy “http://192.168.1.101:808”;
Acquire::ftp::proxy “ftp://192.168.1.101:2121”;
yum
sudo vim /etc/yum.conf
proxy=http://192.168.1.101:808
cpan
cpan
o conf init /proxy/
R
Sys.setenv(http_proxy="http://192.168.1.100:808")
Sys.getenv("http_proxy")
ssh客户端类型xterm,使用anci颜色,字符编码选utf-8
修改/etc/profile文件,添加. ~/.bashrc
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
. ~/.bashrc
fi
sudo yum install gcc gcc-c++ autoconf automake make libtool autoconf ncurses-devel
yum groupinstall "Development tools"
sudo yum install lm_sensors hddtemp
, run sudo sensors-detect
, and run sensors
sudo yum install glances python-pip
,sudo pip install pysensors
,glances
。参考。klamav.x86_64
: Clam Anti-Virus on the KDE DesktopSSH::Batch - Cluster operations based on parallel SSH, set and interval arithmetic
sudo wget http://repo.fdzh.org/FZUG/FZUG.repo -P /etc/yum.repos.d/ && sudo dnf install sogoupinyin
samba
by sudo dnf install samba* -y
smbclient -L 10.10.188.66
get the printer namesmb://10.10.188.66/CanonLBP2900
解决开机时候硬盘狂转。是updatedb运行造成的,停用或者改为每月一次即可。
sudo mv /etc/cron.daily/mlocate /etc/cron.daily/cron.monthly/