会动的耳朵  

随笔分类 -  linux server

  • 阿里云 centos 安装apache和php
    摘要:mysql使用阿里云的rdshttpd服务1. 安装apr和apr-util2. 安装 httpdapache.org,apr.apache.org安装命令: ./configure --prefix=/usr/local/apache --sysconfdir=/etc/httpd --enabl... 阅读全文
    posted @ 2015-07-14 13:24 会动的耳朵 阅读(302) 评论(0) 推荐(0) 编辑
  • php memcache扩展 出现错误dyld: Symbol not found: _mmc_queue_free
    摘要:mac 10.10 系统安装php memcache扩展在使用memcache的时候出现错误dyld: Symbol not found: _mmc_queue_free需要重新编译memcacheMACOSX_DEPLOYMENT_TARGET=10.7 CFLAGS='-fgnu89-inlin... 阅读全文
    posted @ 2015-03-11 20:05 会动的耳朵 阅读(757) 评论(0) 推荐(0) 编辑
  • nginx下搭建 Yii框架
    摘要:因为启用了rewrite,导致css,js,images等静态文件也定向到index.php我不得不重定向静态文件的路径仅供参考; 1 2 server { 3 listen 80; 4 server_name wap.test.com; 5 6 7 ... 阅读全文
    posted @ 2015-01-22 14:08 会动的耳朵 阅读(307) 评论(0) 推荐(0) 编辑
  • ios php RSA 非对称加密解密 der 和pem生成
    摘要:ios 使用public_key.der加密php 使用 private_key.pem解密openssl req -x509 -out public_key.der -outform der -new -newkey rsa:1024 -keyout private_key.pemphrase:c... 阅读全文
    posted @ 2014-12-24 10:49 会动的耳朵 阅读(299) 评论(0) 推荐(0) 编辑
  • LXC docker
    摘要:docker的原理和特点可以参照百度百科http://baike.baidu.com/view/11854949.htm昨天听到光照说docker技术实现,既然可以轻量虚拟,是否可以多个虚拟出分布式服务?找机会验证下 阅读全文
    posted @ 2014-09-19 11:59 会动的耳朵 阅读(184) 评论(0) 推荐(0) 编辑
  • archlinux 安装mysql-workbench
    摘要:archlinux packages 官方沒有提供 mysql-workbench的直接安裝包在aur裏面可以找到,使用yaourt -S mysql-workbench這裏有個依賴ctemplate,從googlecode svn 直接checkout但是因爲最近GFW飯神經,久久不成功。最後,只... 阅读全文
    posted @ 2014-06-11 23:17 会动的耳朵 阅读(684) 评论(0) 推荐(0) 编辑
  • centos 自己配置yum repo
    摘要:原文:http://www.linuxidc.com/Linux/2013-01/78066.htm在CentOS6.x 安装Chrome 浏览器的方法。首先在/etc/yum.repos.d目录中创建google-chrome.repo文件,其写入如下内容:[google-chrome]name=... 阅读全文
    posted @ 2014-05-20 16:14 会动的耳朵 阅读(283) 评论(0) 推荐(0) 编辑
  • linux server ifconfig selinux配置
    摘要:vim /etc/sysconfig/network-script/ifcfg-eth0修改成:DEVICE="eth0"BOOTPROTO="static"NM_CONTROLLED="yes"ONBOOT="yes"TYPE="Ethernet"UUID="不动"HWADDR=不动IPADDR=10.207.27.251PREFIX=24GATEWAY=10.207.27.1NETMASK=255.255.255.0DNS1=8.8.8.8DOMAIN=4.4.4.4DE 阅读全文
    posted @ 2014-03-10 12:24 会动的耳朵 阅读(606) 评论(0) 推荐(0) 编辑
  • linux vim Golang 配置
    摘要:" clear before set runtimepathfiletype offfiletype plugin offfiletype plugin indent offsyntax offset runtimepath+=$GOROOT/misc/vimfiletype onfiletype plugin onfiletype plugin indent onsyntax on 阅读全文
    posted @ 2013-12-13 17:53 会动的耳朵 阅读(359) 评论(0) 推荐(0) 编辑
  • Linux 常用命令
    摘要:1. 查看httpd 服务ps aux | grep httpd |wc -l2. 查看nginx 端口监听状态netstat -atlnp | grep "nginx"3.netstat -atlnp | grep "php-cgi" | grep "70M进程号或40M进程号"4. 查看内存使用... 阅读全文
    posted @ 2013-07-25 16:00 会动的耳朵 阅读(181) 评论(0) 推荐(0) 编辑
  • linux debugfs 找回rm 的文件
    摘要:[root@ccx64 mnt]# df -T Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_ccx64-lv_root ext4 18102140 12534156 4648432 73% / tmpfs tmpfs 510008 0 510008 0% /dev/shm /dev/sda1 ext4 495844 55310 414934 ... 阅读全文
    posted @ 2013-07-24 10:35 会动的耳朵 阅读(2180) 评论(0) 推荐(0) 编辑
  • linux find
    摘要:在文件中查找字符串:find /etc -name "passwd*" |xargs grep "sam"; 阅读全文
    posted @ 2013-06-09 10:56 会动的耳朵 阅读(606) 评论(0) 推荐(0) 编辑
  • 修改Linux 时间
    摘要:[root@ccx64 app]# dateFri May 31 01:24:50 CST 2013[root@ccx64 app]# date --set='2013-05-30 17:25:00'Thu May 30 17:25:00 CST 2013[root@ccx64 app]# clock -w[root@ccx64 app]# dateThu May 30 17:25:09 CST 2013 阅读全文
    posted @ 2013-05-30 17:26 会动的耳朵 阅读(157) 评论(0) 推荐(0) 编辑

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