06 February 2013

Speed Up Ubuntu

1. sudo apt-get install preload

2. sudo apt-get autoclean

3. sudo gedit /etc/fstab
  • - At the end of the file, add these lines:
  • # Move /tmp to RAM
  • tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0
4. sudo gedit /etc/sysctl.conf
  • - At the end of the file, add these two lines:
  • #
  • # Decrease swap usage to a workable level
  • vm.swappiness=10
5. gksudo gedit /etc/init/network-manager.conf
  • Copy and paste the below code, below the existing ‘stop on stopping dbus’:
  • kill timeout 1
6. gksudo gedit /etc/init/modemmanager.conf
  • Then look for the existing ‘stop on stopped network-manage’ text line, and simply paste the below code just below it :
  • kill timeout 1
7. Comment out this line works too in /etc/init/modemmanager.conf :
  • #start on starting network-manager
  • stop on stopped network-manager
* If your Eclipse Android SDK Manager wont start after 3rd step in moving /tmp to RAM,
then execute :
  • sudo mount -o remount,exec /tmp
and in /etc/fstab comment line
  • # Move /tmp to RAM
  • # tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0

Post a Comment