Ajanti配置json是:
{
"users": {
"root": {
"configs": {
"ajenti.plugins.notepad.notepad.Notepad": "{"bookmarks": [], "root": "/"}",
"ajenti.plugins.terminal.main.Terminals": "{"shell": "sh -c $SHELL || bash"}",
"ajenti.plugins.openvpn.backend.OpenVPNBackend": "{"password": "", "addr": ""}",
"ajenti.plugins.logs.main.Logs": "{"root": "/var/log"}",
"ajenti.plugins.dashboard.dash.Dash": "{"widgets": [{"index": 0, "config": null, "container": "1", "class": "ajenti.plugins.sensors.memory.MemoryWidget"}, {"index": 1, "config": null, "container": "1", "class": "ajenti.plugins.sensors.memory.SwapWidget"}, {"index": 2, "config": null, "container": "1", "class": "ajenti.plugins.dashboard.welcome.WelcomeWidget"}, {"index": 0, "config": null, "container": "0", "class": "ajenti.plugins.sensors.uptime.UptimeWidget"}, {"index": 1, "config": null, "container": "0", "class": "ajenti.plugins.power.power.PowerWidget"}, {"index": 2, "config": null, "container": "0", "class": "ajenti.plugins.sensors.cpu.CPUWidget"}]}",
"ajenti.plugins.mysql.api.MySQLDB": "{"password": "741147", "user": "root", "hostname": "localhost"}",
"ajenti.plugins.fm.fm.FileManager": "{"start": "/", "root": "/"}",
"ajenti.users.UserManager": "{"sync-provider": ""}",
"ajenti.plugins.tasks.manager.TaskManager": "{"job_definitions": [{"schedule_hour": "8", "name": "toldot cache", "task_id": "e75e5903-be69-47a1-9464-1f383f5fe806", "schedule_special": null, "schedule_minute": "1", "schedule_day_of_month": "*", "id": "ef62cb19-cb0e-474a-ba39-265f59186a39", "schedule_month": "*", "schedule_day_of_week": "*"}, {"schedule_hour": "*", "name": "unnamed", "task_id": "cf23d1c8-c65e-41c0-8d25-e6f56513e8e7", "schedule_special": null, "schedule_minute": "0", "schedule_day_of_month": "*", "id": "b5518b37-ad77-415c-bd85-12c8237b2d2d", "schedule_month": "*", "schedule_day_of_week": "*"}], "task_definitions": [{"task_class": "ajenti.plugins.tasks.tasks.CommandTask", "params": {"command": "service rc.digitalocean start"}, "name": "Reset", "id": "cf23d1c8-c65e-41c0-8d25-e6f56513e8e7"}, {"task_class": "ajenti.plugins.tasks.tasks.CommandTask", "params": {"command": "curl -I http://toldot.ru/?ty_cache=1"}, "name": "Toldot cache", "id": "e75e5903-be69-47a1-9464-1f383f5fe806"}, {"task_class": "ajenti.plugins.tasks.tasks.CommandTask", "params": {"command": "./reset.sh"}, "name": "Reset_Sites", "id": "6b31e811-fff4-45a2-9617-38363e7fbc6c"}]}"
},
"password": "sha512|$6$rounds=40000$oyrtyJ5RQVSS6Bwr$hxOZRozeRU7Ux.r7Er2EIFpD3Ka33k7bXjaw3CxKWWvkEmlUyJffPkdt4g6Mqng0D1HDsRXNajuAdCOhiQSaF1",
"permissions": []
}
},
"language": "ru_RU",
"bind": {
"host": "0.0.0.0",
"port": 8055
},
"enable_feedback": true,
"ssl": {
"enable": true,
"certificate_path": "/etc/ajenti/ajenti.pem"
},
"authentication": true,
"installation_id": 62040
}
我需要接球或尝试。如果端口8055繁忙,则使用端口8056。如何做到这一点?
我的服务器有几个网站。当我重置它们时,阿金蒂没有工作。
Ajanti释放使用过的端口有点慢。
杀死端口,它可能仍在使用fuser-k 8055/tcp命令
fuser 8055/tcp检查发生了什么
修补程序