- 博客(5)
- 收藏
- 关注
原创 linux常用操作
chown -R apache:apache . 给apache权限 chown -R www:www . rz 上传文件 sz 下载文件 下载的目录在 附件1 设置了www用户。session 不能用修改 ls -lh /var/lib/php 给这个目录www权限 如出现svn被锁定 在项目目录下执行chown -R www:www . ...
2016-12-01 17:17:32
80
原创 linux配置apache
IncludeOptional conf.d/*.conf 13 <VirtualHost *:80> 14 DocumentRoot /data/web/www/2016/zhitong 15 ServerName zhitong.rungo.net 16 DirectoryIndex index.php 17 Rewrit...
2016-11-25 10:44:44
132
原创 linux 安装 crontab
1、yum install vixie-cron yum install crontabs 2、启动与停止 service crond start service crond stop service crond restart 3、使用方法 1小时执行一次 vi /etc/crontab 0 */1 * * * curl -d "is_cron=1" http:...
2016-11-25 10:42:44
228
原创 mysql常用命令
为某个数据库创建一个用户,这个用户只能操作这个数据库: GRANT ALL PRIVILEGES ON 数据库名.* TO 用户名@127.0.0.1 IDENTIFIED BY '密码'; FLUSH PRIVILEGES;
2016-11-25 10:23:36
80
原创 nodejs,ws,nodemon在linux里环境部署,代码编写和运行
nodejs安装 1、获取获取nodejs 资源 curl --silent --location https://rpm.nodesource.com/setup_4.x | bash - # 5.x curl --silent --location https://rpm.nodesource.com/setup_5.x | bash - # 0.10 curl --silent ...
2016-11-25 10:13:06
1125
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人