Monthly Archives: July 2018

Ubuntu Or elementary Things to do After

#linux #elementary
Update ipv4 precedence file
sudo nano /etc/gai.conf
# For sites which prefer IPv4 connections change the last line to
precedence ::ffff:0:0/96 100

sudo apt update && sudo apt upgrade

//Add PPA
sudo apt install software-properties-common software-properties-gtk

sudo add-apt-repository -y ppa:shutter/ppa

sudo add-apt-repository ppa:webupd8team/java
sudo add-apt-repository ppa:libreoffice/ppa

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make

sudo add-apt-repository ppa:jonathonf/vlc-3
sudo add-apt-repository ppa:jonathonf/ffmpeg-3
sudo add-apt-repository ppa:jonathonf/meson

sudo add-apt-repository ppa:ondrej/apache2
sudo add-apt-repository ppa:nijel/phpmyadmin
sudo add-apt-repository ppa:ondrej/php

sudo add-apt-repository ppa:nilarimogard/webupd8 #utubedll
sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
sudo add-apt-repository -y ppa:teejee2008/ppa#timeshift

//JDK 8
sudo apt install oracle-java8-installer && sudo apt install oracle-java8-set-default

//Install software
sudo apt install bash-completion ubuntu-restricted-extras finger gparted git vim speedtest-cli virtualbox virtualbox-ext-pack thunderbird firefox youtube-dl libreoffice vlc timeshift testdisk git gitg elementary-sdk ubuntu-make build-essential ibus-m17n m17n-db shutter

//Manual Install
Chrome, enpass, teamviewer, , insync, vscode,


sudo apt-get install ibus-m17n m17n-db

//Install from App Center
audacity ciano formatter graphui imageburner nutty planner resizer screencast shutdown scheduler transporter wallpaperize webpin

//Atom text editor Official PPA
curl -sL | sudo apt-key add –
sudo sh -c ‘echo “deb [arch=amd64] any main” > /etc/apt/sources.list.d/atom.list’

Follow the instruction on Readme.txt file
sudo chown -R gayan /home/gayan/.matlab/

//Driver install with optimus support
sudo ubuntu-drivers autoinstall
sudo prime-select query
sudo prime-select intel

//LAMP for web development
sudo apt install apache2 && sudo systemctl enable apache2.service

sudo apt-get install mariadb-server mariadb-client
sudo systemctl start mysql.service
sudo systemctl enable mysql
sudo mysql_secure_installation

//PHP 7.x
sudo apt install php libapache2-mod-php php-common php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-mcrypt php-zip php-curl

sudo apt-get install phpmyadmin php-mbstring php-gettext &&
sudo phpenmod mcrypt && sudo phpenmod mbstring && sudo systemctl restart apache2

//Create user of phpmyadmin
sudo mysql –user=root -p mysql

CREATE USER ‘gayan’@’localhost’ IDENTIFIED BY ‘gayan’;

//Update PHP configuration
sudo nano /etc/php/7.1/apache2/php.ini
file_uploads = On
allow_url_fopen = On
memory_limit = 256M
upload_max_file_size = 100M
max_execution_time = 360
date.timezone = Asia/Colombo
post_max_size = 256M

//Site Access Configuration

//Install Node.js

curl -sL | sudo -E bash –
sudo apt-get install -y nodejs

//Wallpaper [Gnome Only]
Make available Pic folder inside wallpaper
rm -r ~/.cache/gnome-control-center/backgrounds
ln -s ~/Pictures/Wallpapers/ ~/.cache/gnome-control-center/backgrounds

gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar ‘minimize’
gsettings set io.elementary.files.preferences single-click false

//VLC 3.0 PPA

//Atom IDE
atom live server

//Sinhala Setup