While sorting out this HOWTO and learning how to setup Zentyal I used my Network lab, See how to set up your own. If you do use this then remember to turn of the DHCP server in the router if you intend to use the DHCP server within the Zentyal server.
Category Archives: File Systems
Setup a Test Lab With VirtualBox, depreciated
I found a much simper way to do this! See my updated blog post Setup a Test Networking Lab With VirtualBox
I’m always playing around with new IT technology. Up until recently I just did it with VirtualBox on my PC’s and messed with the network and then cleared up the mess afterwards. This was not good, not to mention a waste of time when I could be playing around with the next new shiny bit of tech or software.
Installing a Mailserver on Ubuntu 12.04 LTS Part 1
Introduction
Why I wrote this.
I wrote this HOWTO after following many other HOWTOs for Postfix and Exim and finding that parts did not work or did not explain how things worked. In short I spent many hours installing and reinstalling, playing around with settings and generally having fun. (I need to get a life) I wrote this HOWTO as record of what I did to get my own mail server up and running. I can now and in the future follow these steps again and rebuild my own mail server. I hope it is of use to others too.
Testing network throughput
There is a really great command line tool to see network through put, bwm-ng it can be installed on Ubuntu with
sudo apt-get install bwm-ng
HOWTO send a refresh to a DHCP server
At some point you will need to refresh the lease on a network card, NIC, by sending a refresh command to your DHCP server.
To send the release to the DHCP client use the following. remember this will remember this will effectively turn off your network connection. If you are connected remotely you may loose your connection.
sudo dhclient -r
HOWTO:Change the UID and GID on files
Changing ownership of files when the UID/GID is obsolete or you need to change it for some other reason.
If you have changed or removed a UID for a user or GID a group, you must also change the flags set on the files belonging to these IDs. Otherwise you will have orphaned files.
HOWTO: setup a PXE Server with dnsmasq
To setup a PXE server with dnsmasq is really simple the second time 🙂 This is how I did mine on Ubuntu 12.04, but it should be similar on most Linux distros and versions.
Setup dnsmasq so it is providing DNS and DHCP first. See my How to setup dnsmasq for DNS and DHCP.
HOWTO: Create an ISO image from a CD or DVD Edit…
Well what can I say, ‘if’ is the Input file name, and you already worked out that ‘of’ is the output file that is the resulting iso.
dd if=/dev/sr0 of=/cdrom_image.iso
HOWTO:Mount an ISO
This is so easy, the second time :-)!
You will need somewhere to mount the ISO. If you are expecting to do this more than once then create a specific ISO directory.
sudo mkdir -p /media/iso
Now you can mount the iso,
sudo mount -o loop /path/to/your.iso /media/iso
To access the iso image simply cd or access /media/iso which is now the root of your image.
When you are all done you can umount the image with
sudo umount /media/iso
Searching for packages on Ubuntu
To find a list of installed packages use the dpkg command and its –get-selections switch. This is rather long so narrow it down with grep
dpkg --get-selections | grep w-scan
[blacksample text=”output:”]w-scan install