Postingan

Menampilkan postingan dari Februari, 2021

Cara Install Apache, PHP 7, MySQL dan PHPMyAdmin di Ubuntu 18.04 LTS

Gambar
  Cara Install Apache, PHP 7, MySQL dan PHPMyAdmin di Ubuntu 18.04 LTS Ucup Timposu  - Maret 21, 2019 Di Linux dikenal istilah LAMP yang merupakan singkatan dari Linux, Apache, MySQL dan PHP, yang merupakan paket legenda dalam pengembangan aplikasi web yang sangat populer. Di tutorial ini saya akan membahas instalasi paket Apache, PHP dan MySQL  di  Ubuntu 18.04 LTS . 1. Install Database Server MySQL Untuk melakukan instalasi MySQL cukup lakukan perintah sudo apt-get -y install mysql-server mysql-client Copy Secara default versi MySQL yang dipasang pada Ubuntu 18.04 adalah MySQL 5.7. Kita bisa login dengan perintah sudo mysql -u root -p dengan password user linux kita, tapi konfigurasi mysqlnya dulu, kalau kalin bingung bisa ikut di bawah ini. sudo mysql_secure_installation Copy Please set the password for root here. New password: isi password root disini Re-enter new password: isi password root disini Estimated strength of the password: 25 Do you wish to co...

Set password root dan enable SSH root

  Set password root dan enable SSH root Set Root Password By default Ubuntu 18.04 Bionic Beaver installation comes with unset root password. To set root password  open up terminal  and execute the following  linux command . When prompted enter your current user password and new root password: $ sudo passwd [sudo] password for linuxconfig: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enable SSH root login By default SSH root login is disabled. Any attempt to ssh as root user will result in the following error message: $ ssh root@10.1.1.9 root@10.1.1.9's password: Permission denied, please try again. root@10.1.1.9's password: The next command will configure SSH server to allow root ssh login: $ sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config Restart SSH server to apply changes: $ sudo service ssh restart

Membuat jalur untuk VM Proxmox

Gambar
 Create Jalur Proxmox Untuk VM-nya 1. klik VM>hardware>add network device 2. pilih vmbr0> add, vmbr0 merupakan bridge yang dibikin proxmox secara otomatis pada saat installasi proxmox, member bridge merupakan ether jalur utama. jadi ketika kita pilih vmbr0 berarti kita bikin satu jalur dengan jalur utamanya.  Bisa juga untuk VMnya dibuatkan trunk lagi, akan kita bahas next time, terima kasih

Ganti Port SSH di Ubuntu 18.04

Gambar
  How to Change SSH Port in Ubuntu 18.04 check port default ssh yang udah digunakan netstat -tulnp | grep ssh As you can see, the SSH daemon is currently running on TCP port 22. cek konfigurasi saat ini grep -i port /etc/ssh/sshd_config The Port directive is commented out by default, which means SSH daemon listens on  the default port 22. If you want to change the default SSH port in Ubuntu, perform the following steps with root privileges: Open the  /etc/ssh/sshd_config  file and locate the line: #Port 22 Then, uncomment (Remove the leading # character) it and change the value with an appropriate port number (for example, 22000): Port 22000 Restart the SSH server: systemctl restart sshd After that, run the netstat command and make sure that the ssh daemon now listen on the new ssh port: netstat -tulpn | grep ssh When connecting to the server using the ssh command, you need to specify the port to connect using the  -p  flag: ssh -p 22000 192.168.1.100 Note ...
  catatan setelah upgrade atau downgrade versi PHP harus rekonfigure phpmyadmin dpkg-reconfigure phpmyadmin

MEMBUAT VLAN DI SLACKWARE

Gambar
  Membuat VLAN pada Linux Slackware Virtual LAN atau disingkat VLAN ( Virtual Local Area Network ) merupakan sekelompok perangkat pada satu LAN ( Local Area Network ) atau lebih yang dikonfigurasikan (menggunakan perangkat lunak pengelolaan) sehingga dapat berkomunikasi seperti halnya bila perangkat tersebut terhubung ke jalur yang sama, padahal sebenarnya perangkat tersebut berada pada sejumlah segmen LAN yang berbeda. VLAN merupakan sebuah bagian kecil jaringan IP yang terpisah secara logik. VLAN memungkinkan beberapa jaringan IP dan jaringan-jaringan kecil (subnet) berada dalam jaringan switched yang sama. Agar komputer bisa berkomunikasi pada VLAN yang sama, setiap computer harus memiliki sebuah alamat IP dan Subnet Mask yang sesuai dengan VLAN tersebut. ( wiki ) Berikut step by step menggunakan vlan di Slackware. 1. Pertama-tama periksa apakah module vlan sudah diaktifkan atau belum. root@zero:/# lsmod |grep 8021 – Jika belum ada, aktifkan module 8021q, biasanya pada kern...