![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
iteye_15801
这个作者很懒,什么都没留下…
展开
-
linux访问Windows资源
使用smbclient访问Windows资源 [color=green]原文:[/color][url]http://tech.sina.com.cn/focus/FreeBSD/2000-01-10/183.shtml[/url] samba软件中用于访问网络上其他SMB资源的软件为smbclient,它是一个类似于ftp操作方式,通过远程操作的方式进行文件传递的软件。为了获得网络上可以...2008-04-01 17:11:12 · 110 阅读 · 0 评论 -
'for' and 'sed' command
sed -e '/^sshd/!d' hosts.deny | cut -d' ' -f2 -e '/^sshd/!d' 删除非‘sshd’开头的行 -d' ' 空格分隔 -f2 分隔后所得数组的第二个值 [quote]$ cat hosts.deny sshd: 117.21.249.75 sshd: 58.252.146.187 sshd: 217.111.0.6 sshd...原创 2009-09-10 23:11:41 · 81 阅读 · 0 评论 -
install memcached
[quote]http://www.iteye.com/topic/193900[/quote] Gentoo: [code="java"] # emerge -av net-misc/memcached dev-libs/libevent-1.4.11 net-misc/memcached-1.3.3-r2 配置文件: # emacs -nw /etc/con...原创 2009-07-29 14:41:19 · 86 阅读 · 0 评论 -
Linux系统命令行性能检测工具
http://www.chineselinuxuniversity.net/courses/using/introductions/25591.shtml原创 2009-07-27 23:36:39 · 111 阅读 · 0 评论 -
HOWTO_CVS_Server
http://gentoo-wiki.com/HOWTO_CVS_Server 丢失了,做个备份 [edit ] Introduction If you've ever had some sort of programming project where you didn't want to turn your code into a disorganize...原创 2009-07-21 10:42:45 · 120 阅读 · 0 评论 -
eclipse3.2.1 + junit4
环境:gentoo, eclipse-3.2.1 在eclipse中执行TestCase(使用junit-3.8.1.jar)时,出现如下错误: [quote]Cannot find 'org.junit.Test' on project build path. JUnit 4 tests can only be run if JUnit 4 is on the build path.[/qu...2008-11-24 18:56:05 · 100 阅读 · 0 评论 -
取消Linux下的鼠标中键粘贴功能
http://yujian5.spaces.live.com/blog/cns!6CDC9EF6CBD6E27C!777.entry [quote] Section "InputDevice" [...] Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "EmulateW.原创 2009-07-15 09:55:25 · 1782 阅读 · 0 评论 -
Enable gzip with Apache Tomcat proxy connector
[code="java"] vim /etc/apache2/vhosts.d/00_default_vhost.conf Servername localhost DocumentRoot "/home/mg/opt/tomcat/webapps/cityunion" ProxyRequests Off ...原创 2009-07-10 10:57:31 · 98 阅读 · 0 评论 -
gentoo revdep-rebuild 'not owned ... broken'
[quote] mg # revdep-rebuild * Assigning files to packages * !!! /home/oracle/product/10.2.0.1/bin/emagtm0 not owned by any package is broken !!! * /home/oracle/product/10.2.0.1/bin/emagtm0 -...2008-10-18 18:26:58 · 104 阅读 · 0 评论 -
scim for firefox 无须设置LC_CTYPE="zh_CN.UTF-8"
[code="java"]mg@mg ~ $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" ... LC_ALL=en_US.UTF-8[/code] 修改 etc\gtk-2.0\gtk.immodules 文件将中间的 [code="java"]"/usr/lib/gtk-2.0...2008-09-23 19:36:58 · 373 阅读 · 0 评论 -
Saving Power whith Linux
Saving power is a hot topic across the computer industry. For some, saving power means getting a longer battery life on their mobile devices, be it laptops or handhelds. For others, saving power means...原创 2008-08-06 12:04:01 · 81 阅读 · 0 评论 -
gentoo "gcc-config: active gcc profile is invalid"
[quote]gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc $ gcc-config -l $ gcc-config -c gcc-config: active gcc profile is invalid [/quote] [quote]Then we manually checked around. F...原创 2009-04-10 10:14:39 · 117 阅读 · 0 评论 -
转: Ubuntu下CVS服务器的搭建
参考来源:http://forum.ubuntu.org.cn/about8790.html 原文: [code]1.安装CVS,在新立得包管理器里面选中cvs(系统-系统管理-新立得软件包管理器,在右边的软件包列表中随便选中一个,然后键盘上按cvs这三个字母,就会定位到以这三个字母开头的软件包),然后点击鼠标右键,在菜单中选中标记以便安装。然后点击上方工具栏中的应用,系统会自动下载包...原创 2007-07-20 13:34:00 · 150 阅读 · 0 评论 -
emerging Gentoo
2008-04-24 : net ok error: unkown host --- dns not setup 2008-04-25: sound ok 终于可听音乐了 19:20,gnome ok Ubuntu is an African word meaning "I can't install Debian."原创 2008-04-25 18:26:07 · 74 阅读 · 0 评论 -
grep and sed
[code="java"]grep -n x.log sed -n '1000,2000p' x.log > target.log[/code]原创 2014-09-24 18:14:07 · 108 阅读 · 0 评论