Chinaunix首页 | 论坛 | 博客
  • 博客访问: 93579
  • 博文数量: 14
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 170
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-31 16:17
文章分类

全部博文(14)

文章存档

2013年(14)

我的朋友

发布时间:2013-10-25 11:18:57

安装使用的是nginx最新稳定版。一开始按常规的指定编译参数:

./configure --prefix=/usr/local/nginx --with-pcre=/usr/local/pcre/ --with-zlib=/usr/local/zlib --with-http_stub_status_module --with-http_ssl_module^C


? 到make阶段报错: make
?make -f objs/Makefile
make[1]: Entering directory `/usr/local/src/nginx-0.8.54′
cd /usr/local/pcre /
&& if [ -f Makefile ]; then make distclean; fi /
&& CC="gcc" CFLAGS="-O2 -fomit-frame-pointer -pipe " /
./configure –disab......【阅读全文】

阅读(15544) | 评论(0) | 转发(0)

发布时间:2013-10-17 15:19:51

post-commit(利用SVN的钩子post-commit同步测试服务器代码)

/snv仓库目录/hooks

cp post-commit.tmpl post-commit
chown apache.apache post-commit

修改post-commint

export LANG="en_US.UTF-8"
svn up /var/www/html/ben/
chmod a+x post-commit

chown -R apache.apache /web目录(确保web目录能访问,否则post-commit不会正常工作) ......【阅读全文】

阅读(2091) | 评论(0) | 转发(0)

发布时间:2013-10-16 15:22:01

# vim /etc/profile
在最后,添加:
export PATH="/usr/local/webserver/mysql/bin:$PATH"
保存,退出,然后运行:
#source /etc/profile
不报错则成功。......【阅读全文】

阅读(692) | 评论(0) | 转发(0)

发布时间:2013-10-16 15:14:16

创建mysql用户组和用户
?
?groupadd mysql
?useradd -g mysql -d /sbin/nologin mysql
?
?1 下载mysql
?
?http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.14-linux-glibc2.5-i686.tar.gz
?
?
?2 解压mysql
?tar zxvf mysql-5.6.14-linux-glibc2.5-i686.tar.gz
?
?mkdir /usr/local/mysql
?
?mv mysql-5.6.14-linux-glibc2.5-i686/* /usr/local/mysql
?
?3 初始化mysql
?
/usr/local/mysql/scripts/mysql_install_db --user=mysql
?
4 cp /usr/local/mysql/support-files/my......【阅读全文】

阅读(8178) | 评论(0) | 转发(0)

发布时间:2013-10-12 16:29:05

提示 ?553 Could not create file.
?
?getsebool -a | grep ftp
?
如下
?
?allow_ftpd_full_access --> off
#这个到底赋予了FTP用户多大的权限呢?

allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off

allow_httpd_anon_write --> off
allow_httpd_mod_auth_ntlm_winbind --> off
allow_httpd_mod_auth_pam --> off
allow_httpd_sys_script_anon_write --> off???
?
?
?allow_ftpd_full_access --> off ————-- 问题在这里
?
使用命令
?sudo setsebool allow_ftpd_full_access on 搞定
???......【阅读全文】

阅读(1216) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册