随笔分类 -  linux

摘要:docker的三个点 1、image 2、container 3、artifactory 阅读全文
posted @ 2019-02-11 13:39 笑月儿 阅读(82) 评论(0) 推荐(0)
摘要:[root@www ~]# grep [-acinv] [--color=auto] '搜寻字符串' filename选项与参数:-a :将 binary 文件以 text 文件的方式搜寻数据-c :计算找到 '搜寻字符串' 的次数-i :忽略大小写的不同,所以大小写视为相同-n :顺便输出行号-v... 阅读全文
posted @ 2015-10-10 14:03 笑月儿 阅读(305) 评论(0) 推荐(0)
摘要:前言: Linux下搭建nginx+php+memached(LPMN)的时候,nginx.conf中配需要配置fastCGI,php需要安装php-fpm扩展并启动php-fpm守护进程,nginx才可以解析php脚本。那么,这样配置的背后原理是什么?nginx、fastCGI、php-fpm之... 阅读全文
posted @ 2015-10-09 12:15 笑月儿 阅读(230) 评论(0) 推荐(0)
摘要:centos 自带apache(httpd)不用安装1.查看linux 版本号方法1:cat /etc/redhat-release/etc/redhat-release配置文件用一行内容来声明 Red Hat 的名称和版本号。 由 rc.local 使用.方法2:查看rpm包版本rpm -q ce... 阅读全文
posted @ 2015-01-05 18:02 笑月儿 阅读(215) 评论(0) 推荐(0)
摘要:zip压缩文件zip -r filename.zip filesdir zip -r filename.zip file1 file2 file3 /usr/work/school //将file1 file2 file3 和/usr/work/school 压缩到filename.zi... 阅读全文
posted @ 2014-11-25 18:11 笑月儿 阅读(173) 评论(0) 推荐(0)
摘要:我在linux下编写了这样一段代码:<img src="8553.jpg" alt="PHPbookmark logo" bordor="0" align="left" valign="bottom" height="55" width="57"/>可是图片却显示不出来,后来得知是因为linux下有 权限问题,像我添加的图片我对它没有设置可读的权限,所以显示不出来,后来对图片执行 sudo chmod 777 8553.jpg(因为我不是roo 阅读全文
posted @ 2013-04-19 23:29 笑月儿 阅读(606) 评论(0) 推荐(0)