查看Ctyun的源代码
←
Ctyun
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== Ubuntu image == <source lang=bash> # install ifconfig $ apt-get install net-tools # cfg sudo $ visudo # official editor of /etc/sudoers # User privilege specification comcat ALL=(ALL:ALL) NOPASSWD: ALL jack ALL=/usr/bin/mysql, /usr/bin/mysqldump, /usr/bin/docker, /usr/bin/du, /usr/bin/cp, /usr/bin/ls, /usr/bin/bash </source> <source lang=bash> $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - $ apt-key fingerprint 0EBFCD88 $ echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable" >> /etc/apt/source.list $ sudo apt-get install docker-ce docker-ce-cli </source> <source lang=bash> $ sudo apt-get install python3-daemonize $ sudo apt-get install python3-paho-mqtt $ sudo apt-get install python3-influxdb </source> use the non-ssl conf file: influxdb.conf <source lang=bash> $ influx -host zy.mytao.com > create datebase autoeco > create user "root" with password 'xxx' with all privileges > create user "test" with password 'xxx' > grant all on "aeco" to "test" </source> ssl cfg: <source lang=bash> $ ./influx -ssl -host zy.mytao.com -database aeco -username yuid -password ypwd > </source> <br>
返回到
Ctyun
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面