日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

群晖使用Linux命令,群晖常用指令

發布時間:2025/3/21 linux 45 豆豆
生活随笔 收集整理的這篇文章主要介紹了 群晖使用Linux命令,群晖常用指令 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

輸入uname –a 回車,用 uname 命令能夠看到 NAS 的 CPU 架構、指令集等內容如下:

Linux DSM 3.10.105 #23739 SMP Fri Jun 8 12:51:05 CST 2018 x86_64 GNU/Linux synology_braswell_216+II

使用命令 docker info 查看docker詳細信息,

如果提示 Cannot connect to the Docker daemon. Is the docker daemon running on this host? 說明當前的賬號沒有 root 權限,可以使用 sudo 提權來操作,或者可以通過切換到 root 賬戶下來操作,這里我們選擇后者。

通過 admin 賬號登錄后,執行 sudo su - 切換到 root 賬戶下(注意這一步輸入的是admin賬號的密碼):docker詳細信息如下:

root@DSM:~# docker info

Containers: 1

Running: 1

Paused: 0

Stopped: 0

Images: 1

Server Version: 17.05.0-ce

Storage Driver: btrfs

Logging Driver: db

Cgroup Driver: cgroupfs

Plugins:

Volume: local

Network: bridge host macvlan null overlay

Swarm: inactive

Runtimes: runc

Default Runtime: runc

Init Binary: docker-init

containerd version: fd189da3e13a3ef3d6d9eb73c5cd4697b4536cdd (expected: 9048e5e50717ea4497b757314bad98ea3763c145)

runc version: a2d6e07aab95ff37fb63cf5dec3c40d29940194f (expected: 9c2d8d184e5da67c95d601382adf14862e4f2228)

init version: 7a83305 (expected: 949e6fa)

Security Options:

apparmor

Kernel Version: 3.10.105

Operating System:

OSType: linux

Architecture: x86_64

CPUs: 2

Total Memory: 3.779GiB

Name: DSM

ID: MU2J:7IFS:4XFR:VNCO:66BI:IFKL:KA6F:4KPH:KTID:VJWL:EQ6K:ZFFU

Docker Root Dir: /volume1/@docker

Debug Mode (client): false

Debug Mode (server): false

Registry: https://index.docker.io/v1/

Experimental: false

Insecure Registries:

127.0.0.0/8

Live Restore Enabled: false

WARNING: No kernel memory limit support

WARNING: No cpu cfs quota support

WARNING: No cpu cfs period support

在群暉下的操作命令都要加上 syno 前綴來操作,執行命令 synoservice 或 synoservice --help:

SynoService Tool Help (Version 23739)

Usage: synoservice

--help Show this help

--help-dev More specialty functions for deveplopment

--is-enabled [ServiceName] Check if the service is enabled

--status [ServiceName] Get the status of specified services

--enable [ServiceName] Set runkey to yes and start the service (alias to --start)

--disable [ServiceName] Set runkey to no and stop the service (alias to --stop)

--hard-enable [ServiceName] Set runkey to yes and start the service and its dependency (alias to --hard-start)

--hard-disable [ServiceName] Set runkey to no and stop the service and its dependency (alias to --hard-stop)

--restart [ServiceName] Restart the given service

--reload [ServiceName] Reload the given service

--pause [ServiceName] Pause the given service

--resume [ServiceName] Resume the given service

--pause-by-reason [ServiceName] [Reason] Pause the service by given reason

--resume-by-reason [ServiceName] [Reason] Resume the service by given reason

--pause-all (-p) [Reason] (Event) Pause all service by given reason with optional event(use -p to include packages)

--pause-all-no-action (-p) [Reason] (Event) Set all service runkey to no but leave the current service status(use -p to include packages)

--resume-all (-p) [Reason] Resume all service by given reason(use -p to include packages)

--reload-by-type [type] (buffer) Reload services with specified type

--restart-by-type [type] (buffer) Restart services with specified type

Type may be {file_protocol|application}

Sleep $buffer seconds before exec the command (default is 0)

通過 synoservicecfg --list 命令來查看當前群暉系統下所有運行的服務:

DSM

apparmor

atalk

avahi

bluetoothd

bonjour

btacd

crond

cups-lpd

cupsd

dbus

dc-output

ddns

findhost

ftpd

ftpd-ssl

gcpd

heartbeat

hotplugd

iscsitrg

ldap-server

miniupnpd-handler

natpmpd

nfsd

nginx

nmbd

nslcd

ntpd-client

ntpd-server

pgsql

pkgctl-AudioStation

pkgctl-Docker

pkgctl-DownloadStation

pkgctl-FileStation

pkgctl-HyperBackup

pkgctl-MediaServer

pkgctl-Node.js_v4

pkgctl-OAuthService

pkgctl-Perl

pkgctl-SynoFinder

pkgctl-SynologyApplicationService

pkgctl-SynologyDrive

pkgctl-SynologyMoments

pkgctl-USBCopy

pkgctl-VideoStation

pppoerelay

rsyncd

s2s_daemon

samba

scemd

sftp

snmp

ssdp

ssh-shell

support-remote-access

synoagentregisterd

synobackupd

synocacheclient

synocachepinfiletool

synocgid

synoconfd

synocontentextractd

synocrond

synogpoclient

synoindexd

synologanalyzer

synologrotate

synomkflvd

synomkthumbd

synomount

synonetd

synoovs-db

synoovs-vswitch

synoperfeventd

synorelayd

synosnmpcd

synostoraged

synotifyd

synotunnel

synovpnclient

synowifid

synowstransfer

syslog-acc

syslog-ng

syslog-notify

system

telnetd

tftp

upnpd

ups-net

ups-usb

usbipd

winbindd

以上看到通過群暉的 “套件中心” 添加的套件程序的服務名稱均以 pkgctl- 為前綴來命名。

查看網卡信息root賬戶輸入:ifconfig進行查看

標簽:常用,Set,service,given,reason,ServiceName,指令,群暉,docker

來源: https://www.cnblogs.com/wxc6603/p/11980703.html

總結

以上是生活随笔為你收集整理的群晖使用Linux命令,群晖常用指令的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。