- 博客(32)
- 收藏
- 关注
转载 Set up Memcached as a service
From: http://www.lullabot.com/articles/installing-memcached-redhat-or-centos (Lullabot)Just having memcache installed will not do anything by itself, we need to actually start up some instan
2012-08-23 22:27:37 542
转载 git服务器搭建过程
from :http://blog.csdn.net/ice520301/article/details/6142503Author: ice520301http://blog.csdn.net/ice520301/article/details/6142503参考网上资料搭建git服务器过程记录 如下:需求硬件需求:一台Ubuntu或者debian电脑
2012-08-22 14:34:28 636
转载 Installing Git on a server (Ubuntu or Debian)
Installing Git on a server (Ubuntu or Debian)From: http://www.hackido.com/2010/01/installing-git-on-server-ubuntu-or.htmlI'm shutting down my old blog for good soon.. This is one of the last p
2012-08-20 22:33:52 738
转载 shell脚本“syntax error:unexpected end of file”解决方案
From: http://renyongjie668.blog.163.com/blog/static/1600531201172803244846/2011-08-28 12:53:18| 分类:编程技术 | 标签:shell linux 学习笔记 编程 |字号 订阅今天在写Shell时,运行时出现了这样的错误。git-sync-tree.sh
2012-08-10 21:57:54 3823
转载 7 Linux Grep OR, Grep AND, Grep NOT Operator Examples
by Ramesh Natarajan onOctober 21, 2011http://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/Question: Can you explain how to use OR, AND and NOT operators in Unix grep command with
2012-07-30 19:57:24 895
转载 cvsd
# addgroup --system cvsd (or groupadd) # adduser --system --ingroup cvsd --home /var/lib/cvsd \ --shell /bin/false --gecos 'cvs pserver daemon' cvsd # cvsd-buildroot /var/lib/
2012-07-27 15:14:25 4868
转载 linux db2安装及卸载
from:http://ilexes.blog.51cto.com/705330/327158author:ilex在虚拟机上的redhat linux enterpise v5 上安装 db2 express_c 9.5 1、将db2 linux版本安装包通过ftp 上传到linux服务器上 2、解压 tar -zxvf db2文件包 3、cd expc 进入到解压后
2012-07-16 22:16:43 988
转载 sudo: sorry, you must have a tty to run sudo
from: http://www.question-defense.com/2009/03/23/sudo-sorry-you-must-have-a-tty-to-run-sudoI was recently working on a Perl script that would SSH to another server and run a sudo command on the re
2012-07-13 09:31:08 1050
转载 Send Remote Commands Via SSH
from: http://systemsboy.com/2006/07/send-remote-commands-via-ssh.htmlThis is one of those “I’m posting it so I remember, ’cause I keep forgetting” posts. It’s also astoundingly cool, though, i
2012-07-13 09:16:08 695
转载 HOW TO: Using CVS
本文出自 “凌辉” 博客,出处 http://tianli.blog.51cto.com/190322/32266机器的环境变量CVSROOT=:pserver:administrator:lili00okok@211.68.87.141:2401/RepositorycvsNT配置如图cvsnt.bmp,cvsnt2.bmp
2012-07-11 21:44:47 666
转载 Ubuntu 中sendmail 的安装、配置与发送邮件的具体实现
from: http://mars914.iteye.com/blog/1470961 author:mars914一、安装 ubuntu中sendmail函数可以很方便的发送邮件,ubuntu sendmail先要安装两个包。必需安装的两个包:Java代码 "font-size: small;">sudo apt-get i
2012-07-11 17:19:49 2005
转载 Resolving a 'sticky tag is not a branch' error
from: http://drupal.org/node/57516 Edited by jhodgdon, aclight, dww, kbahey. Last updated May 7, 2009. Created by ugerhard on April 6, 2006.Edited by jhodgdon, aclight, dww, kbahey. Log
2012-07-11 01:14:14 662
转载 Creating SQL procedures from the command line
document origin URL: http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.sql.rtn.doc%2Fdoc%2Fr0012547.htmlPrerequisitesThe user must have the privileges req
2012-06-11 09:44:33 530
转载 vim的分割窗口
原文转载自:vim的分割窗口 作者:网友 星光居士 同时显示两个不同的文件,或者同时查看一个文件的两个不同的部分,甚至同步显示两个文件的不同之处,都可以使用vim的分割窗口来实现。 最简单的打开新窗口的方法就是使用命令:split,这样,原来的窗口就会分成上下两个部分,而光标停留在上明的窗口里。你会发现打开的新窗口和你原来的窗口都是显示的同一个文件。可以通过
2012-05-25 19:46:26 496
转载 phpize以及memcache安装
phpize以及memcache安装 转载自: http://www.cooli.cc/archives/70.html 作者: 酷爱–cooli.cc解压Centos.**.isomount -o loop **.iso /path安装php-devel(phpize包含在该包中)yum install php-develrpm -ivh *.rpmLinux下的
2012-05-10 14:44:57 916
转载 vim多行注释、替换和其他操作
转载自: http://hi.baidu.com/yanyulou/blog/item/728ba344709aea81b3b7dc6d.html原作者:网友 听妈妈的话多行注释::.,+3 s/^/#/g 注释从当前行起的后三行(不含当前行)vi替换命令用法详解:引用:ranges/pat1/pat2/g 其中 : 这是V
2012-05-02 16:17:42 1518
转载 tmux 键盘操作
Originally article please refer to:here类似各种平铺式窗口管理器,tmux使用键盘操作,常用快捷键包括:Ctrl+b激活控制台;此时以下按键生效系统操作?列出所有快捷键;按q返回d脱离当前会话;这样可以暂时返回Shell界面,输入tmux attach能够重新进入之前的会话
2012-03-23 16:15:50 828
转载 [余晟] 程序员学英语三部曲
作者:余晟点击打开链接作者在IT业从业多年,翻译过多本技术图书,对英语的学习方法也有颇多积累。在本文中,他更是敞开心扉,分享了自己压箱底的三大绝技。总的来说,程序员算是英语水平比较好的群体,因为在这个行业,英文资料是最全面、最及时、需求也最迫切的。因此,据我观察,即便刚入门不久的程序员,面对陌生的问题,一般也能查阅英文文档,找到需要的信息。但同时,我也发现,经常阅读英文文档
2012-03-23 14:43:21 1346
转载 Basic "vi" features
To see the original article please refer to link: http://www.yolinux.com/TUTORIALS/LinuxTutorialAdvanced_vi.html One edits a file in vi by issuing the command: vi file-to-edit.txtThe vi ed
2012-03-22 08:42:42 452
转载 shell 的If语句解析
第一部分 转载自:http://canofy.iteye.com/blog/252289第二部分 转载自:http://hi.baidu.com/caosicong/blog/item/7873e2166b8f6154f3de3280.html判断文件是否存在:shell判断文件,目录是否存在或者具有权限 #!/bin/sh myP
2012-03-13 22:18:22 752
转载 [阮一峰]处理Apache日志的Bash脚本
原文转载自: http://www.ruanyifeng.com/blog/2012/01/a_bash_script_of_apache_log_analysis.html 作者:阮一峰处理Apache日志的Bash脚本作者: 阮一峰日期: 2012年1月 6日去年一年,我写了将近100篇网络日志。现在这一年结束了,我要统计"访问
2012-02-21 15:28:26 1176
转载 ubuntu下使用Xdebug
You can refer to source url this article: http://www.zhuoda.org/xiezhi/102263.html利用Xdebug+VIM配置的新的测试环境,能跟踪代码执行过程以及每一步的执行结果。Zend Eclipse的debug功能更为强大,配置也简单,不过公司的机器用了Xdebug,两者只能选其一~ Ubuntu+PHP+A
2012-02-20 00:09:56 772 2
转载 Linux操作系统下三种配置环境变量的方法
转载自: http://www.linuxeden.com/html/sysadmin/20080424/56879.html 作者: Linuxeden现在使用linux的朋友越来越多了,在linux下做开发首先就是需要配置环境变量,下面以配置java环境变量为例介绍三种配置环境变量的方法。 1.修改/etc/profile文件 如果你的计算机仅仅作为开发使用时推荐使用
2012-01-11 19:39:15 417
转载 LINUX 环境变量总结
转载自:http://blog.csdn.net/ddviplinux/article/details/4280433 作者:丁宏亮我们在Linux下安装系统软件的时候,经常遇到一些系统环境变量配置的问题。什么是环境变量?如何定制环境变量?我将在下面做一些介绍。一、什么是环境变量?Linux是一个多用户的操作系统。多用户意味着每个用户登录系统后,都有自己专用的运行环
2012-01-11 19:28:33 356
转载 Linux下更改用户的主目录
文章转载自: http://blog.csdn.net/mfjun007/article/details/611901 作者:mfjun007(子皿) 近日使用Red Hat Linux AS 4时,遇到剩余磁盘空间不能利用的问题。因为以前在使用图形工具或者命令建立用户时,并没有注意用户的主目录全部选择的是默认的即 /home/用户名,近日提示磁盘空间不足时,感到非常迷惑,为什么80G
2012-01-11 17:18:54 1330
翻译 VirtualBox cannot ping Windows7 (host), Ubuntu (guest)
Question:I have successfully installed a Ubuntu 11 OS on VirtualBox with Windows 7 as host.The Ubuntu guest is able to navigate on the Internet but I'm not able to ping the guest from the host and
2012-01-06 22:33:02 689
转载 VirtualBox Network with Host Windows 7
文章转载自:http://www.sysprobs.com/virtualbox-network-host-windows-7Let’s see how we can setup VirtualBox network with host windows 7. VirtualBox can virtualize the following five types of networ
2012-01-06 21:51:12 815
原创 How to install data-share area on VisualBox 4
To share folders from windows host, We must install VBoxLinuxAdditions to be able to share my folders using vboxfs.So, when Virtuabox Addons iso mounted :1.$ sudo mount -o loop VBoxGuestAddition
2011-12-15 21:45:11 410
原创 How to print PHP call stack to generate a debug log
欢迎转载,请注明作者及出处1st Way:Use PHP methoddebug_backtrace and/ordebug_print_backtrace to generate a backtrace.though those 2 methods you will get an array like this one :array(2) {[0]=>arra
2011-12-07 16:04:22 1551
转载 NETBEANS 的好用快捷键
1、完成代码:ctrl+\ //任何地方按下此组合键,均会提示相应的参考字段;2、错误提示:alt + enter //顾名思义,当系统报错时,按下此组合可以查看系统提示;3、自动完成字符串: ctrl+L ctrl+k //后者(Ctrl+L没用过)组合键自动打出字符串,每按一次打出一个新串,串序自下向上;4、右键:修复自动导入5、右键:格式化代码风格
2011-12-07 15:22:51 372
原创 [CSS]通过样式约束页面图片的长宽
<br /><br /><br />通过样式约束页面图片的长宽比例<br /><br /><br /><br />FireFox及IE7以上浏览器采用: max-width:600px; <br /><br />IE6内核浏览器采用: width:expression(document.body.clientWidth>600?"600px":"auto")<br /> <br />
2011-01-27 12:05:00 780
原创 【flex工具】Flex处理JSON官方工具包及使用示例
1)项目URL:https://github.com/mikechambers/as3corelib2)使用示例:
2010-12-08 15:56:00 2076
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人