随笔分类 -  linux

摘要:yum install openssh-clients 就能使用了 上传 microgolds-prodeMacBook-Pro:Desktop mg$ sudo scp /Users/mg/Desktop/lua-cjson-2.1.0.tar.gz root@192.168.1.55:/soft/lua-cjson-2.1.0.tar.gz The authenticity ... 阅读全文
posted @ 2016-08-08 10:22 诗兄 阅读(494) 评论(0) 推荐(0) 编辑
摘要:python3.5安装报错 python3.5: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory 原因是因为py 阅读全文
posted @ 2016-07-27 14:44 诗兄 阅读(13067) 评论(0) 推荐(2) 编辑
摘要:第一步 vi /etc/udev/rules.d/70-persistent-net.rules 将之前的eth0注释掉, 将eth1改为eth0 并复制mac地址 第二部 vi /etc/sysconfig/network-script/ifcfg-eth0 将第一步的 mac地址 写上DEVIC 阅读全文
posted @ 2016-02-27 11:42 诗兄 阅读(206) 评论(0) 推荐(0) 编辑
摘要:MYSQL my.conf# The following options will be passed to all MySQL clients[client]#password = your_passwordport = 3306socket = /tmp/mysql.sock# Here fol 阅读全文
posted @ 2015-12-25 12:02 诗兄 阅读(653) 评论(0) 推荐(0) 编辑
摘要:# uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备 # lsus... 阅读全文
posted @ 2015-12-25 11:36 诗兄 阅读(188) 评论(0) 推荐(0) 编辑
摘要:string(10) "script.php" [1]=> string(4) "arg1" [2]=> string(4) "arg2" [3]=> string(4) "arg3"}当使用命令行执行时:php script.php arg1 arg2 arg3 var_dum... 阅读全文
posted @ 2015-11-22 11:24 诗兄 阅读(251) 评论(0) 推荐(0) 编辑
摘要:解决方法一:最后查看php官方文档解决. 在configure 里面加上 --with-libdir=lib64解决方法二: 编辑/etc/ld.so.conf 根据系统,加入include /etc/ld.so.conf, 然后执行ldconfig,使其重新加载一次;(如果出错改为vi /etc/... 阅读全文
posted @ 2015-10-29 18:23 诗兄 阅读(955) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示