码迷,mamicode.com
首页 >  
搜索关键字:ansible install bash    ( 57162个结果
igraph相关报错
1. GLPK缺失 igraph::cluster_optimal社团检测算法依赖系统中的GLPK包。 MacOS 11.2 brew install glpk CentOS 7 wget http://download-ib01.fedoraproject.org/pub/epel/7/x86_6 ...
分类:其他好文   时间:2021-04-01 12:54:29    阅读次数:0
Django 之 template
模板引擎 为了方便演示,所以我们这边创建一个子应用temp来编写 python manage.py startapp temp 注册子应用到settings.py文件中 INSTALLED_APPS = [ # ... "temp",] 在子应用temp目录下创建子路由文件urls.py,代码: f ...
分类:其他好文   时间:2021-03-31 12:21:15    阅读次数:0
shell编程实现创建新用户和打包文件
shell编程实现创建新用户和打包文件 1、shell编程创建新用户 #! /bin/bash `useradd $1` `echo $2 | passwd --stdin $1` 假设这个文件的名称为test.sh,则操作方式为: ./test.sh admin 123456 其中1参为用户名,2 ...
分类:系统相关   时间:2021-03-31 12:11:52    阅读次数:0
002-快速安装单机版redis环境
1、普通安装cd /usr/local/ wget http://download.redis.io/releases/redis-4.0.11.tar.gz tar -zxvf redis-4.0.11.tar.gz 注意:make install PREFIX=目标安装路径 cd /usr/lo ...
分类:其他好文   时间:2021-03-31 12:03:09    阅读次数:0
使用nodejs判断前端性能
前提:安装node.js 1、监控工具:# npm install clinic -g 2、压测工具:# npm i autocannon -g 3、使用监控工具启动前端服务:# clinic doctor -- node server.js 4、使用压测工具压测(并发100持续20秒):# aut ...
分类:Web程序   时间:2021-03-31 11:53:36    阅读次数:0
9.ansible 循环功能和忽略错误
在剧本中设置循环信息 vim test04.yml hosts: all remote_user: root tasks: name: Add Users user: name={{ item.name }} groups={{ item.groups }} state=present with_i ...
分类:其他好文   时间:2021-03-31 11:52:29    阅读次数:0
比Django官方实现更好的分页组件+Bootstrap整合
前言 Django全家桶自带的分页组件只能说能满足分页这个功能,但是没那么好用就是了 Django的分页效果 django-pure-pagination分页效果 使用方法 首先安装: pip install django-pure-pagination 添加到App INSTALLED_APPS ...
分类:其他好文   时间:2021-03-31 11:47:29    阅读次数:0
linux shell命令之REPLY
vi readreply.sh #!/bin/bash#第一部分 echo -n "What is your name?"readecho "Your name is $REPLY" #已将变量的值从标准输入读到REPLY #第二部分echo -n "What is the name of your ...
分类:系统相关   时间:2021-03-30 13:53:42    阅读次数:0
shell misc
. shell逻辑表达式 #!/bin/bash FILE_BASED_ENCRYPTION="true" if [ "$FILE_BASED_ENCRYPTION" == "true" ]then echo "if: first one" || echo "if: second one"else ...
分类:系统相关   时间:2021-03-30 13:52:37    阅读次数:0
ansible_配置介绍
文档链接 https://docs.ansible.com/ansible/latest/reference_appendices/config.html 配置文件 [defaults] inventory = /etc/ansible/hosts sudo_user=root remote_por ...
分类:其他好文   时间:2021-03-30 13:37:18    阅读次数:0
57162条   上一页 1 ... 63 64 65 66 67 ... 5717 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!