linux
文章平均质量分 50
xing2233
xing8901@foxmail.com
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux---网络配置
查看系统有几块网卡ifconfig -a原创 2014-08-25 22:05:16 · 368 阅读 · 0 评论 -
linux系统管理---获取文件的大小
wc -c index.php | cut -f1 -d ' '原创 2015-04-10 17:15:23 · 331 阅读 · 0 评论 -
samba---启动smaba后nginx 11 resource temporarily unavailable
原文:http://stackoverflow.com/questions/10202567/nginx-resource-temporarily-unavailable-using-a-samba-share错误:open() “/data/hx/test/index.html” failed (11: Resource temporarily unavailable), client: 172.转载 2015-06-24 18:34:41 · 871 阅读 · 0 评论 -
lnmp---环境搭建
1、安装nginxnginx下载 http://nginx.org/en/download.html原创 2014-10-05 20:41:02 · 508 阅读 · 0 评论 -
order---linux下查找大于某数值的文件
find path -size [+/-]N[bcwkMG]find / -size +100M #找"/"目录下大于100M的所有文件原创 2015-07-07 17:46:36 · 4361 阅读 · 0 评论 -
samba---安装和使用
一、安装[root@localhost ~]# yum -y install samba原创 2014-09-24 21:14:03 · 572 阅读 · 0 评论 -
complie---php5.6源码编译
环境:centos 6.4 php下载地址:http://php.net/downloads.phpphp简单编译安装参考:http://cn2.php.net/manual/zh/install.unix.nginx.php 安装php必须 安装的依赖 yum install libxml2 libxml2-develyum -y install wgetcd /homewget htt原创 2016-03-28 16:16:45 · 853 阅读 · 0 评论 -
用shell脚本监控进程是否存在 不存在则启动的实例
#!/bin/shps -fe|grep processString |grep -v grepif [ $? -ne 0 ]thenecho "start process....."elseecho "runing....."fi#####processString表示进程特征字符串,能够查询到唯一进程的特征字符串0表示存在的$? -ne 0 不存在,$? -eq 0 存在原创 2017-11-09 14:18:48 · 697 阅读 · 0 评论 -
linux – signal 信号列表
转自:http://blog.youkuaiyun.com/wesleyluo/article/details/5279482信号 取值 默认动作 含义(发出信号的原因)SIGHUP 1 Term 终端的挂断或进程死亡SIGINT 2 Term 来自键盘的中断信号SIGQUIT 3转载 2017-11-09 14:20:03 · 20661 阅读 · 0 评论 -
linux 进程间通讯方式
1 无名管道通信无名管道( pipe ):管道是一种半双工的通信方式,数据只能单向流动,而且只能在具有亲缘关系的进程间使用。进程的亲缘关系通常是指父子进程关系。2 高级管道通信高级管道(popen):将另一个程序当做一个新的进程在当前程序进程中启动,则它算是当前程序的子进程,这种方式我们成为高级管道方式。3 有名管道通信有名管道 (named pipe) : 有名管道也是半双工的通信方式,但是它允许转载 2017-12-17 16:58:09 · 451 阅读 · 0 评论 -
shell---解决shell脚本中回车换行导致command not found
sublime textView->Line endings->UnixeditplusDocument->File Fomart(FR/LF)->Change File Format原创 2015-04-07 11:36:05 · 3025 阅读 · 1 评论 -
linux系统管理---同步时间
crontab -e#每天0点同步时间0 0 * * * /usr/sbin/ntpdate time.nist.gov > /tmp/time.log原创 2015-04-10 16:35:31 · 349 阅读 · 0 评论 -
CentOS开启SELinux导致samba无法访问的解决办法
转载于:http://1381479.blog.51cto.com/1371479/417950CentOS开启SELinux导致samba无法访问的解决办法安装CentOS默认是开启SELinux的,所以会导致samba、ftp等应用程序无法访问相应目录,解决办法如下开启Samba用户HOME目录权限/usr/sbin/setsebool -P samba_enable_ho转载 2015-04-02 14:22:55 · 5147 阅读 · 0 评论 -
LAMP---环境搭建
1、安装apache[html] view plaincopy在CODE上查看代码片派生到我的代码片yum install httpd httpd-devel 2、安装php[html] view plaincopyyum groupinstall php yum install php-mysql php-devel 3、安装mysql[html] view plai原创 2014-08-09 15:55:57 · 363 阅读 · 0 评论 -
linux---selinux
临时关闭seclinuxsetenforce 0永久关闭vi /etc/sysconfig/selinux设置SELINUX=disabled原创 2014-08-25 22:30:42 · 453 阅读 · 0 评论 -
compile---php缺少phpize或者php-config
当需要编译php扩展的时候,缺少phpize或者php-config,说明没有安装php-deve原创 2014-10-08 22:16:46 · 808 阅读 · 0 评论 -
软件安装--telnet客户端和服务的安装
环境: yum -y telnet telnet-server原创 2014-10-09 22:52:00 · 1269 阅读 · 0 评论 -
comile---php安装memcached 扩展
环境:centOS6.4_32原创 2014-10-08 23:12:29 · 439 阅读 · 0 评论 -
防火墙---iptables
临时关闭iptables /原创 2014-08-25 22:31:44 · 448 阅读 · 0 评论 -
linux 常用命令
关机命令原创 2014-08-09 15:33:57 · 410 阅读 · 0 评论 -
system---修改linux时区为上海
[root@localhost /]# vi /etc/sysconfig/clockZONE="Asia/Shanghai"[root@localhost /]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimecp: overwrite `/etc/localtime'? y[root@localhost /]# dateWed原创 2014-12-03 09:28:26 · 2857 阅读 · 0 评论 -
I/O函数图例
例:转载 2017-12-27 18:40:40 · 483 阅读 · 0 评论
分享