-
10 年前
nginx 泛域名解析实现二级域名多域名
运维技术 nginx泛域名
说明 网站的目录结构为 /data/www/imdst.com ├── aa ├── bb └── cc /data/www/为nginx的安装目录下默认的存放源代码的路径。 aa为a站源代码路径 bb为b站源代码路径 cc为c站源代码路径 把相应程序放入上面的路径通过 http://aa…
-
10 年前
Seafile For CentOS nginx服务端部署,并启用ssl
seafile
一、环境 官方文档 MySQL 5.6+nginx 1.9 python 2.7.13 * python 模块(MySQL-python==1.2.5、 PIL==1.1.6) 二、部署说明 下载 wget http://download-cn.seafile.com/seafile-server_6.0.7_x86-64.tar.gz 部署和目录设计 useradd -d /data/l…
-
10 年前
Crontab 每月的第一周、第三周的星期三某个点执行一次
问题 要求每个月的第一周第三周的星期三6点执行一次,开始以为挺简单立马想到 0 6 1-7,15-21 * 3 但是测试发现 1-7, 15-21 和 星期三也都会跑. man 5 crontab 找到下述解释 Note: The day of a command's execution can be specified by two fields -- day of month,…
Linux运维笔记|自动化运维攻城狮

