Setting OpenVPN di debian Jessie

on Selasa, 19 Mei 2015

Setting OpenVPN di debian Jessie


PART 1: Get A Free OpenVPN Account
Please skip this part if you already have a VPN server set up.
1. Open up your web browser or just click the link to go to www.vpnbook.com.
2. Scroll down and click on the tab that says OpenVPN (as the picture shown below). Download one of the certificate bundles and also remember the username and password.
Download OpenVPN Account
3. Decompress the downloaded package. Create 3 new empty text files in the result folder and called them: ca.crtcertificate.crtkey.key.
openvpn key files
4. Open up one of the .ovpn files (All of the .ovpn files are the same, but with different configurations.) with gedit text editor, here I use vpnbook-us1-tcp443.ovpn as example.
5. In the .ovpn file, do following copy and paste things and finally save the changes.
Copy everything between tags and paste into ca.crt file.
Copy everything between tags and paste into certificate.crt file.
Copy everything between tags and paste into key.key file.
copy-keys
PART 2: Setup OpenVPN connection:
1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to install VPN plugin for network manager:
sudo apt-get install network-manager-openvpn-gnome
2. Go to system area network icon -> VPN Connections -> Configure VPN:
Configure VPN in Ubuntu 14.04
3. Click the Add button in next window and choose OpenVPN in drop-down menu as the connection type.
Add OpenVPN in Ubuntu 14.04
4. Now in VPN editing window, type in:
Connection name: type a name as you want
Gateway: the IP address in the vpnbook-us1-tcp443.ovpn file.
Type: Password with Certificates (TLS)
Username: see the picture under PART 1 -> step 2.
Password: see the picture under PART 1 -> step 2.
User Certificate: choose the certificate.crt file.
CA Certificate: choose the ca.crt file.
Private Certificate: choose the key.key file.
Private Key Password: leave it empty.
vpn-settings
5. NOTE: Advanced settings depend on the .ovpn file you selected in PART 1 (step 4), find the ip, port, cipher and so forth at the top of .ovpn file
Click the Advanced button. Check the boxes which say:
Use custom gateway port: 443
Use LZO data compression
Use a TCP connection
Under Security tab, set Cipher to AES-128-CBC
6. When everything is done, connect to the VPN from network menu:
connect-to-openvpn
You’re connected to the VPN if you see this message:
openvpn-connected


Enjoy!

http://ubuntuhandbook.org/index.php/2014/05/establish-openvpn-connection-ubuntu-1404/

Xmind Forced Close di 64 bit Debian Jessie

on Sabtu, 16 Mei 2015

Xmind Forced Close di 64 bit Debian Jessie

pesan erorrnya

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again


Solusinya

1. Stop XMind


2. Find your XMind.ini fill (di debian ada di /usr/lib/xmind)

jadi perintahnya
pluma /usr/lib/xmind/XMind.ini
3. add the following to the end of the file:

-Dorg.eclipse.swt.browser.DefaultType=mozilla

4. Restart XMind

Membebaskan Cached RAM di Ubuntu/Debian Jessie

on Jumat, 15 Mei 2015

 pakai perintah ini

sync; sudo echo 3 > /proc/sys/vm/drop_caches


kalau mau do crontab kan


Buat yang belum diinstall crontab-nya, cara install nya adalah :
sudo apt-get install cron
2. Melihat aktifitas crontab
Untuk melihat schedule yang sedang berjalan di sistem Anda :
sudo crontab -l
3. Mengedit cron jobs
sudo crontab -e

lalu isi (ini settingan per jam)

0    *    *    *    *    sync; echo 3 > /proc/sys/vm/drop_caches


atau pakai generator cron ini
http://www.openjs.com/scripts/jslibrary/demos/crontab.php

Untuk log tambahkan

1    *    *    *    *    grep CRON /var/log/syslog >> /home/debian/log/crontab.log


Google calendar di debian Jessie (pakai icedove)

on Kamis, 14 Mei 2015

Google calendar di debian Jessie (pakai icedove)

install
apt-get install icedove iceowl-extension


add new calendar

Dconf Editor (memindahkan tombol Close dkk) MAte Debian Jessie

Dconf Editor (memindahkan tombol Close dkk) MAte Debian Jessie

1. Menghilangkan ikon (disable right click)

org > mate > desktop > background
hilangkan centang di show-desktop-icon


2. Rubah Tombol close
org > mate > marco > general

close,minimize,maximize:menu



3. hilangkan trash icon dll (pakai no 1 aja udah all in one)
org > mate > caja > desktop

hilangkan centang

Setting samba Debian Jessie

on Selasa, 12 Mei 2015

Setting samba Debian Jessie

apt-get install samba

Buat back upnya
cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
 
 
Seettingan 
pluma /etc/samba/smb.conf
 
 
settingan samba dimari
 http://pastebin.com/gueriNWK
 
 
Restart samba
sudo service smbd restart

Konfigurasi Squid 3 Di debian 8 Jessie

Alhamdulillah akhirnya bisa berbulan madu dengan si jessie ini...
langsung saja biar saya inger ini alias sebagai catatan saja..

install squid3 (masuk root ye!!!)
apt-get install squid3

Back up

cp /etc/squid/squid.conf cp /etc/squid/squid.conf.backup

Seting squid (gue pakek mate)
sudo pluma /etc/squid3/squid.conf

ada di pastebin setingannya :)
http://pastebin.com/JhMuDiBX

Rubah permission di cachenya
chown -R proxy:proxy /var/spool/squid3/

lanjut testing

squid3 -k parse 


"sementara masih ada errror" tapi jalan :D so abaikan
2015/05/12 20:31:37| WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'reload-into-ims' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'ignore-reload' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'ignore-no-store' in 'refresh_pattern' violates HTTP
2015/05/12 20:31:37| WARNING: use of 'ignore-must-revalidate' in 'refresh_pattern' violates HTTP
2015/05/1


Buat cache dir
squid3 -z 

Finally restart squid
service squid3 start 

N rubah proxy browser ke 127.0.0.1 port 3128


ngecek gedenya cache
du -hs /var/spool/squid3
 

 

Install Multimedia Codecs Debian Jessie

on Selasa, 28 April 2015

Install Multimedia Codecs Debian Jessie




Jessie
sudo apt-get install flashplugin-nonfree icedtea-plugin libavcodec-extra gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-fluendo-mp3 gstreamer0.10-pulseaudio libgstreamer-perl libgstreamer-interfaces-perl


Wheezy
sudo apt-get install libav-tools libavcodec-extra-53 libavdevice-extra-53 libavfilter-extra-2 libavformat-extra-53 libavutil-extra-51 libpostproc-extra-52 libswscale-extra-2 flashplugin-nonfree ttf-mscorefonts-installer icedtea-plugin
 
© Geazzy Corner All Rights Reserved