av激情亚洲男人的天堂国语,日韩欧美精品一中文字幕,无码av一区二区三区无码,国产又色又爽又刺激的a片,国产又色又爽又刺激的a片

CentOS7中安裝Snapd具體步驟

CentOS 7中如何安裝Snapd?本篇文章為大家分享一下CentOS 7安裝Snapd具體步驟,有需要的小伙伴可以參考一下。

1、首先安裝COPR插件和EPEL,通過添加epel存儲庫并安裝copr yum插件來啟動安裝,運行如下命令:

sudo yum install epel-release



sudo yum install yum-plugin-copr

2、然后添加repo:

sudo yum copr enable ngompa/snapcore-el7

3、添加存儲庫后,安裝snapd軟件包,運行以下命令:

sudo yum -y install snapd

4、等待安裝完成后啟用snapd socket:

sudo systemctl enable --now snapd.socket

5、限制需要從/snap到/var/lib/snapd/snap下的/snap或符號鏈接下的snaps,為它創(chuàng)建一個符號鏈接,如下命令:

sudo ln -s /var/lib/snapd/snap /snap

做到這里,Snapd已經(jīng)安裝完成了。

附:snap用法及參數(shù)

snap --help







應用選項:



--version——打印版本并退出



幫助選項:



-h, --help——顯示此幫助消息



可用的命令:



abort——中止待定更改



ack——Adds an assertion to the system



alias——Sets up a manual alias



aliases——Lists aliases in the system



buy——Buys a snap



changes——List system changes



connect——Connects a plug to a slot



disable——Disables a snap in the system



disconnect——Disconnects a plug from a slot



download——Downloads the given snap



enable——Enables a snap in the system



find——Finds packages to install (aliases: search)



get——Prints configuration options



help——幫助



info——show detailed information about a snap



install——Installs a snap to the system



interface——Lists snap interfaces



interfaces——Lists interfaces in the system



known——Shows known assertions of the provided type



list——List installed snaps



login——Authenticates on snapd and the store



logout——Log out of the store



logs——Retrieve logs of services



pack——pack the given target dir as a snap



prefer——Prefer aliases from a snap and disable conflicts



refresh——Refreshes a snap in the system



remove——Removes a snap from the system



restart——Restart services



revert——Reverts the given snap to the previous state



run——Run the given snap command



services——Query the status of services



set——Changes configuration options



start——Start services



stop——Stop services



switch——Switches snap to a different channel



tasks——List a change's tasks (aliases: change) try——Tests a snap in the system unalias——Unalias a manual alias or an entire snap version ——Shows version details watch——Watch a change in progress whoami——Prints the email the user is logged in with. 

當前文章:CentOS7中安裝Snapd具體步驟
鏈接地址:http://uogjgqi.cn/article/dpcidde.html
掃二維碼與項目經(jīng)理溝通

我們在微信上24小時期待你的聲音

解答本文疑問/技術咨詢/運營咨詢/技術建議/互聯(lián)網(wǎng)交流