Tuesday, July 19, 2016

After fresh new ubuntu linux installation guide

Ubuntu 16.04 LTS

1. Mouse accelerator was too fast. So I run these commands to make it slower.

to see list of devices:
 xinput --list --short 

to see configuration of my mouse: (my mouse id was 11)
xinput --list-props 11

to set mouse accelerator to 0.5:
xinput --set-prop 11 275 0.5

Here is the full instruction.


2. Installed unity-tweak-tool to add new cool desktop actions such as toggling desktop as mouse approaches the left bottom corner. 

sudo apt-get install unity-tweak-tool

but It was not working, so as advised I installed this:

sudo apt-get install compizconfig-settings-manager compiz-plugins-extra -y

after that type ccs in search bar and run the program. Inside the program go to 'desktop' section, choose
'Ubuntu Unity Plugin', inside go to 'Switcher' tab and uncheck 'Show live previews of windows in the Switcher'.


Afterwards, it worked. But I have no idea the last steps had effected or not.

3. Then I installed terminator with 

sudo apt-get install terminator

4. Install Chrome. Go to https://www.google.com/intl/en-US/chrome/browser
then download appropriate version, and install with command.

cd /~/Downloads

sudo dpkg -i google-chrome-stable-current_amd64.deb

5. Install Keepass, password saver. 


sudo apt-get install keepass2

6. Install Dropbox

Download from https://www.dropbox.com/install?os=lnx

cd /~/Downloads

sudo dpkg -i package-name


7. Install Thunderbird

sudo add-apt-repository ppa:lucid-bleed/ppa
sudo apt-get update
sudo apt-get install thunderbird thunderbird-locale-en-us thunderbird-gnome-support
The latest Thunderbird was installed as default in Ubuntu.

8. Install Apache2 server

sudo apt-get install apache2


9. Install vim

sudo apt-get install vim

10. From Badaa's twitter: I agree that the Ubuntu a spyware is. If you must use it for any reason, sudo apt-get purge unity-webapps-common is a must-do.

It removes unity-tweak-tool, so reinstalled it again.

11. Install Java

First run these commands:


sudo apt-get purge openjdk*
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
 
Create a file /etc/profile.d/oraclejdk.sh with the following content (adapt the paths to reflect the path where you stored your JDK)
 
export J2SDKDIR=/usr/lib/jvm/java-8-oracle
export J2REDIR=/usr/lib/jvm/java-8-oracle/jre
export PATH=$PATH:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export DERBY_HOME=/usr/lib/jvm/java-8-oracle/db

http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04

https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-debian-8

12. Install git

sudo apt-get install git-all






But git was installed as default in Ubuntu.

13. Install apache modules for php7

sudo apt-get install libapache2-mod-php7.0

sudo apt-get install php7.0-mbstring
sudo apt-get install php7.0-xml

After this, you can test phpinfo(); on apache server.

14. Install Laravel
install Composer first:

curl -sS https://getcomposer.org/installer | php

move composer.phar file to /usr/local/bin under name composer.

sudo mv  composer.phar /usr/local/bin/composer

15. Clone laravel project from git repository in /var/www/html. Go to the project directory. Run:

sudo composer update

No comments:

Post a Comment