http://blog.panks.me/posts/2013/11/install-gdb-on-os-x-mavericks-from-source/注意最后两步:killall
taskgated (不行可以加sudo)codesign -fs gdbc /usr/local/bin/gdb ...
分类:
数据库 时间:
2014-05-08 13:53:15
阅读次数:
304
#!/bin/bashnetmask=255.255.255.0IP_PATH=/etc/sysconfig/network-scripts/ifcfg-eth0GM_PATH=/etc/sysconfig/networkecho
-e "Please input IP(FORMAT:192.168...
分类:
系统相关 时间:
2014-05-08 12:59:48
阅读次数:
318
卸载LDAP1、注销服务器到目录/ldap/iamldap/dscc6/bin下# ./dsccreg
remove-server -h 主机名 /ldap/iamldap/var/dscc6/dcc/iamEnter DSCC administrator’s
password:/ldap/iaml...
分类:
其他好文 时间:
2014-05-07 17:22:58
阅读次数:
363
一、文件目录:/bin 系统放置执行文件的目录,主要有:
mv,mkdir,cp,bash/boot 这个目录主要在放置开机会使用到的文件,包括Linux内核文件以及开机菜单与开机所需配置文件等/dev
在Linux系统上,任何设备与接口都是以文件的形式存在于这个目录当中/etc 系统主要的配置文件...
分类:
系统相关 时间:
2014-05-07 17:09:49
阅读次数:
466
Check nagios配置文件报错如下:[nagios@2 etc]$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.0.6Copyright (c) 2009-present Nagios Core Development Team and Community Contributor...
分类:
移动开发 时间:
2014-05-07 15:47:14
阅读次数:
449
方法1:./test &方法2:(./test &)方法3:nohup
和bg方法4:screen -mS test /root/test
退出程序需要手动进入screen创建的test虚拟终端去退出方法5:修改并保存一下代码为脚本,运行 #!/bin/bash NAME=$(basename
"....
分类:
系统相关 时间:
2014-05-07 15:03:04
阅读次数:
421
Downloading the module:sudo apt-get install
python-tksimple example:#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode
Tkinter tutorialThis script sho...
分类:
编程语言 时间:
2014-05-07 14:46:05
阅读次数:
454
sudo wget
http://pecl.php.net/get/memcache-2.2.1.tgzsudo tar vxzf memcache-2.2.1.tgzcd
memcache-2.2.1/sudo /opt/lampp/bin/phpize./configure --with-php...
分类:
其他好文 时间:
2014-05-07 14:14:43
阅读次数:
275
linux中除了常见的读(r)、写(w)、执行(x)权限以外,还有3个特殊的权限,分别是setuid、setgid和stick
bit1、setuid、setgid先看个实例,查看你的/usr/bin/passwd 与/etc/passwd文件的权限[root@MyLinux ~]#
ls -l /...
分类:
系统相关 时间:
2014-05-07 12:53:07
阅读次数:
365
最近做个DG的归档日志删除,[oracle@.local logs]crontab -l
* 8 * * * sh /home/oracle/dbscripts/del_arc.sh
该脚本分别调用 生成 删除 校验 三个脚本cat del_arc.sh
#! /bin/bash
source /home/oracle/.bash_profile
sh /home/oracle/dbscrip...
分类:
数据库 时间:
2014-05-07 11:29:48
阅读次数:
519