*-------------------------------------------------------------------------*
[For Java]-
sudo apt-get install software-properties-common
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
[Other stuff]-
**
sudo apt-get install unzip (If you dont have it)
mkdir [file_name] - to create directory
rm -r [file_name] - to delete directory
unzip [file_name] - to unzip file that you want
cd [directory] - go to directory
ls - to see files
**
[For Server]-
wget [url] - for example "http://ftq.theoda.ga/files/beta.zip
unzip xuy.zip
rm -r xuy.zip
cd xuy.zip
chmod +x ./start.sh
./start.sh
[Zakachka :)]-
sudo swapon -s
sudo dd if=/dev/zero of=/swapfile bs=1024 count=2048K
sudo mkswap /swapfile
sudo swapon /swapfile
sudo nano /etc/fstab
/swapfile none swap sw 0 0
sudo swapon -s|
*-------------------------------------------------------------------------*