2.7 KiB
2.7 KiB
Qubes OS Checklist
qubes-dom0-update
Fedora Template
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##
- ublock-origin
- HTTPS everywhere
- Switch search to DuckDuckGo
- 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
Local backup 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
-
Setup keychain
-
Get go from golang.org and place it in ~/go
-
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
- Get eclipse (and add ~
/home/user/eclipse/java-mars/eclipse
to the fish path) - Install eclipse plugins for:
- goeclipse
- WTP (web tools platform)
- egit
- TM Terminal
- Configure goeclipse and have it run commands to get oracle and gocode