Difference between revisions of "Server"

From Things and Stuff Wiki
Jump to navigation Jump to search
Line 46: Line 46:
 
* [https://wiki.archlinux.org/index.php/VirtualBox Arch Wiki: VirtualBox]
 
* [https://wiki.archlinux.org/index.php/VirtualBox Arch Wiki: VirtualBox]
 
  linux modules: vboxnetflt and vboxnetadp
 
  linux modules: vboxnetflt and vboxnetadp
 +
 +
VirtualBox config;
 +
* Enable host-only adapter 'virtualbox0' in VB Preferences > Network if not previously enabled, then select in guest preferences
 +
* Keep VM names lowercase and no spaces for easier command-line stuff
 +
 
* [https://github.com/mitchellh/vagrant Vagrant] - VirtualBox provisioning with Puppet, etc.
 
* [https://github.com/mitchellh/vagrant Vagrant] - VirtualBox provisioning with Puppet, etc.
 
** [http://vagrantup.com/docs/commands.html Commands]
 
** [http://vagrantup.com/docs/commands.html Commands]
Line 52: Line 57:
 
** http://vagrantup.com/docs/provisioners/puppet_server.html
 
** http://vagrantup.com/docs/provisioners/puppet_server.html
 
** http://vagrantup.com/docs/provisioners/puppet.html
 
** http://vagrantup.com/docs/provisioners/puppet.html
** Create system, snapshot as box,
 
  
 
  vagrant package --vagrantfile Vagrantfile.pkg --include README.txt
 
  vagrant package --vagrantfile Vagrantfile.pkg --include README.txt

Revision as of 02:41, 10 January 2012


SSH

Handy

tmux

SSH keys

in ~/.ssh

ssh-keygen -t rsa -C "your_email@youremail.com"
cat id_rsa.pub

SCP

SSHFS

Rsync

  • Rsync over alt SSH port: --rsh='ssh -p8023'

Systems

Provision

Virtualisation

linux modules: vboxnetflt and vboxnetadp

VirtualBox config;

  • Enable host-only adapter 'virtualbox0' in VB Preferences > Network if not previously enabled, then select in guest preferences
  • Keep VM names lowercase and no spaces for easier command-line stuff
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

IaaS

Knowledge management

Services

Video streaming

E-mail

Anti-spam;

Google Apps