This distribution shocked me on how fast it boots up and loads applications. I tested Deli Linux on one of my old P2 mmx box. And I was really impressed and shocked on how fast it boots up and loads applications. Though the install was pretty straight forward it is not for Linux Newbies… Now if you are a Linux Newbie and want to try this out then follow my screen shot.
Mounting and Partitioning HowTo
I see this question in forums all
the time…. How do I mount a file system? How do I create a new
partition and a file system? How do I set it to mount automatically?
how do I set the permissions on the mount? Well I’m going to do my best
here and answer all the questions above.
Ok. I’ve we’ve been getting some slaps via email for the delay in continuing this feature. You know we love this stuff too, but we also work for a living. And without those good old paychecks we can’t even pay the bills for this Community. Whew I didn’t know Linux folks could be so pushy. Oh wait, I take that back. Not that I’m saying the Co-Founder of LinuxDynasty is pushy at all ![]()
Continue reading “Linux Guide to Free Tools for Network Engineers Part 2 -NMAP” »
andLinux beta 1 HowTo Part 2 – installing NMAP using Apt-Get and Apt-Cache
Ok. It’s been five days since the first installment of andLinux beta 1 exploration started. Hopefully you’ve spent all your spare time downloading andLinux beta 1, installing it and becoming a Linux expert by now. Not! No problem. Since you seem to move at my pace we’ll continue this ride together.
Continue reading “andLinux beta 1 HowTo Part 2 – installing NMAP using Apt-Get and Apt-Cache” »
Removing Multiple RPMs with Similar File Name
Removing
Multiple RPM’s with Similar File Names
Use
the rpm’s command -e (for remove) with the –allmatches option
"rpm
–e –allmatches <package-to-be-removed>"
i.e.:
"rpm -e –allmatches kernel-2.4.25-8tr"
The –allmatches
allows you to match all rpms with a given expression..
Being and Network guy I had this idea (or if you speak to asanabria, he’ll probably say he had this idea) to show off the free tools built into that Linux that will help you in your day to day duties.
Now if you’ve already gotten familiar with Linux, you have an inkling of what’s to come. If your new to Linux, you’ve got some treats coming your way! The Linux guys in your shop will be familiar with a number of these tools, but there will be some that are not in the typical SysAdmin’s toolkit.
Since I’m running around doing chores today all you get – for the moment – is a little tease. Check this out.
Continue reading “Linux Guide to Free Tools for Network Engineers” »
Install/Configure GPG (GNU Privacy Guard)
In this howto, we will show you how to Install/Configure GPG (GNU Privacy Guard)
For CentOS:
Step 1 -Install
As root (su -, then the root password):
yum install gpg
(select y)
It will then
install
Continue reading “Install/Configure GPG (GNU Privacy Guard)” »
OpenSource Projects to come….
For the people who have been checking out LinuxDynasty…. We have begun our own OpenSource project (More like a few, but lets start one at a time)!!! We will be posting updates in the days to come. One of the projects we are about to start is a front end for Kickstart and more.. We do not have the specifics yet but we are in the midst of discussion. We are going to build the gui using turbogears and python. If you are interested in helping and being a part of a OpenSource project then please join the site and private message me.
We will apply this project to sourceforge once we have a beta.. In the meantime I will start a Trac instance and only members who are part of this project will have access to this area.
Creating a virtual loopback device
Sometimes you will need to create a virtual loopback device for whatever reason. One possible need would be for a temporary filesystem to do some quick testing, or maybe to set up a larger /tmp partition on a server where /tmp is too small. To initially create the loopback device, run:
# dd if=/dev/zero of=/usr/local/tmpfs bs=50M count=10
dd if=<file to read from> of=<file to write to> bs=<byte size> count=<count to loop>
Using rsync to move files around
You can use rsync to transfer files from either one directory to another or from one server to another. When copying over large directory structures, rsync is usually better than using cp -av. The cp command copies files and directories blindly, while rsync compares the two directories and only copies the differences. This saves time, hard drive load, system load, and if copying across a network, bandwidth. It is very useful when backing up a hard drive or an entire server. The command to use is:
# rsync -avH –delete –exclude=/junk –exclude=/otherjunk /home /backup/
rsync -avH –delete –exclude=<file/directory to exclude> <source files/directories> <destination directory>
The "a" flag will preserve important settings such as permissions, ownership, symbolic links, etc., as well as recursively copy the entire directory tree. The "v" flag is optional, and will list each file as it is copied and will give a summary of how much data was transferred. The "H" flag preserves hard links (a standard linux installation is often full of these). If you are absolutely sure that you don’t have any hard links in the data you are copying, then you can omit it, but adding it won’t hurt. The "–delete" flag means "delete anything in the destination directory that doesn’t exist in the source directory". This is useful if you are backing up a hard drive and you want to make sure that files that you removed from the main drive are removed from the backup drive as well. The "–exclude" flag allows you to skip over certain directories that you don’t want copied over to the destination directory. You can have multiple "exclude" flags.
If you want to copy your data to another server, then you can use "rsync://<hostname>/<path>" as either the source or destination. The "hostname" is the IP or full hostname of the remote server, and "path" is the exported path that is set up in the rsync configuration on the remote server.
# rsync -avH –delete –exclude=/junk –exclude=/otherjunk /home rsync://backup.server/backup_path
rsync -avH –delete –exclude=<file/directory to exclude> <source files/directories> <rsync://hostname/path>
rsync -avH –delete –exclude=<file/directory to exclude> <rsync://hostname/path> <destination directory>