[End-user Environment] 於CentOS 中安裝 Spotify Client

家用伺服器與業務伺服器最不同的地方是, 若果預算許可, 商用伺服器角色會較單用, 例如Domain Controller  就只會做回Domain Controller, 鮮會分擔不同的角色. 除了方便管理外, 還有保安的考量; 家用伺服器則會一部機器會分飾不同的工作, 除了之前講及的預算考量外, 還有空間, 噪音等問題須要考慮, 因此除了發燒友, 好少人家裡會有個server rack 並Mount 上不同器材.

講回正題, 小弟的家用伺服器正位於客廳中, 除了做檔案伺服器外, 還有我的測試環境, Web server 等, 最近添置了一套喇叭, 而自己本身都有Spotify Perieum 賬戶, 為了更有效地運用, 決定安裝Spotify Client 好讓自己可以在廳中一邊做HIIT 一邊聽歌.

意外簡單地共須用yum 便可完成, 指令如下:

# 安裝時利用 root 權限.
sudo root

# 加入Spotify 的repository 於yum source 中.
yum-config-manager --add-repo=http://negativo17.org/repos/epel-spotify.repo

# 若於Fedora 中, 須留意 repository 亦不同.
# dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo

# 透過yum 下載並安裝 Spotify Client.
yum install spotify-client

# 登出 root.
exit

參考資料

About C.H. Ling 262 Articles
a .net / Java developer from Hong Kong and currently located in United Kingdom. Thanks for Google because it solve many technical problems so I build this blog as return. Besides coding and trying advance technology, hiking and traveling is other favorite to me, so I will write down something what I see and what I feel during it. Happy reading!!!

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.