目前只找到了一个方法,更改ifcfg-ovirtmgmt、route-ovirtmgmt、rule-ovirtmgmt 内容,但重启后会被重置。其它方法暂未找到。
目前只找到了一个方法,更改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
原链接:https://www.cnblogs.com/q4486233/p/6482711.html 1.停止所有的container,这样才能够删除其中的images: docker stop $(docker ps -a -q) 如果想要删除所有container的话再加一个指令: docker rm $(docker ps -a -q) 2.查看当前有些什么images docker images 3.删除images,通过image的id来指定删除谁 docker rmi <image id>…