Tested on platform:
#
vmware
Linux ubuntu 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686 GNU/Linux
DISTRIB_ID=Ubuntu; DISTRIB_RELEASE=10.04; DISTRIB_DESCRIPTION=“Ubuntu 10.04.4 LTS”
httpd-2.0.64.tar.bz2; net-snmp-5.4.4; mod_ap2_snmp_1.04.
sudo -s;
apt-get remove lamp-server^ snmpd # if you have already installed apache or snmp-server.
Just do it:
#
http://mod-apache-snmp.sourceforge.net/english/docs.htm
(below is a summary)
1) Install Apache Web Server with DSO support enabled.
./configure --enable-so; make; make install 2) Unzip NET-SNMP sources.
3) Unzip Mod-APACHE-SNMP sources.
...
The path "" is not valid path to the gcc binary. Would you like to change it? [yes] when typed in "/usr/bin/gcc" manually,
The path "/usr/bin/gcc" is not valid path to the gcc binary. Would you like to change it? [yes] I found solution:
http://superuser.com/questions/192047/gcc-path-not-valid-when-installing-vmware-tools-from-vmware-workstation-7-1-1-bu
ie: sudo apt-get install linux-source linux-headers-uname -r libglib2.0-0
// Got “If you wish to have the shared folders feature, you can install the driver by running vmware-config-tools.
...
ref: networkquestions.org
Note: Putty officially recommends to use Bitvise SSH Client & Server.
终端默认是使用windows的编码方式(GBK),我们需要手动改为UTF-8
再次重启的时候就不会是乱码了:
[root@mail ~]# service httpd restart 停止 httpd: [确定] 启动 httpd: [确定] [root@mail ~]# 这是终端的乱码问题,再说一下打开中文文件乱码问题。
在很多的配置文件中,含有中文,用vi打开时也是会乱码。首先我们系统中要有中文语言显示包(fonts-chinese),否则改为UTF-8也是会乱码。
[root@mail ~]# cat /etc/sysconfig/i18n
LANG=”zh_CN.UTF-8″
[root@mail ~]#
上面的设置,系统语言为中文,如果想改为英文的话,替换为:
LANG=”en_US.UTF-8″ 保存即可。
临时性改变语言:export LANG=en_US.UTF-8
echo $LANG //查看语言
另一个:
ref: ylmf.net
字符乱码:
在window-〉Appearance-〉Translation中,Received data assumed to be in which character set 中,把Use font encoding改为UTF-8.
如果经常使用,把这些设置保存在session里面.
/* 下面的有待研究 ….
登录成功后,在shell中输入:export LC_ALL=‘zh_CN.utf8’,现在已经可以完美的支持中文了.
打开putty主程序,选择window-〉Appearance-〉Font settings-〉Change…,选择Fixedsys字体,字符集选择CHINESE_GB2312。
默认情况下,putty对中文的支持却让人不敢恭维,如果远程linux的locale设置为zh_CN.*(bg2312,gbk,utf8等等),显示就是乱码。经研究发现,其实putty的中文支持还是很好的,呵呵
...
see also jlevy/the-art-of-command-line (multi-language)
from: qa.taobao.com
最近接触了下淘宝的性能框架PAP,觉得系统中的监控真的做的很不错,但是非pap运行的程序,则无法监控,同时也查了下淘宝性能百科对监控命令Sar介绍,觉得讲的比较粗,这里把自己以前用过的Sar监控分享下;有问题,大家共勉哈!
See also: Network Hardware - Fiber: /fiber. NMAP: /nmap.
GUI
#
卓岚 TCP&UDP 调试工具 (兼容服务端监听和客户端主动连接) Private IPv4 Network & Ranges
#
10.0.0.0/8 ( 10.0.0.0 - 10.255.255.255 ); 172.16.0.0/12 ( 172.16.0.0 - 172.31.255.255 ); 192.168.0.0/16 ( 192.168.0.0 - 192.168.255.255 ) ref: 内网 IP 段有哪些
Tools
#
performance
#
Win: Releases · ar51an/iperf3-win-builds.
Nix:
apt install iperf3 iperf3 -s -D # some test here pkill iperf3 && netstat -tulvpn trace route
#
mtr (my traceroute / traceroute 2.
...
http://emuch.net/html/201004/1951179.html
如果说本科期间我拓宽了一下知识面算是个收获的理由,那么这一年半我真是对不起我自己了.
还有半年,我能做的就是"struggle for success"了,向这个女生学习.
也向zq和那个泰国人借鉴"just do it"的优点.
还有半年, 半年后我是谁?
我有我的plan
立此存照
的plan
立此存照
nbsp;
ubuntu 11.10 64bit.
eric4 启动后窗口一闪即告崩溃。
命令窗口启动发现:
Connected to accessibility bus at: “unix:abstract=/tmp/dbus-5rwqiiCSZ1,guid=a3330f45019a77c867e77525000000a2”
Registered DEC: true
sudo 正常启动,无此提示,因此怀疑是环境变量的问题。
g后发现:
http://ubuntuforums.org/showthread.php?t=1861605
即:
export QT_ACCESSIBILITY=0
问题解决。
ps:
Accessibility in Qt
#
by Geir Vattekar
Accessibility in computer software is the practice of making applications usable for people with disabilities. This can be implemented by the application itself — for instance, by using a high-contrast user interface with specially selected colors and fonts — or by providing support for external tools, such as screen readers and Braille displays.
...
Ubuntu 18.04
#
The default ibus-based Chinese input method is ready to use.
Thus, just change the language & input settings.
Kubuntu
#
For Kubuntu 18.04, it is a good way to install fcitx-based methods.
sudo -s apt install fcitx fcitx-googlepinyin cat >>/etc/environment <<EOD GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx EOD 设置》启动》添加自启动项(startup): fcitx -d
Xubuntu 在 开始菜单》所有设置 里面。
Lubuntu 在 开始菜单》Preferences->Default applications for LXSession
(建议默认英文输入法)
重新登录后,Ctrl + 空格可以调用输入法,shift 切换中英文。
dated below
#
ubuntu 11.
...
See also: code & project management software
Rachota,java,个人时间跟踪用.(在我的中文 ubuntu 上运行,很多方块 …..)
Dotproject 貌似很牛,上次看 proj 管理也看到了.但是 demo 为什么打不开 ….
Kimai 太复杂了.
7 Best Free Linux Time Tracking Software
#
ref
Time Tracking [Project Hamster](http://www.linuxlinks.com/article/20120102092428825/ProjectHamster.html) Time tracking applet for the GNOME desktop environment [Kimai](http://www.linuxlinks.com/article/20120106091739996/Kimai.html) Web based software that tracks work time, and classifies it [Task Coach](http://www.linuxlinks.com/article/20101002094015328/TaskCoach.html) Designed to deal with composite tasks [Rachota](http://www.linuxlinks.com/article/20120106092050297/RachotaTimetracker.html) Designed for personal timetracking of projects [dotProject](http://www.linuxlinks.com/article/20090410203917702/dotProject.html) Web-based, multi-user, multi-language project management application [Kontact](http://www.
...