$ pg_dumpall --clean -U <user> -f backup.sql
$ psql -U <user> -f backup.sql- A PostgreSQL user with administrative privileges is required.
| require 'resque/tasks' | |
| require 'resque/scheduler/tasks' | |
| def get_pgid(file) | |
| pgid = true | |
| if File.file?(file) | |
| fpid = File.read(file).to_i | |
| pgid = `ps -o pgid --no-headers --pid #{fpid}`.strip! | |
| if pgid | |
| puts "Process group ID found: #{pgid}" |
| cat <<EOF >> /etc/apt/sources.list | |
| deb http://archive.ubuntu.com/ubuntu precise main restricted universe | |
| deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe | |
| deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse | |
| EOF | |
| apt-get update | |
| apt-get remove \ | |
| apache2 \ |
Options>preferences>Advanced...
Turn all these settings to false:
left_rail_offer
gui.show_plus_upsell
sponsored_torrent_offer_enabled
bt.enable_pulse
gui.show_notorrents_node
offers.content_offer_autoexec
Create new user:
sudo useradd -G sudo -m -s /bin/bash lunaChange password: