Diodon PPA
sudo add-apt-repository ppa:diodon-team/stable
sudo add-apt-repository ppa:diodon-team/stable
Installed systemd unit for VNC Server in Service Mode daemon
Start or stop the service with:
systemctl (start|stop) vncserver-x11-serviced.service
Mark or unmark the service to be started at boot time with:
systemctl (enable|disable) vncserver-x11-serviced.service
Installed systemd unit for VNC Server in Virtual Mode daemon
Start or stop the service with:
systemctl (start|stop) vncserver-virtuald.service
Mark or unmark the service to be started at boot time with:
systemctl (enable|disable) vncserver-virtuald.service
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/geany 10
sudo update-alternatives --config editor
/usr/share/applications/defaults.list
– the system defaults list.
~/.local/share/applications/mimeapps.list
– the users personal desktop session defaults list
References
http://askubuntu.com/questions/194712/how-do-i-make-geany-my-default-editor-on-ubuntu
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
References
https://www.google.com/linuxrepositories/
http://www.ubuntuupdates.org/ppa/google_chrome
http://askubuntu.com/questions/741850/repository-failure-with-google-chrome
### Basic configuration ### ******************* # Uncomment one of these if you want to allow remote clients to # connect: # proxyAddress = "::0" # both IPv4 and IPv6 # proxyAddress = "0.0.0.0" # IPv4 only proxyAddress = "127.0.0.1" proxyPort = 8118 # If you do that, you'll want to restrict the set of hosts allowed to # connect: # allowedClients = "127.0.0.1, 134.157.168.57" # allowedClients = "127.0.0.1, 134.157.168.0/24" allowedClients = 127.0.0.1 allowedPorts = 1-65535 # Uncomment this if you want your Polipo to identify itself by # something else than the host name: proxyName = "localhost" # Uncomment this if there's only one user using this instance of Polipo: cacheIsShared = false # Uncomment this if you want to use a parent proxy: # parentProxy = "squid.example.org:3128" # Uncomment this if you want to use a parent SOCKS proxy: socksParentProxy = "localhost:9050" socksProxyType = socks5
References
http://www.binarytides.com/install-tor-vidalia-and-polipo-on-ubuntu/
touch auth
nano auth
at the first line enter username and the second line pass
change this line in config file (*.ovpn):
auth-user-pass
to
auth-user-pass auth
References
https://www.ivpn.net/setup/gnu-linux-terminal.html
In /etc/NetworkManager/NetworkManager.conf comment out the line dns=dnsmasq
sudo nano /etc/NetworkManager/NetworkManager.conf
[main] plugins=ifupdown,keyfile,ofono #dns=dnsmasq
and restart the NetworkManager service.
sudo restart network-manager
sudo rm -f /etc/resolv.conf # Delete the symbolic link
sudo nano /etc/resolv.conf # Create static file
# Content of static resolv.conf nameserver 208.67.220.220 nameserver 208.67.220.222
References
http://askubuntu.com/questions/690511/how-to-change-dns-in-ubuntu-15-10
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
References
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
download then install
tar xzvf softether-vpnserver-v2.00-9387-rtm-2013.09.16-linux-x86-32bit.tar.gz
cd vpnserver
make
command line
./vpnserver start
./vpncmd
ServerPasswordSet
HubCreate VPN
Hub VPN
SecureNatEnable
use port 992 to connect with Server Manager from windows
Client
/etc/sysctl.conf : net.ipv4.ip_forward=1
ip addr show vpn_vpn
sudo dhclient vpn_vpn
ip addr show vpn_vpn
ip neigh
sudo ip route add 51.254.87.79/32 via 192.168.43.1 dev wlp3s0 sudo ip route del default sudo ip route add default via 192.168.30.1 dev vpn_vpn
References
https://www.digitalocean.com/community/tutorials/how-to-setup-a-multi-protocol-vpn-server-using-softether
http://lukeluo.blogspot.fr/2013/11/how-to-set-up-softehter-vpn-client.html
https://blog.harshillodhi.co.in/softether-vpn-ubuntu-linux-client-configuration-behind-http-proxy/
Go to /etc/apt. Create the file apt.conf if you don’t have it there. Write the following lines there.
Acquire::http::proxy "http://username:password@proxyserver:port/"; Acquire::https::proxy "https://username:password@proxyserver:port/"; Acquire::socks::proxy "socks://username:password@proxyserver:port/"; Acquire::ftp::proxy "ftp://username:password@proxyserver:port/";
Save it. You are done.
Keywords
apt , ubuntu , proxy