Uninstall VMWare Workstation
sudo vmware-installer --uninstall-product vmware-workstation
References :
http://askubuntu.com/questions/131045/how-do-i-uninstall-vmware-workstation
sudo vmware-installer --uninstall-product vmware-workstation
References :
http://askubuntu.com/questions/131045/how-do-i-uninstall-vmware-workstation
– Open a terminal
– type in or copy/paste:
sudo gedit /etc/sysctl.conf
– a file will be opened
– add the following line at the bottom of that file:
# Swappiness vm.swappiness = 10 vm.vfs_cache_pressure = 50
– save the file and close it.
After rebooting the swappiness is set to 10. This can be checked by running the following command in a terminal:
sudo cat /proc/sys/vm/swappiness
References :
https://sites.google.com/site/tipsandtricksforubuntu/system-tips/swappiness
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04
/usr/local/java/jdk1.8.0_66
sudo gedit /etc/profile
JAVA_HOME=/usr/local/java/jdk1.8.0_66 JRE_HOME=$JAVA_HOME/jre PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin export JAVA_HOME export JRE_HOME export PATH
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_66/jre/bin/java" 1 sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.8.0_66/bin/javac" 1 sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/local/java/jdk1.8.0_66/bin/javaws" 1
sudo update-alternatives --set java /usr/local/java/jdk1.8.0_66/jre/bin/java sudo update-alternatives --set javac /usr/local/java/jdk1.8.0_66/bin/javac sudo update-alternatives --set javaws /usr/local/java/jdk1.8.0_66/bin/javaws
. /etc/profile
References :
Simply adding a password for root is not enough for Ubuntu 14.04 Server.
You also need to edit /etc/ssh/sshd_config, and comment out the following line:
PermitRootLogin without-password
Just below it, add the following line:
PermitRootLogin yes
Then restart SSH:
service ssh restart
References :
http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
apt-get install python-pip pip install shadowsocks
apt-get install python-m2crypto
You can use a configuration file instead of command line arguments.
Create a config file /etc/shadowsocks.json
. Example:
{ "server":"my_server_ip", "server_port":8388, "local_address": "127.0.0.1", "local_port":1080, "password":"mypassword", "timeout":300, "method":"aes-256-cfb", "fast_open": false }
To run in the foreground:
ssserver -c /etc/shadowsocks.json
To run in the background:
ssserver -c /etc/shadowsocks.json -d start ssserver -c /etc/shadowsocks.json -d stop
References :
https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File
https://github.com/pobizhe/shadowsocks/wiki/Encryption
ssh remote_username@remote_host
References :
At first you need to confirm that /etc/update-manager/release-upgrades
file has the following line:
Prompt=normal
If Prompt has any other value e.g. lts or never, change it to Prompt=normal.
Now you can run the following command to upgrade your Lubuntu 14.04 to Lubuntu 14.10:
sudo do-release-upgrade
References :
http://askubuntu.com/questions/423942/change-password-on-root-user-and-user-account
To change the root password:
sudo passwd
To change your user password:
passwd
To change other users password:
sudo passwd USERNAME
References :
http://askubuntu.com/questions/423942/change-password-on-root-user-and-user-account
sudo nano /etc/network/interfaces
add the following at the bottom of the file
auto lo:1 iface lo:1 inet static address 127.0.0.2 netmask 255.0.0.0 #network 127.0.0.0
then
sudo /etc/init.d/networking restart
References :
http://serverfault.com/questions/579435/arbitrary-loopback-ip-addresses-besides-127-0-0-1