How to Speedup Ubuntu 14.04 LTS
Do same to Unity lens by
searching unity-lens
============Reduce the default grub load time:=============
sudo gedit /etc/default/grub &
And change GRUB_TIMEOUT=10 to GRUB_TIMEOUT=0.
This will change the boot time to 0 seconds.
sudo update-grub
================Install preload to speed up application load time:===============
sudo apt-get install preload
==============Remove language related ign from apt-get update:===================
sudo gedit /etc/apt/apt.conf.d/00aptitude
And add the following line at the end of this file:
Acquire::Languages "none";
===============Manage start up applications:=============
Displaying Hidden Startup Applications
sudo sed -i "s/NoDisplay=true/NoDisplay=false/g" /etc/xdg/autostart/*.desktop
and remove startup items
==============Tune Swappiness=================
sudo gedit /etc/sysctl.conf
Look for vm.swappiness in the file and change its value. If it doesn’t exist, add it to the end of the file on a new line, like so:
# Decrease swappiness value
vm.swappiness=10
now check your swappiness
cat /proc/sys/vm/swappiness
===================make Fast Localhost================
sudo gedit /etc/hosts
add this line in host file
127.0.1.1 localhost
localhost 127.0.1.1
============Fast internet====================
Install dnsmasq
sudo apt-get install dnsmasq
sudo gedit /etc/dnsmasq.conf
add this line
server=8.8.8.8
server=8.8.4.4
sudo service dnsmasq restart
sudo service network-manager restart
check serveice
sudo tail -n 200 /var/log/syslog
===================Disable IP v6 =======================
To disable ipv6, you have to open /etc/sysctl.conf using any text editor and insert the following lines at the end:
sudo gedit /etc/sysctl.conf
insert the following lines at the end:
# IPv6 disabled
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Save the file and close it. Restart sysctl with
sudo sysctl -p
Check the output of ifconfig again and there should be no ipv6 address
ifconfig
Remove undesired search results
By default, the Dash
displays Unity lens, scopes, Amazon online search results, and records file and
application usage. You can disable some of them via below tips:
·
Disable
online search results:
Launch System Settings and go
to Security & Privacy, under “Search” tab turn off the switch
which says “When searching in the Dash: include online search results”
·
Stop
recording file and app usage:
Also launch System Settings and
go to Security & Privacy, under “Files & Applications” tab
first clear records and then turn off the switch:
·
Remove
unwanted Unity lens, scopes:
Open Ubuntu Software Center and
search for unity-scope. In the results, check the information of
installed scopes and remove the scopes you don’t need.
============Reduce the default grub load time:=============
sudo gedit /etc/default/grub &
And change GRUB_TIMEOUT=10 to GRUB_TIMEOUT=0.
This will change the boot time to 0 seconds.
sudo update-grub
================Install preload to speed up application load time:===============
sudo apt-get install preload
==============Remove language related ign from apt-get update:===================
sudo gedit /etc/apt/apt.conf.d/00aptitude
And add the following line at the end of this file:
Acquire::Languages "none";
===============Manage start up applications:=============
Displaying Hidden Startup Applications
sudo sed -i "s/NoDisplay=true/NoDisplay=false/g" /etc/xdg/autostart/*.desktop
and remove startup items
==============Tune Swappiness=================
sudo gedit /etc/sysctl.conf
Look for vm.swappiness in the file and change its value. If it doesn’t exist, add it to the end of the file on a new line, like so:
# Decrease swappiness value
vm.swappiness=10
now check your swappiness
cat /proc/sys/vm/swappiness
===================make Fast Localhost================
sudo gedit /etc/hosts
add this line in host file
127.0.1.1 localhost
localhost 127.0.1.1
============Fast internet====================
Install dnsmasq
sudo apt-get install dnsmasq
sudo gedit /etc/dnsmasq.conf
add this line
server=8.8.8.8
server=8.8.4.4
sudo service dnsmasq restart
sudo service network-manager restart
check serveice
sudo tail -n 200 /var/log/syslog
===================Disable IP v6 =======================
To disable ipv6, you have to open /etc/sysctl.conf using any text editor and insert the following lines at the end:
sudo gedit /etc/sysctl.conf
insert the following lines at the end:
# IPv6 disabled
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Save the file and close it. Restart sysctl with
sudo sysctl -p
Check the output of ifconfig again and there should be no ipv6 address
ifconfig
================Set CompizConfiz Manager=================
and disable theme in compiz settings
and disable theme in compiz settings
0 comments:
Post a Comment