Server
Jump to navigation
Jump to search
E-mail
Web
Nginx
- Resources
- FullExample
- VirtualHostExample
- HttpRewriteModule - rewriting urls
- HttpAuthBasicModule - for directory passwords
Enable logging in vhost conf;
error_log /var/log/nginx-vhostnamehere.log error;
.htaccess
MediaWiki
- Manual:Short URL/wiki/Page title -- nginx rewrite--root access
- Manual:Short URL/Page title - nginx, Root Access, PHP as a CGI module
MediaWiki:Sidebar
SSH
- SSH Can Do That? Productivity Tips for Working with Remote Servers
- Tips for Remote Unix Work (SSH, screen, and VNC) [1]
- * http://www.semicomplete.com/articles/ssh-security/
Handy
tmux
SSH keys
in ~/.ssh
ssh-keygen -t rsa -C "your_email@youremail.com" cat id_rsa.pub
SCP
scp -P 8023 file.txt milk@thingsandstuff.org:~/file.txt
SSHFS
Rsync
- Rsync over alt SSH port: --rsh='ssh -p8023'
Systems
Backup
- rsync - [Wikipedia:rsync]
Provision
- Puppet Labs
- Puppet Master - Central management daemon.
- Puppet Agent - Runs on each managed node.
- Puppet Apply - For local use.
- http://docs.puppetlabs.com/guides/tools.html etc.
- Puppet Wiki: Core Types Cheat Sheet
- Puppet Wiki: Simple Text edits
- Ubuntu puppet info
- AUR: puppet
- AUR: puppet dashboard
- Fabric - Python SSH library
Virtualisation
VirtualBox config;
- Enable host Linux modules: vboxnetflt and vboxnetadp
- Enable host-only adapter 'virtualbox0' in VB Preferences > Network if not previously enabled, then select in guest preferences
- https://github.com/milkmiruku/boxbootstrap
- Keep VM names lowercase and no spaces for easier command-line stuff
Provisioning VirtualBoxes for local dev work;
- Vagrant - VirtualBox provisioning with Puppet, etc.
vagrant package --vagrantfile Vagrantfile.pkg --include README.txt stored in ~/.vagrant.d/boxes vagrant box add lucid32 http://files.vagrantup.com/lucid32.box vagrant box remove lucid32 vagrant box list
DB
- http://radar.oreilly.com/2012/02/nosql-non-relational-database.html - http://news.ycombinator.com/item?id=3610844
IaaS
Knowledge management
Services
Video streaming
- Ask HN: How do you do your email delivery?
- http://wiki.debian.org/Postfix
- http://flurdy.com/docs/postfix/index.html
Anti-spam;