摘要: 最近新搭建了服务器,在安装XAMPP时,出现错误:################unable to realloc 83886080 bytes或者出现 系统自动kill pid ,找了好久才找到原因。可以用 swapon -s查看到底是不是swap 没有分区的问题。原因是 服务器端没有swap分区,而内存本身比较小(我的是512M内存),因此内存不足,无法为程序分配更多的... 阅读全文
posted @ 2017-02-23 15:26 陈溜溜 阅读(1254) 评论(0) 推荐(0) 编辑
摘要: If you want to run server in background, you can:$ nohup /path/to/server & Note this will redirect all logs generated by program to nohup.out. If you do not want logs to be saved, you can run:$ nohup ... 阅读全文
posted @ 2017-02-23 15:26 陈溜溜 阅读(253) 评论(0) 推荐(0) 编辑
摘要: adduser user1 新增用户sudo vim /etc/sudoers修改文件如下: 代码如下复制代码 # User privilege specification root ALL=(ALL) ALL user1 ALL=(ALL) ALL 保存退出,user1 用户就拥有了root权限。 阅读全文
posted @ 2017-02-23 15:25 陈溜溜 阅读(2487) 评论(0) 推荐(0) 编辑