12 2018 档案

centos7 - mongodb3.6.5-配置文件
摘要:创建Linux管理员账号admin, 并加入wheel组,对mongodb, php等进行统一管理~ systemLog:destination: filelogAppend: truepath: /var/log/mongodb/mongod.log storage:dbPath: /data/m 阅读全文

posted @ 2018-12-21 22:32 天涯飞鸿 阅读(1101) 评论(0) 推荐(0)

php7编译安装-php-fpm.service
摘要:[Unit]Description=php-fpm - Hypertext PreprocessorAfter=network.target remote-fs.target nss-lookup.target [Service]Type=simplePIDFile=/usr/local/php7/ 阅读全文

posted @ 2018-12-21 01:09 天涯飞鸿 阅读(1430) 评论(0) 推荐(0)

Centos7-跟踪用户操作记录并录入日志
摘要:1. 添加bash全局配置文件: cd /etc/profile.d sudo -e vi log_command.sh 输入如下内容: export PROMPT_COMMAND='RETRN_VAL=$?;logger -p local6.debug "$(whoami) [$$]: $(his 阅读全文

posted @ 2018-12-20 18:39 天涯飞鸿 阅读(5238) 评论(0) 推荐(0)

php7-编译安装参数
摘要:./configure \--with-fpm-user=www \--with-fpm-group=www \--prefix=/usr/local/php7 \--with-config-file-path=/usr/local/php7/etc \--with-mysql-sock \--wi 阅读全文

posted @ 2018-12-20 11:58 天涯飞鸿 阅读(757) 评论(0) 推荐(0)

mariadb-my.cnf
摘要:[client]port = 3306socket = /tmp/mysql.sockdefault-character-set=utf8 [mysqld]port = 3306socket = /tmp/mysql.sockskip-name-resolvecharacter-set-server 阅读全文

posted @ 2018-12-20 01:14 天涯飞鸿 阅读(752) 评论(0) 推荐(0)

导航