- Prerequisites (Prasyarat)
-
Topologi Jaringan
- Konfigurasi Server dan Client
Konfigurasi Server : -------------------------------------------------- - Sistem Operasi : Linux Debian 10 (Buster) - IP Address NIC 1 : DHCP Internet - Gateway : DHCP Internet - Hostname : ns100 (100 diasumsikan sebagai nomer absen siswa) - Domain : sekolah100.sch.id (100 diasumsikan sebagai nomer absen siswa) - IP Address NIC 2 : 192.168.100.1/24 (100 diasumsikan sebagai nomer absen siswa) Konfigurasi Client : -------------------------------------------------- - Sistem Operasi : Windows - IP Address : DHCP
-
- Seting Server
- Install dan Konfigurasi DHCP Server
- Install dan Konfigurasi DNS Server
- Install dan Konfigurasi CloudPanel
Install Paket Pendukung
Sebelum memulai silahkan login ke server dengan menggunakan user root
login as: root
This email address is being protected from spambots. You need JavaScript enabled to view it. .1's password: Linux ns100 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Aug 8 14:04:53 2021 from 192.168.100.10Kita perlu menginstal beberapa paket yang dibutuhkan untuk menginstal CloupPanel. Jalankan perintah berikut:
root@ns100:~# apt install curl wget gnupg2 sudo -y Reading package lists... Done Building dependency tree Reading state information... Done wget is already the newest version (1.20.1-1.1). The following additional packages will be installed: dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libcurl4 libksba8 libnpth0 pinentry-curses Suggested packages: dbus-user-session pinentry-gnome3 tor parcimonie xloadimage scdaemon pinentry-doc The following NEW packages will be installed: curl dirmngr gnupg gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libcurl4 libksba8 libnpth0 pinentry-curses sudo 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. Need to get 9,323 kB of archives. After this operation, 20.3 MB of additional disk space will be used. Get:1 http://mirror.smkn1klaten.sch.id/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] Get:2 http://mirror.smkn1klaten.sch.id/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] Get:3 http://mirror.smkn1klaten.sch.id/debian buster/main amd64 libassuan0 amd64 2.5.2-1 [49.4 kB] Get:4 http://mirror.smkn1klaten.sch.id/debian buster/main amd64 gpgconf amd64 2.2.12-1+deb10u1 [510 kB] Get:18 http://mirror.smkn1klaten.sch.id/debian buster/main amd64 sudo amd64 1.8.27-1+deb10u3 [1,244 kB] Fetched 9,323 kB in 20s (477 kB/s) Selecting previously unselected package libcurl4:amd64. (Reading database ... 32365 files and directories currently installed.) Preparing to unpack .../00-libcurl4_7.64.0-4+deb10u2_amd64.deb ... Processing triggers for systemd (241-7~deb10u8) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10) ... root@ns100:~#
Setelah semua paket terinstal, periksa kembali dan atur nama host sistem agar sesuai dengan prasyarat yang dibutuhkan. Gunakan perintah berikut:
root@ns100:~# nano /etc/hosts 127.0.0.1 localhost 192.168.100.1 ns100.sekolah100.sch.id ns100 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Install CloudPanel
Untuk menginstal paket CloudPanel cukup sederhana dan mudah, karena CloudPanel telah menyediakan skrip instalasi otomatis terutama untuk sistem operasi Debian 10 (Buster). Kita tinggal menjalankan perintah berikut:
root@ns100:~# curl -sSL https://installer.cloudpanel.io/ce/v1/install.sh -o cloudpanel_installer.sh root@ns100:~# ls cloudpanel_installer.sh
Setelah skrip diunduh, atur perizinan atau hak akses file yang tepat untuk skrip yang diunduh tadi dengan menjalankan perintah berikut:
root@ns100:~# chmod +x cloudpanel_installer.sh root@ns100:~#
Selanjutnya jalankan script dengan menjalankan perintah berikut:
root@ns100:~# ./cloudpanel_installer.sh Get:1 http://mirror.smkn1klaten.sch.id/debian buster InRelease [122 kB] Get:2 http://mirror.smkn1klaten.sch.id/debian buster-updates InRelease [51.9 kB] Get:3 http://mirror.smkn1klaten.sch.id/debian-security buster/updates InRelease [65.4 kB] Ign:4 http://mirror.smkn1klaten.sch.id/debian-security buster/updates/main Sources Ign:5 http://mirror.smkn1klaten.sch.id/debian-security buster/updates/main amd64 Packages Ign:6 http://mirror.smkn1klaten.sch.id/debian-security buster/updates/main Translation-en Get:4 http://mirror.smkn1klaten.sch.id/debian-security buster/updates/main Sources [196 kB] Get:5 http://mirror.smkn1klaten.sch.id/debian-security buster/updates/main amd64 Packages [299 kB] Get:6 http://mirror.smkn1klaten.sch.id/debian-security buster/updates/main Translation-en [156 kB] Fetched 891 kB in 11s (80.2 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Selecting previously unselected package rcconf. Preparing to unpack .../052-rcconf_3.2+nmu1_all.deb ... Unpacking rcconf (3.2+nmu1) ... Selecting previously unselected package mailutils-common. Preparing to unpack .../053-mailutils-common_1%3a3.5-4_all.deb ... Unpacking mailutils-common (1:3.5-4) ... Selecting previously unselected package locales-all. Preparing to unpack .../054-locales-all_2.28-10_amd64.deb ... Unpacking locales-all (2.28-10) ... Progress: [ 18%] [##########................................................]
Setelah CloudPanel berhasil diinstal, maka akan muncul tampilan seperti berikut:
[OK] Database schema updated successfully! > purging database > loading App\DataFixtures\BlockedBotsFixtures > loading App\DataFixtures\TimezoneFixtures Vhost Templates have been imported. Synchronizing state of memcached.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable memcached insserv: warning: current start runlevel(s) (empty) of script `memcached' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `memcached' overrides LSB defaults (0 1 6). Removed /etc/systemd/system/multi-user.target.wants/memcached.service. vm.overcommit_memory = 1 Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety. Processing triggers for libc-bin (2.28-10) ... Processing triggers for systemd (241-7~deb10u8) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for mime-support (3.62) ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The installation of CloudPanel is complete! CloudPanel can be accessed now: https://your-server-ip:8443/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ root@ns100:~#
Sampai Pada tahap ini, CloudPanel telah berhasil diinstal. kemudian kita dapat mengaksesnya melalui browser.
Akses CloudPanel Dashboard
Selanjutnya kita buka browser untuk mengakses interface CloudPanel dengan mengetikan alamat https://sekolah100.sch.id:8443. Dan kita akan diarahkan ke halaman Registerasi user Admin, kemudian kita isi dan lengkapi (First Name, Last Name, User Name Admin, E-mail dan Password) dan klik tombol "Create User". Maka kita akan diarahkan ke halaman login CloudPanel.
Ketikkan user admin yang telah kita buat sebelumnya, isikan password-nya dan klik tombol "Login". Dan dashboard CloudPanel akan tampil di layar.
Menu Dashboard CloudPanel
Menu Services CloudPanel
- Kesimpulan
Selamat! akhirnya kita telah belajar dan berhasil menginstal CloudPanel di Debian 10 (Buster). Dengan CloudPanel kita dapat mengelola user, Domain, Web Server, PHP, Redis, dan Resources server dengan mudah melalui dashboard CloudPanel.