1、cannot create directory '/shared/logs/var-log': Permission denied 应对策略:度娘说是selinux权限问题,方法一:添加权限规则 方法二:直接关闭selinux
1、cannot create directory '/shared/logs/var-log': Permission denied 应对策略:度娘说是selinux权限问题,方法一:添加权限规则 方法二:直接关闭selinux
- 参考教程 《maven安装》https://www.cnblogs.com/eagle6688/p/7838224.html 《配置aliyun源》https://blog.csdn.net/dsblt001/article/details/79485668
目前只找到了一个方法,更改ifcfg-ovirtmgmt、route-ovirtmgmt、rule-ovirtmgmt 内容,但重启后会被重置。其它方法暂未找到。
由于directadmin自带功能太少,所以就补充一下。 1、配置custombuild cd /usr/local/directadmin/custombuild mkdir -p custom/nginx cp -fp configure/nginx/configure.nginx custom/nginx/ 2、编辑/usr/local/directadmin/custombuild/custom/nginx/configure.nginx 新内容如下: #!/bin/sh ./configure "--us…
由于需求,需要使用python35发布一个webService服务,提供给php调用。经过选型,使用的库为: WebService Server:spyne,主页:http://spyne.io WebService Client:Zeep,主页:https://github.com/mvantellingen/python-zeep 选择spyne的原因是,以前的库无人维护且不兼容python3,而spyne开发团队与spyne应该是一个团队,且github star为900+。 选择zeep的原因是python…
作者:阮一峰 链接:http://www.ruanyifeng.com/blog/2018/07/json_web_token-tutorial.html?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io - JSON Web Token(缩写 JWT)是目前最流行的跨域认证解决方案,本文介绍它的原理和用法。 一、跨域认证的问题 互联网服务离不开用户认证。一般流程是下面这样。 1、用户向服务器发送用户名和密码。 2、服务器验证通过…
http-server是一个基于nodejs的建议web服务器。 一、全局安装 npm install -g http-server 二、使用方法 web目录下执行: http-server
目标:每日备份一次,然后上传至另外的服务器。 一、简单备份脚本 /home/tools/backup.sh: /usr/bin/rm /var/opt/gitlab/backups/* -rf /opt/gitlab/bin/gitlab-rake gitlab:backup:create /usr/bin/scp /var/opt/gitlab/backups/* root@192.168.3.179:/home/backups/gitlabs /usr/bin/scp /etc/gitlab/gitlab.rb…
一、先卸载mariadb yum remove mysql rm -f /usr/local/mysql/bin/mysql 二、安装mysql7 cd /usr/local/directadmin/custombuild ./build set mysql 5.7 ./build set mysql_inst mysql ./build set mysql_backup yes ./build update ./build mysql ./build php n