Showing posts with label virtualbox. Show all posts
Showing posts with label virtualbox. Show all posts

2014-09-06

Vagrantfile (this is just a bookmark)

This is my (thank you Abel) current Vagrantfile to quickly create a number of servers with two extra disks and three extra network cards:

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
 config.vm.provider :virtualbox do |vb|
  vb.customize ["storagectl", :id, "--add", "sata", "--name", "SATA" , "--portcount", 2, "--hostiocache", "on"]
 end
 (1..3).each do |i|
  config.vm.define "server#{i}" do |node|
   node.vm.hostname = "server#{i}"
   node.vm.box = "hfm4/centos7"
   config.vm.box_check_update = true
   node.vm.network :public_network, ip: "10.1.1.#{i}", netmask: '255.255.255.0'
   node.vm.network :public_network, ip: "10.1.2.#{i}", netmask: '255.255.255.0'
   node.vm.network :public_network, ip: "10.1.3.#{i}", netmask: '255.255.255.0'
   config.vm.provider "virtualbox" do |v|
    v.name = "server#{i}"
    v.memory = 512
    v.cpus = 1
    v.customize ['createhd', '--filename', "server_#{i}a.vdi", '--size', 8192 ]
    v.customize ['createhd', '--filename', "server_#{i}b.vdi", '--size', 8192 ]
    v.customize ['storageattach', :id, '--storagectl', 'SATA', '--port', 1, '--device', 0, \
'--type', 'hdd', '--medium', "./server_#{i}a.vdi"]
    v.customize ['storageattach', :id, '--storagectl', 'SATA', '--port', 2, '--device', 0, \
'--type', 'hdd', '--medium', "./server_#{i}b.vdi"]
   end
  end
 end
end


2010-05-09

Facebook = the net

About World Domination...
Microsoft, Linux, Google, they all lost the battle for the desktop. Facebook has won, they officially own the personal computer.
More and more popular websites can read your private facebook data when you visit them, even when the facebook-tab is not open. I'm not sure that logging out helps, since technically cookies can still identify you. I don't like this facebook-knows-all world.

About Privacy...
"So don't put private stuff on facebook!" I hear you say. "Not that easy!" I reply "because facebook is keeping bloody track of your online movements, even when you haven't given it private info or when you don't post anything on your wall."
Not convinced yet, let me quote Ryan Singel: 'Now, say you you write a public update, saying, “My boss had a crazy great idea for a new product!” Now, you might not know it, but there is a Facebook page for “My Crazy Boss” and because your post had all the right words, your post now shows up on that page.'
How long will it take until facebook posts stuff in your name on a dozen websites, just because you (accidentally of course) stumbled upon www.hotredheadsinstockings.com.

About deleting your facebook account...
This link explains how difficult it is to really delete your account.

Anyway, starting today I'll split my browsing habits, isolating facebook in its own private virtual machine.