摘要:
for i in a b c do echo $i done !ser 历史补全 > 正确信息输出文件 >>正确信息输出文件 ,追加 2>错误信息输出文件 2>> 错误信息输出文件 追加 &>> 全部输出 free -m | grep -i mem | awk '{print $4,$3}' pwd 阅读全文
posted @ 2016-05-14 22:27
Ali.Blacken
阅读(129)
评论(0)
推荐(0)
摘要:
接下来使用npm命令安装express和socket.io 没有的话 用yum 安装一下 安装成功后,应该可以看到工作目录下生成了一个名为node_modules的文件夹,里面分别是express和socket.io,接下来可以开始编写服务端的代码了,新建一个文件:index.js 命令行运行nod 阅读全文
posted @ 2016-05-14 22:26
Ali.Blacken
阅读(277)
评论(0)
推荐(0)
摘要:
server { listen 80 ; server_name user.fudaobank.com; index index.html index.htm index.php; root /alidata/www/abc; location ~ .*\.(php|php5)?$ { fastcg 阅读全文
posted @ 2016-05-14 22:25
Ali.Blacken
阅读(1881)
评论(0)
推荐(0)
摘要:
windows下压缩一下空间 直接装centos 找到分配给linux的/boot目录,然后修改grub/menu.lst文件,更换一下位置即可 阅读全文
posted @ 2016-05-14 22:24
Ali.Blacken
阅读(178)
评论(0)
推荐(0)
摘要:
yum groupinstall "Desktop"yum groupinstall "X Window System"yum groupinstall "Chinese Support" startx 阅读全文
posted @ 2016-05-14 22:23
Ali.Blacken
阅读(158)
评论(0)
推荐(0)
摘要:
可以在安装的时候,点击网络配置 1.修改网卡配置 编辑:vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 #描述网卡对应的设备别名,例如ifcfg-eth0的文件中它为eth0 BOOTPROTO=static #设置网卡获得ip地址的 阅读全文
posted @ 2016-05-14 22:22
Ali.Blacken
阅读(905)
评论(0)
推荐(0)
摘要:
[root@iZ25r0ej7v1Z mnt]# fdisk /dev/xvdx WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') an 阅读全文
posted @ 2016-05-14 22:21
Ali.Blacken
阅读(230)
评论(0)
推荐(0)
摘要:
--gethtml function gethtml (url) local sz = require("sz") local http = require("szocket.http") local res, code = http.request(url); return res end --------------------------------------------------... 阅读全文
posted @ 2016-05-14 22:20
Ali.Blacken
阅读(313)
评论(0)
推荐(0)
摘要:
编辑/etc/fstab 比如想在开机的时候将/dev/sda1安装在/mnt 可以在/etc/fstab中加入一行 /dev/sda1 /mnt ext3 defaults 0 1 阅读全文
posted @ 2016-05-14 22:20
Ali.Blacken
阅读(170)
评论(0)
推荐(0)
摘要:
ps -ef kill -s 9 6485 阅读全文
posted @ 2016-05-14 22:18
Ali.Blacken
阅读(113)
评论(0)
推荐(0)

浙公网安备 33010602011771号