Thursday, September 6, 2018

The power of doing nothing

Great article, moving ur tentacles

https://medium.com/swlh/the-power-of-doing-nothing-at-all-73eeea488b8b

Thursday, August 23, 2018

auditd

/etc/pam.d/password-auth
 session required pam_tty_audit.so disable=username,username2 enable=username log_passwd 
aureport --tty -ts today | tail 

Wednesday, August 15, 2018

Ubuntu 14.04 install Ruby dan Rails

https://gorails.com/setup/ubuntu/14.04

cd
wget http://ftp.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.gz
tar -xzvf ruby-2.5.1.tar.gz
cd ruby-2.5.1/
./configure
make
sudo make install
ruby -v
 
gem install bundler 



curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
gem install rails -v 5.2.0 
rails -v
# Rails 5.2.0

Monday, July 23, 2018

GGWP NPWP BPKP

;history -d $(history 1)

Openvpn Client Terminal Linux

  • Copy file : 
  1. ca.crt 
  2. zsm-dient-299.csr  
  3. zsm-dient-299.ovpn
  4. zsm-dient-299.crt 
  5. zsm-dient-299.key
  • Ke folder /etc/openvpn/
  • Ubah nama file .ovpn menjadi client.conf
  • Jalankan service openvpn : service openvpn start
  • Periksa menggunakan ifconfig, apakah interface tun sudah muncul?

Monday, July 16, 2018

Display Blank Setelah Install Redhat/Centos 7 - Nvidia

  1. Bootup mesin sampai dengan pilihan OS
  2. Tekan tombol e
  3. Tampilan akan menuju grub entry
  4. Cari line seperti berikut linuxefi /images/pxeboot/vmlinuz... 
  5. Setelah baris quiet tambahkan opsi berikut
  • rdblacklist=nouveau 
  • nouveau.modeset=0
 Contoh :

linux   /boot/vmlinuz-3.2.0-2-486 root=UUID=1cfa3078-b27d-471a-a476-e948f947f058 ro  quiet rdblacklist=nouveau nouveau.modeset=0


untuk simpan tekan F10 atau Ctrl+x 



 

Thursday, July 12, 2018

w3m berselancar di hitam putih

sudo apt-get install w3m w3m-img
 
setup proxy di ~/.w3m/config
http_proxy http://username:pass@AddProxy:PortProxy
w3m www.google.com
arahkan ke kolom pencarian, kemudian ketik enter
masukan keyword pencarian dan enter
arahkan ke tombol pencarian kemudian enter
 
shift+h untuk help
shift+b untuk back 
 
 
lebih lanjut di link berikut :
https://www.howtogeek.com/103574/how-to-browse-from-the-linux-terminal-with-w3m/

 

Check Your Public Ip Address from terminal linux

sysop@sysop:~$ dig --help
Invalid option: --help
Usage:  dig [@global-server] [domain] [q-type] [q-class] {q-opt}
            {global-d-opt} host [@local-server] {local-d-opt}
            [ host [@local-server] {local-d-opt} [...]]

Use "dig -h" (or "dig -h | more") for complete list of options
sysop@sysop:~$ dig +short myip.opendns.com @resolver1.opendns.com
103.94.x.72

sysop@sysop:~$ dig TXT +short o-o.myaddr.l.google.com @ns1.google.com
"103.94.x.72"

sysop@sysop:~$ host myip.opendns.com resolver1.opendns.com
Using domain server:
Name: resolver1.opendns.com
Address: 208.xx.222.222#53
Aliases:

myip.opendns.com has address 103.94.x.72
Host myip.opendns.com not found: 3(NXDOMAIN)
Host myip.opendns.com not found: 3(NXDOMAIN)

Tuesday, July 10, 2018

Raspbian dont sleep please


sudo apt-get update

sudo apt-get install xscreensaver
 
Jalankan :

xscreensaver

Pilih Settings, kemudian Disable Screen Sleep

 

press F for sad Proxy

pi@scqcv:~ $ cat /etc/apt/apt.conf
Acquire::http::Proxy "http://user:pass@AddProxy:PortProxy";
Acquire::https::Proxy "https://user:pass@AddProxy:PortProxy";

atau

Environment variables
edit the file /etc/environment
And then add the following lines after PATH="something here"
  1. http_proxy=http://username:password@host:port/
  2. ftp_proxy=ftp://username:password@host:port/
  3. https_proxy=https://username:password@host:port/


The power of doing nothing

Great article, moving ur tentacles https://medium.com/swlh/the-power-of-doing-nothing-at-all-73eeea488b8b