Tambahkan dan Kelola Sistem Ubuntu Menggunakan Lansekap

Selamat datang lagi di panduan kami tentang cara menambahkan dan mengelola sistem Ubuntu menggunakan alat manajemen sistem Ubuntu Landscape. Sebelum Anda dapat melanjutkan, pastikan Anda telah menyiapkan edisi Lanskap pada premis. Anda dapat memeriksa panduan kami sebelumnya tentang cara menginstal dan mengatur Lansekap di Ubuntu 18.04 dengan mengikuti tautan di bawah ini;

Instal dan Atur Lansekap di Ubuntu 18.04

Tambahkan dan Kelola Sistem Ubuntu Menggunakan Lansekap

Setel Tombol Akses Server Lanskap

Untuk memastikan koneksi yang aman ke server Landscape, Anda perlu membuat kunci akses. Kunci ini mencegah upaya pendaftaran yang tidak sah. Anda akan diminta untuk memasukkan kunci ini saat mendaftarkan client. Oleh karena itu, Masuk ke interface user web Lansekap dan navigasikan ke tab Organisasi > Akun.

Atur kunci Anda dan klik simpan.

Copy sertifikat CA SSL Lansekap ke Client

Pendaftaran sistem client memerlukan kunci publik SSL server Landscape untuk keasliannya. Paket mulai cepat Lanskap menghasilkan dan menginstal sertifikat SSL yang ditandatangani sendiri dalam /etc/ssl/certs/landscape_server_ca.crt menggunakan FQDN host untuk  commonNamebidang sertifikat.

Oleh karena itu, copy file sertifikat ini ke setiap client dan letakkan di bawah direktori yang sesuai, misalnya /etc/landscape/, misalnya;

scp /etc/ssl/certs/landscape_server_ca.crt [email protected]:/etc/landscape/

Instal Client Lansekap

Untuk mengelola sistem Ubuntu menggunakan Landscape, Anda harus mendaftarkannya sebagai client Landscape. Oleh karena itu, masuk ke sistem Ubuntu yang perlu Anda kelola dari dasbor Lansekap dan instal paket client Lansekap untuk memungkinkan Anda mendaftarkan sistem Ubuntu.

Perbarui paket sistem Anda dan instal client Lansekap.

sudo apt updatesudo apt install landscape-client

Daftarkan komputer

Selanjutnya, lanjutkan untuk mendaftarkan sistem client Ubuntu yang perlu Anda kelola dari dasbor Landscape dengan menjalankan perintah di bawah ini;

sudo landscape-config --computer-title "Server01" --account-name standalone --url https://u18server.example.com/message-system --ping-url http://u18server.example.com/ping --ssl-public-key /etc/landscape/landscape_server_ca.crt

Anda akan diminta untuk memberikan beberapa detail tentang komputer client dan akun Lansekap.

Landscape client must be started on boot to operate correctly. Start Landscape client on boot? [Y/n]: y This script will interactively set up the Landscape client. It will ask you a few questions about this computer and your Landscape account, and will submit that information to the Landscape server. After this computer is registered it will need to be approved by an account administrator on the pending computers page. Please see https://landscape.canonical.com for more information. A registration key may be associated with your Landscape account to prevent unauthorized registration attempts. This is not your personal login password. It is optional, and unless explicitly set on the server, it may be skipped here. If you don't remember the registration key you can find it at https://landscape.canonical.com/account/standalone Account registration key: Access Key Please confirm: Access Key Landscape client communicates with the server over HTTP and HTTPS. If your network requires you to use a proxy to access HTTP and/or HTTPS web sites, please provide the address of these proxies now. If you don't use a proxy, leave these fields empty. HTTP proxy URL: Enter HTTPS proxy URL: Enter Landscape has a feature which enables administrators to run arbitrary scripts on machines under their control. By default this feature is disabled in the client, disallowing any arbitrary script execution. If enabled, the set of users that scripts may run as is also configurable. Enable script execution? [y/N]: y By default, scripts are restricted to the 'landscape' and 'nobody' users. Please enter a comma-delimited list of users that scripts will be restricted to. To allow scripts to be run by any user, enter "ALL". Script users: Enter You may provide an access group for this computer e.g. webservers. Access group: Test_Servers You may provide tags for this computer e.g. server,precise. Tags: server01 [ ok ] Restarting landscape-client (via systemctl): landscape-client.service. Please wait... Request a new registration for this computer now? [Y/n]: y System successfully registered.

Verifikasi Pendaftaran Client

Saat Anda login kembali ke interface user web Landscape, Anda akan dapat melihat client terdaftar.

Klik pada tab Komputer untuk melihat detail lebih lanjut tentang client.

Untuk melihat detail lebih lanjut tentang komputer client, klik kotak centang yang berdekatan dengan nama client. Anda kemudian dapat pergi melalui keran di atas untuk melihat detail lebih lanjut. Misalnya, untuk memeriksa info komputer client, klik tab Info.

Menakjubkan, bukan? Sekarang, jangan ragu untuk menjelajahi alat ini. Itu saja tentang cara menambah dan mengelola sistem Ubuntu menggunakan Landscape.

Untuk daftar pertanyaan yang sering diajukan, periksa halaman FAQ Lanskap. Menikmati.