龙八8国际

          
          

                    Posts with keyword: sysadmin


                    Crucial SSD in Macbook Pro: Updating Firmware with a Dual Boot Partition

                    This post explains how to update the Crucial firmware on a Macbook Pro without a DVD drive. I think it's outrageous that Crucial sells a drive that requires this level of work to update the firmware. And you can't not update it. The drive literally becomes inoperational after a certain number of cycles without this firmware update. At this point I wouldn't recommend anyone with a Macbook Pro buy one since requiring this level of technical expertise to update firmware is insane.
                    Continue reading...


                    Putting Your Own DNS Servers in ClearOS

                    I've been using a CentralPointe server as a gateway server in my home for years. DirectPointe (I'm on the board) used to offer these, but no longer does, so it had gotten out of date and wasn't being supported anymore. Fortunately, the same system (based on Point Clark Networks code) is available from the Clear Foundation as ClearOS. I like this software because it allows me to manage content filtering, etc. for my family centrally rather than relying on filtering software installed on each machine. It also provides intrusion detection and other services. The whole thing is based on
                    Continue reading...


                    Reloading OS X Using AppFresh

                    Last week I went to the Apple store and looked at the new Macbook Pro (MBP). I liked the keyboard and think the one-piece construction makes the overall design really slick. I especially like the fact that you can change out the hard drive without unbolting the case. I'm always changing out hard drives on my MBPs and after a while the cases don't quite fit together like they should. But what I really noticed was that it was fast. But my MBP should be almost as fast. I determined that I was suffering from OS rot and that
                    Continue reading...


                    Uninstalling Adobe Air on OS X

                    I was reloading my Macbook Pro tonight and something when wrong with the installation of Adobe Air. When I tried to use it, it failed. I tried to reinstall the application, but that didn't work because the installer says "This version of Adobe Air is already installed." But, of course it was corrupted. There was no uninstaller in the /Applications director like there should have been because the application wasn't really installed. Turns out you can run the installer from the command line with the -uninstall switch and it uninstalls nicely. Do this: cd /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS sudo
                    Continue reading...


                    Doing CPAN Installs Using Capistrano

                    I've been trying to use Capistrano for application deployment over the last few days, writing rules to do some common tasks, figuring out how it works, etc. One problem I ran into is that I have a private CPAN bundle that I use to ensure a machine has all the right Perl libraries when I deploy to it. The problem is that CPAN is often run interactively and so module writers often assume the user will be present. That means that it stops in the middle and asks questions about skipping tests, etc. I searched for a while to
                    Continue reading...


                    SSHFS Rocks

                    Can I just say, one more time for the record, that sshfs rocks. Mounting SSH-accessible file systems and then just using them like any other file system on your machine is ever-so convenient.
                    Continue reading...


                    Fuse for OS X

                    A few months ago I posted a short article about using the SSH filesystem to mount an OS X directory from Ubuntu in Parallels. At the time, I had no idea what it was or how it worked. Yesterday, however, I recorded an interview with Amit Signh, the author of the OS X Internals book. This interview will show up on my Technometria podcast on IT Conversations next week. We got into a discussion of the MacFUSE project, which Amit runs and something clicked. FUSE is a specification for creating file systems in user space (i.e. not in the
                    Continue reading...


                    Yum Hangs

                    I have an instance of Fedora Core 6 in VMWare that would hang every time I ran yum, the auto-updater. The only way to kill it at that point was with a SIGKILL. Yesterday I got to the point where I really wanted it to work, so I dug around a little and found a solution. The bottom line is that it's waiting for a lock to clear that never will. Doing this (after killing yum): rm -f /var/lib/rpm/__db.* solves the problem. Apparently this has been a problem since Redhat 9. I can't remember quite how I debugged these
                    Continue reading...


                    Building Emacs

                    I was building Emacs on a virtual machine today and realized that I've been building Emacs on various machines for nigh on twenty years. The first machine I built Emacs for was an IBM RT running AIX 2.1. That was a tough build--no one had done it before that I could find. This was before the standardized configure scripts that figured everything out for you. I learned a lot. Things have gotten considerably easier. I find that building Emacs is easier than trying to find the right thing pre-built and isn't that hard. Here's what you do. Use the
                    Continue reading...


                    My Backup Script on OS X

                    It's sysadmin script day on Technometria. Earlier, I posted and explained by script for cleaning up unwanted files in Linux. Later this afternoon Kelly Flanagan asked me how I did backups, so I decided to clean up my backup script and post it for all to see. First, let me explain that my goal here is to produce a copy of my files. I'm not trying to do imcrementals. This protects me from disk failure, but not my own stupidity. I used to use Synchronize! Pro for backups. It had a few really nice advantages. First if created an
                    Continue reading...


                    Cleaning Up Unwanted Files in Linux

                    One of my grad students just went to remove some unwanted, automatically created files in his directory and accidentally deleted some things he wanted. I use a script to do clean ups to prevent these kinds of silly errors (which we're all prone to). Here's the script: #!/bin/bash if [ ! -e $HOME/.rmd ] then mkdir $HOME/.rmd fi find $HOME \\( -name '.rmd' -prune \\) -o \\ \\( -name '*~' \\ -o -name ',*' \\ -o -name '#*#' \\ -o -name '*.bak'\\ -o -name '*.backup' -atime +5\\ -o -name 'core'\\ \\) \\ -print -exec mv -f {} $HOME/.rmd \\;
                    Continue reading...


                    Server Migration

                    I was reading Sam Curran's blog and he was talking about intelligent server migration. This, of course, is interesting to me since I just got done doing the same thing. Sam had a more difficult situation in that he has users to make changes to the database. While that's true on a blog with comments, it wasn't a huge concern to me over a weekend. Dealing with DNS really is the biggest problem. It took almost 48 hours for DNS changes to propagate to the point where the old server was done taking traffic. I think next time, if
                    Continue reading...


                    New Server

                    I'm upgrading the server that serves this blog and quite a few other sites. There may be some service disruption. If you notice anything weird let me know, please.
                    Continue reading...


                    Good Housekeeping On Your Mac

                    Activity monitor shows which processor apps were built for(click to enlarge) Rosetta, the OS X technology that runs code built for the G4 processor in the Intel platform is so good that you can easily be running old code, even when new code, built for the processor you're running is long out. Kelly Flanagan told me today that you can make Activity Monitor show you the "kind" of a process (select "kind" in View). I found I had half a dozen little applications and menu bar items that were running G4 code and updated them. I also found a few
                    Continue reading...


                            
                            

                                      宏发的彩的网登陆网址网

                                      大家赢即时比分

                                      网信的彩的网址

                                      www.澳门金沙国际.com

                                      索莱尔 网乐投

                                      大家比分即时比分

                                      大家嬴即时比分

                                      九州体育网备用

                                      宁夏福利彩票网上投注