howto configure for nested kvm

so i wanted to run openstack on a vm. that means i need to run nested kvm. thing is i didnt know how to configure it. so i had to do some research.

the end result of my research is this script

how to suspend a guest on kvm host shutdown

on a kvm host, the default action when the host is shutdown is .. to do nothing. so what the guest see is the power suddenly being removed.the solution is to modify /etc/sysconfig/libvirt-guests and and modify the ON_SHUTDOWN parameter. you got 2 choices suspend or shutdown

howto: configure dovecot on centos/rhel 6.4

dovecot is a pop3 and imap server. it is of course open source. it goes on top of your mail transport agent (MTA) such as sendmail or postfix. as with all things difficult, it is only difficult if you do not know it.

funny thing is, i took it in my RHCE class and i still have my notes and ..they didnt work. so i had to do some research and this is the result

we will start with installing dovecot

yum -y install dovecot

next we will create the certs:

unix tools for windows(R)

as a unix admin, we sometimes do not get the choice of operating system for our personal workstation and yet we want some of the unix tools to make our lives easier. we install those pieces piecemeal or as a package. the most famous package is cygwin/windowsbut cygwin requires it to be installed. i was introduced instead to a single executable that does that and more. it has ssh and rdp and xterm and xwindows server and ... well you get the picture.

its not all the tools but it is MobaXterm

macvtap not supported on wifi nics

repeat after me : macvtap not supported on wifi nics

what is macvtap? well this page best describes its uses

and the source of this is a launchpad bug

howto: fedora 19 disabling packagekit

as one gets older, one learns a bit more and if wise, writes it down ;) this is the commands i use to disable PackageKit in fedora 19

sed -i 's/\[Daemon\]/#\[Daemon\]/' /etc/PackageKit/PackageKit.conf
yum -y erase PackageKit-yum-plugin apper"

seems to be working so far

How To Upgrade From Fedora 18 To Fedora 19 (Desktop & Server)

this is how to upgrade from fedora 18 to fedora 19 on both desktop and server boxes

  1. fedup --network 18
  2. reboot into the upgrade bootup
  3. yum distro-sync --skip-broken

let us know if you were succesful

howto: setup and configure bleachbit to run from the cli

bleachbit is a system cleaner for linux. or it originally started out that way and now it is also available for windows.

the home page states: BleachBit quickly frees disk space and tirelessly guards your privacy.

it started out as a gui only program and then a cli was added. so how to use bleachbit from the cli ? well there are 2 methods

method 1

requires that you run

bleachbit --help;bleachbit --list

to figure out which cleaners you want to use and with what options.

howto: setup samba public share

i wanted to set up a directory on my linux server where i and the rest of the family could get to the dvds and stuff on a directory called /media. since not everyone is using linux it had to be a windows share via samba

so this is my /etc/samba/smb.conf that i finally used:

howto: setup and configure denyhosts

so browsing through your system logs you begin to notice that you have failed ssh attempts on your system. looking deeper you realise these credentials are for users that do not exist on your system. it dawns on you that someone (or something) is attempting to brute force their way into your system. what do you do?

install denyhosts then configure it!

installation is pretty simple with a

Pages

Subscribe to Posix In Egypt RSS