workstation
Some general installation directions. This presumes the machine is going to contain the klopt software.
checklist
First, if this is a crash you still have the chance to save stuff here is a checklist.
- save mysql database, postgres, mongo
- save apache2 configuration, for instance the certificates !
- save the public and private key pair. These are used for bitbucket etc...
- save /etc in a tar.gz file, it's small and it's a great reference in setup
- ...
Best way still i think is to throw away all the biggest chunks and just save all the rest when it is small enough !!.
basic
Though that last one seems to be installed already. It is a nice font on the eyes and it supports the check-mark used in git-bash-prompt
Note: on debian 8.0 I could not login to the chrome installed like this, and it worked with the version downloaded from google.
git-bash-prompt
Whenever you get sluggish behavior, git-bash-prompt could very well be the problem when your repositories become to big!
Installation as it is advised on the website :
And edit .bashrc to source the file gitprompt.sh, so add :
| start | |
|---|---|
updatedb
Since /etc/updatedb.conf contains an exception for /media :
| updatedb | |
|---|---|
It won't search the CnMemory disk, so if you want that ? (yes!) remove the /media and then re-run
updatedb
coding
| dev tools | |
|---|---|
This site says openjdk rather than oracle : visit
Only an opinion ?, well i keep with it since it installs easier until i am convinced otherwise.
zfs
| zfs | |
|---|---|
mysql
| mysql | |
|---|---|
Virtualbox setup
Reinstall the machines quick by creating new VMs and hooking the disks into them.
klopt.org
bag
Reinstalling the bag database is done with a script that must probably be edited : It is best done step by step or you will miss error messages.
If you don't have mongodb stuff installed it won't work.
apache2 ssl
First set the servername in apache2.conf to get rid of the servername warning :
| ssl | |
|---|---|
Copy the certificate to /etc/ssl/certs and the key to /etc/ssl/private,
| key access | |
|---|---|
edit /etc/apache2/sites-available/default-ssl and point the certificate setting to these files :
| apache | |
|---|---|
That last one has to be generated from the certificate plus all root and intermediate files : see visit
Actual command used :
| construct chain | |
|---|---|
Enable the ssl module and the site :
klopt.web
Add this near the end of the Virtualhost section in default-ssl.conf :
| apache | |
|---|---|
shellinabox
sauce / Longer version :
| shellinabox | |
|---|---|
Add this line to "set some default values" in /etc/init.d/shellinabox
| arguments | |
|---|---|
Add this to default-ssl.conf, just after the virtualhost section and before ifmodule ends