linux
gavin_liang
这个作者很懒,什么都没留下…
展开
-
Linux 下 ngnix 搭建 http 服务器
首次接触ngnix http,这里主要介绍不是编译,而是应用的时候遇到的问题; 1. 下载源码 nginx-1.9.1.tar.gz (选择自己喜欢的版本) http://nginx.org/download/ 2. 编译参考,有很多文章介绍了: http://www.2cto.com/os/201406/310462.html http://www.l转载 2015-07-08 10:50:09 · 831 阅读 · 0 评论 -
ubuntu中管理用户和用户组 管理
ubuntu中管理用户和用户组 1. 添加一个用户组,组名为server 并指定id为2000 sudo groupadd -g 2000 server 2. 添加一个用户user_server01 到server 组并指定id为2001 sudo useradd user_server01 -g 2000 -u 2001 -m (-m 的含义是在建立 /home/u转载 2015-07-06 15:12:11 · 1510 阅读 · 0 评论 -
ngnix 搭建
首次接触ngnix http 将所做的内容记录一下 1. 下载所需要资源,我是下载到/home/code/Documents/webserver/ 目录下 1)openssl http://www.openssl.org/source/openssl-1.0.0e.tar.gz ./config --prefix=/usr/local/openssl make原创 2015-12-17 15:31:35 · 744 阅读 · 0 评论 -
linux 配置 php 扩展curl
程序运行的时候遇到这个问题 我是在linux上运行的,发现好多朋友是在windows遇到的这个问题,我记录一下; Fatal error: Call to undefined function curl_init() in /home/family/family/bbs/resource/phpcas/CAS/client.php on line 211 出现这个问题原创 2016-01-21 15:59:47 · 2604 阅读 · 0 评论 -
远程账号添加数据库访问权限
ysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | apollo | | bbs | | fp_db | | mrbs原创 2016-08-26 17:30:50 · 1650 阅读 · 0 评论