According to the nmap.org site, installation of Nmap 7.00 on a RPM-based system is this easy:
# rpm -vhU https://nmap.org/dist/nmap-7.00-1.x86_64.rpm
However, on a CentOS/RHEL system, nmap fails to run, throwing the following error:
nmap: error while loading shared libraries: libsvn_client-1.so.0: cannot open shared object file: No such file or directory
Turns out that the Nmap RPM dynamically links to files provided by the Subversion package. To get Nmap working, simply install it:
# yum -y install subversion
Nmap will now work properly.
# nmap -v
Starting Nmap 7.00 ( https://nmap.org ) at 2015-12-05 09:02 EST
Read data files from: /usr/bin/../share/nmap
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.09 seconds
Raw packets sent: 0 (0B) | Rcvd: 0 (0B)
If you have a rooted Android phone, maybe you’ve messed around with replacing your boot animation (there are ways to do it without root, but you’re rooted anyway, right?).
I was bored a few months ago and I made a boot animation for my Droid Incredible that is based on the opening credits of the fantastic show The IT Crowd (look it up on Netflix if you haven’t seen it. You can thank me later). Now I’ve updated the animation for the 720p screen on my new Galaxy Nexus.
I made a crappy video demonstrating the boot animation here: http://bit.ly/ITCBoot
If you’d like to download them, they are here:
Galaxy Nexus (1280×720 version)
Droid Incredible (800×480 version)
Basic readme instructions are included in the zip file.
Install at your own risk!
My animation got a nice mention here on Androinica: http://androinica.com/2012/01/galaxy-nexus-it-crowd-boot-animation/
I routinely back up my RHEL boxes with RSYNC over SSH… It’s just something I do. Yeah, I know, I’m using “X” commercial backup application and it works well, yadda, yadda, yadda. However, I still make at least weekly backups with RSYNC to a NAS. It is a habit of mine, like hookers and blow.
Question came up, “how do you do a bare metal restore from that backup?” which tags along with the question “how do you do a bare metal copy from old server to brand new server?”
If the hardware isn’t too odd (usually hardware RAID controllers you have drivers in your initrd is the limiting factor here, but you can work around that too with some Linux foo skillz…), or it’s a bare metal restore to same hardware, yes, you can use RSYNC.
for my examples: “sourceserver” is the other running server that you want to bare metal copy to the destination.
“target” is the destination server.
First: boot the destination server with a rescue disk. I use RHEL rescue CD.
Create your partitions to taste, and reboot again with the RHEL rescue CD.
Second: Mount partitions in the order you want them. example: (I just picked an example partition table, seriously, match what you really need…)
mount /dev/sda2 /mnt/sysimage
mount /dev/sda1 /mnt/sysimage/boot
mount /dev/sda5 /mnt/sysimage/home
mount /dev/sda6 /mnt/sysimage/var
this mounts all of the “target” under /mnt/sysimage on the rescue cd.
Third: I have this script I run: (which you can make on the rescue disk, once again, a little bit of foo goes a long way…)
rsync –verbose –stats –owner –group –devices \
–recursive –times –perms –links \
enter your SSH password (yes, you should allow root logon through SSH for this one, if you don’t know how to enable that, look it up on google, it’s braindead easy…)
Fourth: reset the permissions on the “/” share and make sure they are right:
chmod 755 /
Fifth: Finally, fix grub. (this example is from my VMware ESX servers…)
From the linux rescue:
Issue the grub command:
then type in these commands: (depending on your hard drive layout and 0 = zero for those easily confused…)
device (hd0) /dev/sdm (this server was /dev/sdm instead of something normal like /dev/sda… salt to taste, or add butter like Paula Dean…)
then reboot and test, test again, enjoy!
So the Blackberry WordPress app is getting closer and closer to the magical 1.0 version, so I figured I’d give it a shot. I took a stupid picture of my keyboard just so I could see how that works.
If you are reading this, then I guess it essentially works. For those wondering what the deal is, the app basically allows you to interface directly with multiple wordpress blogs. You can see recent posts, edit those posts, create new posts, and lots of other fun stuff that I don’t feel like typing out on my Blackberry keyboard.
If you want more info, check out blackberry wordpress site
Neato… It even auto-formatted that link for me.
Came back in the editor to add these screenshots: