Skip to Content
持續交付|使用Java
book

持續交付|使用Java

by Daniel Bryant, Abraham Marín-Pérez
July 2019
Intermediate to advanced
480 pages
9h 35m
Chinese
GoTop Information, Inc.
Content preview from 持續交付|使用Java
額外的組建工具與技術 |
105
在持續交付中,最常使用
sudo
命令的例子是當你在虛擬機器或容器安裝軟體時:對於
Ubuntu Debian,使用
sudo apt-get install <package>
,對於 Red Hat CentOS
使用
sudo yum install <package>
。要讓用戶可以使用 sudo,你必須將他們的名稱加入
sudoers
檔案,這個檔案很重要,你不可以用文字編輯器直接編輯它,如果你用不正確
的方式編輯
sudoers
檔案,可能會被拒絕進入系統。因此,你要用
visudo
命令來編輯
sudoers
檔案。如果你要初始化一個系統,就要以 root 登入,並輸入命令
visudo
。只要
你的用戶有 sudo 權限,你就可以用
visudo
來使用
sudo
。範例 6-2
sudoers
檔的例子。
範例
6-2 
展示有
sudo
權限的部分
sudoers
檔案
# 用戶權限規範
root ALL=(ALL:ALL) ALL
danielbryant ALL=(ALL:ALL) ALL
ashleybryant ALL=(ALL:ALL) ALL
使用群組
Linux
群組
只是一個(可能)用戶空集合,可用來一次管理多位用戶,或讓多個獨立
的用戶帳戶協作與共用檔案。每位用戶都有一個預設或主要的群組,你要用
/etc/group
檔案來管理群組成員,它是一份群組及其成員的清單。當用戶登入時,群組成員會被設
成主群組。也就是說,當用戶啟動一個程式或建立一個檔案時,檔案與程式的執行都會
與用戶目前的群組成員有所關聯。這一點在持續交付中是很重要的概念,因為這代表當 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey
精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
数字化转型:企业破局的34 个锦囊

数字化转型:企业破局的34 个锦囊

Gary O’Brien, Xiao Guo, Mike Mason

Publisher Resources

ISBN: 9789865021740