RSS Feed

‘Linux’ Category

  1. How to: install WordPress on a GoDaddy-hosted account

    October 30, 2010 by Andrew Block

    I get asked fairly often by friends and family to install WordPress on GoDaddy-hosted sites, so I thought I’d post a how-to here. This guide is aimed at beginner’s who don’t care to tinker with it beyond the default settings. More advanced users may be disappointed.

    Important: Before you begin, make sure that your GoDaddy-hosted account is set up as a Linux account.

    To check this, log in to your GoDaddy account, then click the “Hosting” menu, then click “Hosting Management.”

    Now scroll to the My Accounts area of the page, find your domain, and make sure it says “Linux” somewhere under “Plan.” If it does, you’re all set. If not, you need to call GoDaddy and see if they’ll switch you over to a Linux account.

    With that out of the way, let’s get started!

    Note: Click on any of the images to make them larger.

    Step 1: Download WordPress

    Easy enough. Go to http://www.wordpress.org and grab the latest version of WordPress.

    Step 2: Upload the files to your GoDaddy site

    The easiest way to do this is through GoDaddy’s File Manager. Log in to your GoDaddy account, then click the “Hosting” menu, then click “Hosting Management.”

    Next to your domain (under Products > Hosting), click the big green “Launch” button to launch your hosting control panel.

    Now, click the “Content” tab, then click “File Manager.”

    Once in File Manager, make sure you are in the root (“html” by default) folder of your site. Then, click the “Upload” button.

    Click the “Browse” button.

    Locate the WordPress file on your computer.

    Click the “Upload” button.

    After the WordPress file finishes uploading, locate the file and check the box next to it. Then, click the “Unarchive” button.

    Under “Select Destination,” make sure it’s set to the root folder (“/”).

    You’ll now see a “wordpress” folder in the root folder of your site.

    The next step is to move the files out of the “wordpress” folder and place them in the root folder of your site; so, go into your “wordpress” folder. From the “Page Size” dropdown menu, select “50″ so you can see all of the files at once.

    Then click the check box to select all files, and then click the “Move” button.

    Choose the HTML folder from the left-hand side, and click OK.

    Note: This guide assumes you want your WordPress files in the root folder of your website. If that’s not the case, simply place them in the desired folder instead of the HTML folder (if you wanted your site to be http://www.website.com/foldername, for instance).

    Congratulations! All of your WordPress files are now where they need to be. The next step is to set up the database.

    Step 3: Create the MySQL database

    Assuming you’re still in the File Manager, click the “Databases” menu, then click “MySQL.”

    Click the “Create Database” button at the top.

    Enter the following information:

    Description: this can be any text you want to describe your database.

    MySQL Database/Username: This is the name of your database and the username that you will use later to let WordPress access your database.

    Password: Enter something that would be hard to guess or hack!

    You don’t need to enter the read-only database and password, and you can leave the MySQL version set to 5.0. Click the “OK” button at the bottom.

    The database is now “pending setup.”

    I’ve found it takes about 15 minutes GoDaddy to finalize everything. This would be a great time to take a break…grab some coffee, a snack, play Plants Vs. Zombies…whatever. Once the database is set up, there is one more piece of information we need…so keep checking its status.

    Important: Note all of the information you entered on this step, as WordPress will need it!

    Once the database’s status changes to “Setup,” click the little pencil icon next to its name. Write down or copy what is says next to “Host Name.” I’m not going to show you mine, so just copy whatever yours says. :)

    We’re officially done with the database, and almost ready to start using WordPress.

    Step 4: Go to your site’s URL and complete the WordPress setup

    Open a new tab in your browser and type in your website’s URL (like http://www.andrewblock.net/). If all goes well, WordPress will complain that there is no configuration file, and will offer to create one for you. This is the easiest way, so click “Create a Configuration File.”

    On the next screen, click “Let’s Go!”

    On the next screen, use the information from when you created your database. The username and database name are the same (what is called “MySQL Database/Username” by GoDaddy). Also enter your database password. For the Database Host, enter what you grabbed from the “Host Name” after you created the MySQL database. When you’ve entered all the information correctly, click “Submit.”

    On the next screen, click “Run the Install.”

    You’ve nearly reached the final step! Simply enter a nice, descriptive title for your WordPress site, a username, a strong password, and your email address. Click the “Install WordPress” button when you’re done.

    Just click “Log In” on this screen:

    Log in to WordPress using the username and password you just created.

    You did it! You can now see the sweet WordPress dashboard and start blogging using the best blogging platform in the world.

    Questions / issues / problems? Something I forget to add? Let me know in the comments below.


  2. Restoring the Vista / Windows 7 bootloader after a Linux dual-boot

    April 1, 2010 by Andrew Block

    I often flip-flop back and forth between Windows and Linux. I’m sort of bipolar about it.

    This time, I decided it was time to just use Windows for a while. I was dual-booting Windows 7 and Linux Mint. I used Acronis Disk Director to delete the Linux partitions and used EasyBCD to restore the Windows bootloader — I thought I was all set.

    For whatever reason, it didn’t work this time (that combo has always worked well for me in the past). When I rebooted, I was greeted with “Grub Rescue >”. Not good. I tried the easiest solution first: I stuck in the Windows 7 disc and tried an automatic startup repair. Unfortunately, it claimed there weren’t any problems!

    So here’s how you fix it when all the easy methods fail (and this is still pretty easy):

    1. Boot using a Windows 7 CD/DVD/bootable USB disk
    2. If prompted, press any key to start Windows from the installation disc
    3. Choose your language settings, and then click Next
    4. Click Repair your computer
    5. Select the operating system you want to repair, and then click Next (there will probably only be one)
    6. On the System Recovery Options menu, click Command Prompt
    7. At the prompt, type:

    bootrec /fixmbr

    And then:

    bootrec /fixboot

    8. Reboot your PC

    That solved it for me! Shout below with questions.


  3. How to make Ubuntu Linux even more Windows-user-friendly

    December 1, 2009 by Andrew Block

    I think Ubuntu Linux is awesome in terms of how for it has come in terms of user-friendliness.

    That said, I think there are still a few barriers when it comes to replacing Windows as a general purpose desktop for the average user (like my wife for example, who didn’t even notice when we changed from Windows XP to Windows 7!)

    After talking with many of my completely non-techie friends and family, here are my top six things Ubuntu Linux could still improve upon (I am focusing solely on Ubuntu, not only because of its relative popularity, but also because it is the easiest distribution of Linux the world has ever seen, imho).

    1. Not available pre-installed on enough PCs. I am not saying this one is easy, nor is it even anything Canonical can control, but it begs to be said anyway. But buying a PC without Windows might simply be too daunting for the average user. Why not offer PCs with both? A dual boot menu out of the box? Just a thought, and it may be a good strategy rather than forcing users to quit Windows cold turkey. Of course, convincing OEMs to actually do this would be no small task.
    2. Ubuntu is not generally available on store shelves. I would love to walk into Best Buy and see boxed copies of Ubuntu (or Linux Mint!) next to Windows. I bet there are a lot of users who would pay $10 – $20 for a boxed copy of Ubuntu on CD/DVD, especially sitting next to a $200 copy of Windows 7 Pro. Believe it or not, there are people out there who don’t know how to download and burn an ISO, don’t have CDs/DVDs handy, or are just plain too lazy to learn how (just like I’m too lazy to learn about how to fix my car). The Linux elite might say “We don’t want those people anyway,” but remember Ubuntu’s mantra? “Linux for human beings.” The typical human being is not an elite Linux user, and probably never will be.
    3. No installation from Windows. The typical user checking out Linux is coming from Windows, period. It is a statistically unavoidable fact. I know Wubi has taken great strides toward letting people try out Ubuntu within Windows, but what Ubuntu really needs is an auto-run feature that works in all flavors of Windows. It could ask a couple questions, reboot the machine, and install Ubuntu and Windows side-by-side (dual-boot by default). The average Windows user won’t be ready to cut the cord with Windows that quickly.
    4. Cryptic names within the boot loader. The names in the boot loader should be written in Plain English. Instead of “Ubuntu 9.10 Kernel 2.xxx.xx.blah-blah-generic,” just put “Ubuntu.” Don’t even both with the version, as the typical user doesn’t care. Instead of “Windows 7 (loader) (on /dev/sda1),” just display “Windows 7.” Of course, give advanced users the option to change this, but chances are, they already know how.
    5. No shortcuts to common applications on the desktop. The average Windows user typically surfs the web, writes documents, and maybe touches up some photos. Perhaps start Ubuntu for the first time with an interactive wizard that asks the user how they use their PC, and place shortcuts on the desktop accordingly.
    6. Avoidance of the terminal at all costs. For better or worse, Windows has trained millions of users that they can accomplish any task through the GUI. Every time I have had to use Ubuntu, even the latest version 9.10, I have had to fire up a terminal for some unforeseen issue. The average user is not usually inclined to Google the answer, and usually even less inclined to actually do it (in Ubuntu’s defense, a lot of Microsoft pages direct the user to try cryptic registry editing, so…you know…just saying…).

    Those are my top points. Again, these are not meant to be critical…I have nothing but the utmost respect for what the Ubuntu team has done, and continues to do. Please let me know your thoughts in the comments area below.


  4. Want better fonts in Ubuntu or Linux Mint? (or any Linux distro for that matter)

    December 1, 2009 by Andrew Block

    I have been a Windows user my whole life, and only in the last 3-4 years or so did I become interested in Linux. It started with Xandros, which, honestly, I didn’t like, and then I tried Ubuntu, which I liked, and then finally Linux Mint, which I like even more. I currently dual-boot Windows 7 and Linux Mint 8 on my main desktop.

    One area where Linux consistently lags behind Windows and Mac OS (in my opinion) is in fonts. The fonts included with Ubuntu and Linux Mint, for example, are nowhere near as pretty as the Windows Vista / Windows 7 fonts.

    Reference #1
    Reference #2

    So here’s what I did to “fix” it (this guide assumes very basic familiarity with Linux systems).

    Note: this will only work if you also have Windows Vista or Windows 7 installed (for all you dual-booters out there, lol). It may also work with Windows XP if Microsoft Office 2007 is installed, but I’m not positive on that one.

    1. Open Nautilus by opening a terminal and typing ‘sudo nautilus’ and entering your password.
    2. Next, browse to usr > share > fonts > truetype. Create a new folder here (I called mine ‘windows-fonts’).
    3. Open another Nautilus window (does not have to be “sudo”), then mount your Windows drive in Ubuntu / Linux Mint. This should be as easy as double-clicking on it and entering your password.
    4. Browse to the Windows\Fonts directory.
    5. Find a font you like. I grabbed all of the SegoeUI fonts, for example. Calibri and Cambria are nice ones too. Copy the desired fonts to the new folder you created in usr > share > fonts > truetype.
    6. Type ‘sudo fc-cache -fv’ in a terminal window to refresh the font cache.
    7. Go to Appearance Preferences > Fonts and choose your new fonts!
    8. Screenshot
      Click image for a bigger…uh…image

    This obviously doesn’t jibe with open-source software principles, as it requires the purchase of Windows. But to all of us suckers who have already forked over the cash for Windows, why not? (OK not really suckers, since I am openly positive about Windows 7).

    P.S. If you’re looking for the Microsoft Core fonts package, open a terminal and type sudo apt-get install msttcorefonts. Then type sudo fc-cache -fv to reset the font cache.


  5. Ubuntu 9.04 as slick as Windows 7 & Mac OS X?

    April 26, 2009 by Andrew Block

    Renai LeMay, writing on cnet news, reviews Ubuntu 9.04 and claims it’s just as good—if not better—than Windows 7 and Mac OS X. LeMay writes:

    You won’t be able to notice the vast improvement in Ubuntu’s desktop experience over the past six months by browsing screenshot galleries of 9.04 or looking at new feature lists. What I’m talking about is that elusive slick-and-speedy feel you get from applications launching fast, windows moving around without jerkiness, and everything simply being where it should be in the user interface (read the full article).

    I am definitely going to be downloading Ubuntu 9.04 tonight (also for more info on the features of Ubuntu 9.04, click here).