linux

【linux】/bin/bash^M: bad interpreter: No su...

执行一个脚本iptables.sh 时, 一直是提示我: -bash: ./iptables.sh: /bin/bash^M: bad interpreter: No such file or ...

【linux】PHP 控制 树莓派 gpio 高低电平

PHP 控制 树莓派 gpio 高低电平 安装wiringpi 库 和 php扩展 【wiringPi】     【开发语言】——C语言 【简单介绍】——wiringPi适合那些具有C...

【linux】ubuntu iptables设置

root@qustdjx-K42JZ:/home/qustdjx# iptables -L -n Chain INPUT (policy ACCEPT) target prot opt sourc...

【linux】php-nginx 500: is not within the al...

php-nginx 500: is not within the allowed path(s) 是指:php.ini设置了某个文件没有读的权限:open_basedir 解决办法,在php.in...

【linux】screen解决vps安装lnmp时断线问题

当通过putty或者SecureCRT安装lnmp时,网络突然掉线或者不小心putty被关掉等等原因,造成lnmp安装过程被中断怎么办,其实防止这种现象很简单,只要在安装lnmp前执行screen命令...

【linux】Centos6 关闭防火墙命令

1) 永久性生效,重启后不会复原 开启: chkconfig iptables on 关闭: chkconfig iptables off 2) 即时生效,重启后复原 开启: se...

【linux】linux图片处理ImageMagick以及PHP的imagick扩展

ImageMagick介绍:   ImageMagick是一套功能强大、稳定而且开源的工具集和开发包,可以用来读、写和处理超过89种基本格式的图片文件,包括流行的TIFF、JPEG、...

【linux】关于linux的.bash_history

linux的.bash_history的作用是什么呢? Bash shell在“~/.bash_history”(“~/”表示用户目录)文件中保存了500条使用过的命令,这样可以使你输入使用过的...

【linux】关于centos网卡配置文件

vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet ONBOOT=yes BOOTPROTO=dh...

【linux】关于Moosefs分布式存储

一、MFS概述、特性 MooseFS是一个分布式存储的框架,其具有如下特性: Free(GPL) 通用文件系统,不需要修改上层应用就可以使用(那些需要专门api的dfs很麻烦!)。 ...