随笔分类 -  linux

新手解惑:nginx&php-fpm&fastcgi 是什么关系
摘要:首先,CGI是干嘛的?CGI是为了保证web server传递过来的数据是标准格式的,方便CGI程序的编写者。 web server(比如说nginx)只是内容的分发者。比如,如果请求/index.html,那么web server会去文件系统中找到这个文件,发送给浏览器,这里分发的是静态数据。好了,如果现在请求的是/index.php,根据配置文件,nginx知道这个不是静态文件,需... 阅读全文

posted @ 2016-07-28 10:48 LeLe.xu 阅读(420) 评论(0) 推荐(0)

at命令
摘要:转至:http://www.cnblogs.com/peida/archive/2013/01/05/2846152.html 在windows系统中,windows提供了计划任务这一功能,在控制面板 -> 性能与维护 -> 任务计划, 它的功能就是安排自动运行的任务。 通过'添加任务计划'的一步步 阅读全文

posted @ 2016-07-23 10:34 LeLe.xu 阅读(379) 评论(0) 推荐(0)

Vi 常用命令列表
摘要:基本上vi可以分为三种状态,分别是命令模式(command mode)、输入模式(Insert mode)和末行模式(last line mode),各模式的功能区分如下: 1) 命令模式(command mode) 控制屏幕光标的移动,字符、字或行的删除,移动复制某区段及进入Insert mode下,或者到 last line mode。 2) 输入模式(Ins... 阅读全文

posted @ 2016-07-19 23:10 LeLe.xu 阅读(2147) 评论(0) 推荐(0)

Linux下jdk1.6安装指引
摘要:Linux安装JDK步骤1. 先从网上下载jdk(jdk-6u4-linux-x64-rpm.bin) ,推荐SUN的官方网站www.sun.com,下载后放在/home目录中,当然其它地方也行。 进入安装目录 #cd /home #cp jdk-6u4-linux-x64-rpm.bin /usr 阅读全文

posted @ 2016-05-22 15:52 LeLe.xu 阅读(904) 评论(0) 推荐(0)

LNMP安装
摘要:LNMP à Linux + Nginx+Mysql+Php 环境安装包:http://pan.baidu.com/s/1c1H8d8G 初始环境: 为了省事把所需要的库文件全都安装上,可以使用rpm包安装,也可以用yum命令安装, yum -y install gcc gcc-c++ autoco 阅读全文

posted @ 2016-03-11 16:38 LeLe.xu 阅读(314) 评论(0) 推荐(0)

Iconv作用以及安装问题解决
摘要:当我们在使用Window操作系统的时候,可能使用最多的文本格式就是txt了,但是当我们将Window平台下的txt文本文档拷贝到Linux平台下查看时,发现原来的中文全部变成了乱码。没错, 引起这个结果的原因就是两个平台下,编辑器对默认的编码格式是不一样的:在Window平台下,Notepad的默认编码是ASCII码或者GBK,而在Linux平台下默认的是UTF-8(中文环境的情况),编码的不同导... 阅读全文

posted @ 2016-03-11 16:35 LeLe.xu 阅读(2151) 评论(0) 推荐(0)

configure error libmcrypt was not found解决方法
摘要:安装到mcrypt的时候出现了问题./configure提示出错,首先提示*** Could not run libmcrypt test program, checking why…*** The test program failed to compile or link. See the file config.log for the*** exact error that occured.... 阅读全文

posted @ 2016-03-11 11:03 LeLe.xu 阅读(1151) 评论(0) 推荐(0)

configure error C compiler cannot create executables错误解决
摘要:我们在编译软件的时候,是不是经常遇到下面的错误信息呢? checking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnuchecking for gcc... gccchecking for C compiler default output file name...con... 阅读全文

posted @ 2016-03-11 11:00 LeLe.xu 阅读(11373) 评论(1) 推荐(0)

Php安装时出现的问题处理
摘要:问题从这里开始,我们一步一步说明: cd /usr/local/src/ tar zxvfphp-5.5.6.tar.gz cd php-5.5.6 ./configure \ //执行当前目录下软件自带的配置命令 > --prefix=/usr/local/php \ //设置PHP5 的安装路径 > --with-config-file-path=/usr/local/ph... 阅读全文

posted @ 2016-03-06 21:56 LeLe.xu 阅读(1263) 评论(0) 推荐(0)

安装php时,configure: error: xml2-config not found. Please check your libxml2 installation
摘要:参考文章:http://blog.csdn.net/anljf/article/details/6981247 安装php时的报错configure: error: xml2-config not found. Please check your libxml2 installation. 检查是否安装了libxm包 [root@XKWB3403 php-5.3.8]# rpm -qa... 阅读全文

posted @ 2016-03-06 15:22 LeLe.xu 阅读(349) 评论(0) 推荐(0)

Zlib not installed
摘要:若提示:zlib not installed wgethttp://zlib.net/zlib-1.2.8.tar.gz tar zxf zlib-1.2.8.tar.gz cd zlib-1.2.8 ./configure (注:不需要带上--prefix参数) make make install 最后返回继续安装 阅读全文

posted @ 2016-03-06 14:17 LeLe.xu 阅读(966) 评论(0) 推荐(0)

apr not found,APR-util not found,pcre,
摘要:1.下载所需软件包(此下载链接经由作者验证可使用): wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz wge 阅读全文

posted @ 2016-03-06 13:37 LeLe.xu 阅读(413) 评论(0) 推荐(0)

Unzip 解压报错
摘要:$jar xvfpcre-8.10.zip 如果出现 jar:Command not found 要用yum下载 $yum -y install java-1.6.0-openjdk-devel 再次运行 $jar xvfpcre-8.10.zip 阅读全文

posted @ 2016-03-06 13:33 LeLe.xu 阅读(706) 评论(0) 推荐(0)

Linux ftp安装
摘要:ftp安装部分,操作步骤如下: 可以使用yum命令直接安装ftp #yuminstallvsftpd ftp服务的开启与关闭命令: 开启:#/bin/systemctlstartvsftpd.service 关闭:#/bin/systemctlstop vsftpd.service 安装成功后,可以在本地使用ftp软件连接,默认账号是虚拟机的账号和密码。 ... 阅读全文

posted @ 2016-03-06 11:15 LeLe.xu 阅读(236) 评论(0) 推荐(0)

mysql linux下安装部署
摘要:一、安装简介 用户名:mysql安装目录:/usr/local/mysql-5.5数据库目录:/data/mysql/data源码包:mysql-5.5.28.tar.gz 二、安装准备 a、vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 b、no 改为 阅读全文

posted @ 2016-02-29 18:59 LeLe.xu 阅读(282) 评论(0) 推荐(0)

导航