TAILIEUCHUNG - Lecture Automating linux system

Lecture Automating linux system presented applying practical automation, using script for automating admin on multi system, distributing login scripts, tasks setup new system, creating a custom configuration approach. | AUTOMATING LINUX SYSTEM Nội dung Applying Practical Automation Using script for automating admin on multi system Distributing Login Scripts Tasks setup new system Creating a Custom Configuration Approach overview of automated change development process Example Automation illustrate important points about creating automated procedures Steps set of manual steps frequently performed at most sites Turn it into an automated procedure Scripting a Working Procedure Scenario SA needs to create user accounts regularly create a directory on a central Network File System (NFS) server send off a welcome e-mail begin automation process take all commands and put them into a shell script Distribution script another SA cannot use it easily Need addition Usage syntax Test correct host If account is created ? Create e-mail with content Script ver 2 Turning Script into a Robust Automation some improved error messages, rollback step. Using script for multi system Create Commands That Affect Multiple Systems Simple Multi-SSH simple shell script that executes specified command on every machine listed in configuration file Group-Based Multi-SSH SSH review Remote connect into another PC Authentication Password Certificate Certificate authentication Generating Key Pair Specifying Authorized Keys private key alone allows to access account Generating Key Pair On client PC Ssh-keygen -t rsa -b 2048 → Generating public/private key In ~/.ssh/ Private key: id_rsa Public key: Specifying Authorized Keys Put public into authorized file (on remote PC) Cp ~/.ssh/ ~/.ssh/authorized_keys private key alone allows to access account Modify file /etc/ssh/sshd_config Change PasswordAuthentication: yes → no Simple Multi-SSH Group-Based Multi-SSH run a command on a certain subset of machines instead of being forced to run it on every machine in every circumstance Copying Files copy 1(more) local files, recursively, to a given directory on multiple PC. 1st arg (list)local file 2nd arg .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.