Postingan

Tutorial instalasi Vagrant pada linux

Cara memasang Vagrant di linux bisa dilihat di - https://www.digitalocean.com/community/tutorials/how-to-install-vagrant-on-a-vps-running-ubuntu-12-04 untuk melakukan pembeharuan versi unbuntu pada vagrant yg sudah diinstall lakukan perintah berikut #apt-get update #apt-get upgrade #apt-get dist-upgrade #reboot #do-release-upgrade Cara agar vagrant bisa diakses dari komputer lain bisa lihat di - https://stackoverflow.com/questions/18689014/access-private-vm-from-other-computer-over-wifi

Tutorial instalasi Laravel pada Linux Ubuntu

Tutorial instalasi laravel bisa dilihat di - https://www.dibalikpapan.com/tutorial-laravel-memasang-laravel-di-ubuntu/ - https://laravel.com/docs/5.7 Tutorial menjalankan laravel dengan alamat ip bisa lihat di - https://stackoverflow.com/questions/28956911/how-can-i-access-my-laravel-app-from-another-pc

enkripsi folder

Gambar
How to Encrypt Directories/Partitions with eCryptfs on Debian 8 (Jessie) This tutorial exists for these OS versions Debian 8 (Jessie) Debian 6 (Squeeze) On this page 1 Preliminary Note 2 Installing eCryptfs 3 Encrypting a directory 4 How to automatically mount an encrypted partition at boot time 5 Links eCryptfs  is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux. You can use it to encrypt partitions and also directories that don't use a partition of their own, no matter the underlying filesystem, partition type, etc. This tutorial shows how to use eCryptfs to encrypt a directory on Debian Jessie. 1 Preliminary Note In this tutorial, I will encrypt my home directory,  /home/falko/ , which is located on the  /  partition (i.e.,  /home/falko/  is an ordinary directory and does not use a partition of its own). 2 Installing eCryptfs eCryptfs can easily be installed as follows: apt-get -y install ecryptfs-utils 3 Enc

useful information

- ufw app list : unutk mengetahui aplikasi yg berjalan pada server kalo nggak salah - dpkg --get-selections | grep apache : untuk mengetahui aplikasi yang sudah diintsall, dalam hal ini apache2   - cara mengetahu terakhir login : Use: #last | grep [username] or #last | head     netstat -tnpa | grep 'ESTABLISHED.*sshd' >>>ini yg lebih jitu : less /var/log/auth.log     - cara mengetahui perintah terakhir yg digunakan : ps -ef   - untuk check ukuran hardisk maupunmemory : df -h --total  - menambahkan gateway : route add default gw 10.100.103.1 - menulis tanpa masuk ke file : echo "nameserver 80.80.80.80" >> /etc/resolv.conf arti dari ">" adalah mendambah dan replace , ">>" menambah baris selanjutnya   jika mendapati terro 500 pada instalasi vsftpd usermod -s /sbin/nologin testuser However, that won’t address the problem listed in the error. To do that, you must make the use

Oleh - oleh bleyer Anniversary YYKC Jogja

Gambar

Cara membuat user agar tidak bisa login ssh, dan hanya bisa login ftp pada ubuntu

Cara ini merupakan salah sati pengamanan  server, hal itu karena jika kita memiliki user namun apabila mempunya wewenang atau hak ases untuk meremote server padahal user itu ditujukan hanya untuk mengakses server ftp. Jadi dengan mendisable user tersebut untuk remote pakai ssh atau yang lain . Maka hak akses dapat di batasi. Berikut langkah mendisable user agar hanya bisa mengakses ftp :\ Pertama edit file ftponly yg ada di direktori bin : sudo nano /bin/ftponly Didalam file ini kita tambahkan bahwa user tidak bisa mengakses ssh, copy scrip dibawah ini : #!/bin/sh echo "This account is limited to FTP access only." Ubah permission agar bisa di eksekusi: sudo chmod a+x /bin/ftponly Kemudian buka valid shell: sudo nano /etc/shells tambahkan di baris bawah: /etc/shells . . . /bin/ftponly Perbarui shell user yg akan di disable aksesnya dengan perintah berikut: sudo usermod sammy -s /bin/ftponly Coba login dengan : ssh sammy@ 203.0.113.