docs/QubesOS-Checklist.md

100 lines
2.7 KiB
Markdown

# Qubes OS Checklist #
1. `qubes-dom0-update`
## Fedora Template ##
1. `sudo yum update`
For general coding:
sudo yum install ruby fish vim git mercurial svn gcc gcc-c++ genkey keychain
sudo chsh user
/usr/bin/fish
For transmet dev work:
sudo yum install postgresql postgresql-contrib postgresql-server
For Markdown work:
sudo yum install Perl-Digest-MD5 retext
## Firefox in VMs##
1. ublock-origin
2. HTTPS everywhere
3. Switch search to DuckDuckGo
4. Set Security/Remember Passwords to false
## Postgresql in VMs ##
Sourced from [bowabos.blogspot.co.uk/2013/12/how-to-set-up-jira-and-confluence-on.html](http://bowabos.blogspot.co.uk/2013/12/how-to-set-up-jira-and-confluence-on.html)
Local backup [references/qubes-postgresql/bowabos.blogspot.co.uk/2013/12/how-to-set-up-jira-and-confluence-on.html](references/qubes-postgresql/bowabos.blogspot.co.uk/2013/12/how-to-set-up-jira-and-confluence-on.html)
Create persistant storage for Postgresql
cd /rw
sudo mkdir -p var/pgsql/data
sudo chown postgres:postgres var/pgsql/data
sudo chmod 700 var/pgsql/data
sudo mkdir -p var/pgsql/backups
sudo chown postgres:postgres var/pgsql/backups
sudo chmod 700 var/pgsql/backups
Initializing the database
sudo su
rm -rf /var/lib/pgsql
ln -s /rw/var/pgsql /var/lib/pgsql
postgresql-setup initdb
exit
Configuring the database cluster for local app access
sudo su - postgres
vi /var/lib/pgsql/data/pg_hba.conf
host all all 127.0.0.1/32 md5
host all all ::1/128 md5
Configuring a database database (example transmet)
sudo systemctl start postgresql
sudo -s -H -u postgres
/usr/bin/createuser -S -P -E transmet
/usr/bin/createdb --owner transmet --encoding utf8 transmet
Preparing for a reboot
sudo vi config/rc.local
#!/bin/bash
rm -rf /var/lib/pgsql
ln -s /rw/var/pgsql /var/lib/pgsql
/usr/bin/systemctl enable postgresql &
/usr/bin/systemctl start postgresql &
sudo chmod u+x config/rc.local
## Go Development VM ##
0. Setup keychain
1. Get go from [golang.org](https://golang.org/) and place it in ~/go
2. Set shell paths in ~/.config/fish/config.fish
set -xU GOROOT /home/user/go
set -xU GOPATH /home/user/src/go
set -U fish_user_paths /home/user/go/bin /home/user/src/go/bin
### Eclipse for Go setup ###
1. Get eclipse (and add ~ `/home/user/eclipse/java-mars/eclipse` to the fish path)
2. Install eclipse plugins for:
1. goeclipse
2. WTP (web tools platform)
3. egit
4. TM Terminal
3. Configure goeclipse and have it run commands to get oracle and gocode