This is a very handy tool that every Windows Admin should have in their repertoire:
Direct Tool Download Link
This little software program allows you to take any of the operating system ISO files mentioned above and convert them into a bootable flash drive from which you can install windows. Handy on any workstation/server/laptop that either has a non-functional DVD drive or just doesn’t have a drive (which is the case with many newer laptops).
A good set of instructions for using the tool can be found here:
I came across this excellent, brief, and very useful write-up on Code Coffee that explains the DU and DF commands and gives some usage examples.
These commands are both extremely useful for getting a quick handle on your file system or on a particular directory.
I won’t re-invent the wheel, but rather will just give you the link:
Today I am working on setting up a BackupPC server to take remote internal centralized backups of some of our other servers on the cheap.
I already had BackupPC installed and the basics configured but I needed to add a new drive to the system (for additional backup data storage) and I also needed to setup a new NIC connection. My Ubuntu Server is running on Microsoft Hyper-V 3.0 on a Server 2012 host machine so adding all the new hardware was as simple as a few clicks.
Normally I am a command-line guy but this server is going to be managed ongoing by folks who are less Linux savvy so I wanted to install some additional software that would make their life easier. To that end, I am using Webmin.
During the course of adding additional storage to my VM I ran into some headaches related to Hyper-V and Linux storage formatting of GPT disks larger than 2 TB.
Sounds like a very specific use case? I think it is quicky becoming more common as A.) Storage gets cheaper and therefore larger and B.) Microsoft Hyper-V sees more adoption as it is now decently featured and has attractive pricing for people with existing Windows infrastructure. Hopefully this article will help you avoid the trouble I ran into when setting up a new large disk on an Ubuntu Hyper-V VM…
My Apache administration skills are something that I am working on – ongoing. Furthermore, any IT / Web / Linux admin worth their salt should have somewhat of a handle on DNS and on Apache. I have somewhat of a handle on both, though like most things I am not an expert :), rather I am always a professional generalist (always getting a little better at everything…). So when a client came to us with a scenario recently I had to do some searching around to figure out what the best solution was. I am not stating that this IS the best solution or best practice however it is working well for us and I would love to hear some ideas, if you have them, on how you would have solved this.
So basically our client built a site. Let’s call it widgets.com. However, after this site was around for several years and garnered some decent traffic they realized they really wanted it to be called coolwidgets.com and they were rebuilding the thing anyhow. That being said, they didn’t just want to outright drop “widgets.com” as, hey, that is getting some traffic and people think of this client as both “widgets” and “cool widgets” so they would really like to keep both names but always redirect to coolwidgets.com.
Working on something well outside of my experience range recently (typical…), namely Cisco switch administration. In particular, I was working on a Cisco Catalyst 3560 switch which apparently doesn’t have quite as robust of a user-friendly web-gui as I would have liked. A couple years back I setup a SPAN port (aka Mirror port) on this switch as we were setting up Snort IDS for the network here and needed a sniffer port. Fast-forward a year and our network configuration has changed and we no longer need this to be a SPAN port and I couldn’t remember how I set it up (or how to take it away).
I know very little about the Cisco Command-Line interface but after Googling around to five different sites I was able to speculate/guess what needed to be done.
Working on some performance tuning for MySQL today. Here are by far the best resources I have found:
Best General Tuning Guide:
Expanded point from that Guide:
I ran into an issue when I adjusted a log file size (MySQL wouldn’t start), this was the fix:
In my case MySQL was running on a dedicated VPS with 2 Gb of Ram so I had quite a bit of room to work. If you are on shared hosting or even a VPS sharing space with Apache your numbers are going to look different. This was, of course, an effort to fix performance on a Drupal site that was running really really rough even though it has low traffic. The tuning helped a lot but I still have a ways to go.
Anyhow, thought I would pass the helpful links along as anyone searching for MySQL Performance tuning should be finding this stuff first imho.
String Overrides is a phenomenally versatile module that will make your life MUCH easier if you are administering a Drupal website. The basic premise is this…
There is a “string” of text on my website that I need to replace with something else. I have used it a few places, here is a particular use-case:
The company I work for operates an internal drupal websites that I built. Everyone authenticates using their Microsoft Active Directory user accounts. That means that Microsoft Active Directory handles their passwords and email addresses and a host of other things that Drupal would normally handle if we were just authenticating against the database. Therefore one item that I no longer want to display (as it has led to end user confusion…) is the “Request New Password” tab that appears on the user login page.
Thought I would post this one quickly…
Having trouble getting OpenVPN to start/work for you and you are seeing this error in your logs?
“TCP/UDP: Socket bind failed on local address”
The resolution is pretty simple. Try changing the port you have assigned to openVPN in your config file and restarting the service. Most likely you have bound it to a port already being used by another service. I ran into this problem because I tried to use port 443. I wasn’t running an SSL/HTTPS website on my server but what I had forgotten that I was running SSH through 443 temporarily.
It is generally good practice to use a port above 1000 for odd services if you aren’t using the default port for said service. I run into this a lot as I don’t like to use common ports as they tend to get targeted more often and hammered by bots/evil people trying to break in…
Anyhow, hope this helps!
I am attempting to integrate SSO (Single Sign On) with Facebook for one of my Drupal sites. (www.rockchipfirmware.com). After a bit of research and digging through modules I decided to give the “Drupal for Facebook” module a go. Talk about a PAIN IN THE AR$E…
I should have suspected when the description of the module was a page long and there are two different version of the module that require further description for each. A feature list showing what differed between the two module would have been nice… Nope…