Install virtual machines in one line

2016-07-25 1 min read Vurtualization
To install a VM from command line, you can use the following command. Change the required parameters as need but you need to change at-least CDROM iso image and disk-path. virt-install \ -n myVM \ --description "Test VM" \ --os-type=Linux \ --os-variant=centos7 \ --ram=2048 \ --vcpus=2 \ --disk path=./myVM.img,bus=virtio,size=10 \ --graphics none \ --cdrom <Image installtion CDROM>.iso \ --net user

Sandbox Firefox – First step to security

2014-03-19 2 min read Fedora Firefox
First we will setup cgroup to limit cpu and memory usage, so here we go: Add the configuration in /etc/cgconfig.conf #------start cgconfig---------------- #new group group firefox { perm { task { #user your login id and group here, so that you can control this group uid = amitag; gid = amitag; } admin { # same as above, set to your login id and group. uid = amitag; gid = amitag; } } # set the limits for cpu. Continue reading