进程ID每一个进程都有一个唯一的进程ID。几个特殊进程:0号进程是内核进程,一般是调度进程swapper。1号进程init,是用户进程(以root权限执行/sbin/init),负责初始化。几个重要函数:getpid(进程ID)/getppid(父进程ID)/getuid(进程真有用户ID)/get...
分类:
其他好文 时间:
2014-07-07 21:08:38
阅读次数:
151
执行启动nginx:/usr/local/nginx/sbin/nginx
错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
查找:[roo...
分类:
其他好文 时间:
2014-07-06 00:11:52
阅读次数:
205
There's a much simpler solution for this. Try running the following command:sudo /usr/sbin/DevToolsSecurity --enable
分类:
数据库 时间:
2014-07-05 22:43:50
阅读次数:
451
创建zybo cluster的spark集群(计算层面): 1.每个节点都是同样的filesystem,mac地址冲突,故: vi ./etc/profile export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b...
分类:
其他好文 时间:
2014-07-05 17:29:31
阅读次数:
549
/bin,/sbin,/usr/bin,/usr/sbin区别/ : this is root directory root 用户根目录/bin : commands in this dir are all system installed user commands 系统的一些指令/sbin: c...
分类:
系统相关 时间:
2014-07-03 06:29:10
阅读次数:
223
一、编译安装第一个MySQL 5.1.33cd /opt/usr/sbin/groupadd mysql/usr/sbin/useradd -g mysql mysql -s /bin/nologin -d /usr/local/mysqltar -zxvf mysql-5.1.33.tar.gzc...
分类:
数据库 时间:
2014-07-02 14:17:19
阅读次数:
346
####yuminstall##yuminstallgccgcc-c++openssl*ntpperl-ExtUtils-CBuilderperl-ExtUtils-MakeMaker-yecho‘exportLC_ALL=C‘>>/etc/profiletail-1/etc/profilesource/etc/profile/usr/sbin/ntpdatepool.ntp.org####installnagios###/usr/sbin/addusernagios-M-s/sbin/nolog..
分类:
移动开发 时间:
2014-07-02 11:31:30
阅读次数:
191
#!/bin/sh#varnish切割日志,每隔一天切割一次/usr/sbin/ntpdate202.112.10.36>>/dev/nulllogpath=/Data/logsif[-f$logpath/varnish.log];thenmv$logpath/varnish.log$logpath/varnish.`date"+%Y-%m-%d"`.logkillall-9varnishncsa/usr/bin/varnishncsa-n/var/lib/varnish..
分类:
其他好文 时间:
2014-07-02 06:34:33
阅读次数:
251
#> /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT # 开放80端口了
分类:
系统相关 时间:
2014-07-01 22:28:10
阅读次数:
355
Linux下Memcached的安装步骤,如果出现/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory异常在/etc/ld.so.conf中加入/usr/local/lib这一行,保存之后,再运行:/sbin/ldconfig –v更新一下配置即可。...
分类:
系统相关 时间:
2014-06-30 09:20:50
阅读次数:
320