当前位置: 首页 > 工具软件 > Octopus > 使用案例 >

linux批量管理web,octopus

柴宏浚
2023-12-01

octopus

octopus provide a web interface that you can run commands on lots of server parallel

For security issues ,most ssh server block root login , so octopus login server as un_privileged user,then "su -" to root, then run privileged commands.

Just try it

if you just want to try it and don't want to install it.

move dep-octopus.tar.bz2 to user's home directory and decompress it:

$ mv dep-octopus.tar.bz2 ~

$ tar -xjvf dep-octopus.tar.bz2

then go to octopus's base directory,init the database and run it:

$ python createdb.py

$ python run.py

open your browser, access http://localhost:5000

default user is "admin"

default password is "octopus"

enjoy it!

clean up:

rm -rf ~/.local

Deployment

if you want to deploy it on production environment with wsgi server such as uwsgi, you need to install memcached

Video

 类似资料: