Results matching “install” from Ye Olde Rad Blog III

NEW BLOG! (Final entry this blog)

|

Installed a new blog today! .. based on Movable Type 5.0, which was released yesterday (January 5, 2010). All new entries henceforth will be published there. This will therefore be the FINAL ENTRY for this blog (which contains nearly 200 entries).

See here » Ye Olde Rad Blog 4.

First entry from the new blog posted here » First Post with Movable Type 5.0

[ Older blogs » Ye Olde Rad Blog II .. and Ye Olde Rad Blog v1.0 ]

Test update to MySQL 5.1.51

Test Feb 14, 2017

Feliz año nuevo. Most Content Management Systems (such as Drupal & MODx) work in conjunction with (require) a database. So do blogs (such as Movable Type) & forums (such as SMF).

MySQL is the world's most popular database software for web-based applications (.. such as CMS's & blogs & forums). It's what I use. It's the only database system I've ever used.

cPanel / Web Host ManagerThe Rad VPS (« physically located downtown Chicago) uses the cPanel/WHM control panel to help administer the site. cPanel makes it stupid-easy to create a new MySQL database.

You simply » enter a descriptive name for your new DATABASE (such as » rad_modx) and click the button labeled 'Create Database.' cPanel talks to MySQL and creates the database for you. Viola! Done. Too easy.

To use your new DATABASE, you'll also need to create a USER (such as » rad_modx, conveniently same as the database_name). Give this USER a password and click the button labeled » 'Create User.' Voila! Done creating new USER.

Lastly you need to assign a particular USER to a particular DATABASE. You do this by selecting both from their respective drop-down menus (one lists all available DATABASES, the other all possible USERS) and clicking the button labeled 'Add.'

Then you assign to this USER the appropriate PRIVILEDGES (normally ALL) necessary to perform the database functions. Click the button labeled 'Make Changes' and you're done. Voila! As if this weren't easy enough, cPanel even has a wizard to walk you thru these steps.

MySQL Database ManagementSo, in order to configure a database to work with a particular web application (such as Drupal or MODx), you need 3 pieces of info:

  1. database_name
  2. user_name
  3. user_password

Couldn't be easier. Tho I sometimes forget the final step of actually assigning the USER to the DATABASE (after creating both). Creating new DATABASES is not something I do on a regular basis.

RADIFIED currently uses 5 databases. Three for the blogs » 1-each for the 3 different versions of Movable Type I have installed .. based on v263 (installed 2003), v335 (installed 2007) & v432 (installed 2008). Another for Drupal (2008). And 1 for MODx Revolution (beta5), which I installed a few days ago.

The Rad forum, which uses YaBB, doesn't use a database. (At least not yet.) Might be worth noting here that Movable Type, Drupal, MODx & YaBB are all OPEN SOURCE (better than free) .. as is MySQL.

While installing MODx a few days ago, I noticed they include an option to test your database connection & credentials .. to see if MODx can access it okay.

Created a dedicated 'Guides' page. See here » Radified Guides. Been meaning to do that for .. eons. This will allow me to off-load the guides listed here on the home-page, so I can clean it up.

MODx Content Management System (CMS)I indented & right-aligned every other link .. to make them easier to read. What do you think? When the links were all lined-up together & left-aligned, they seemed too .. similar.

Eventually I'd like to include a representative graphic for each guide/link. But for now, I just wanted to create a page that contains a repository of the links to all our guides.

On a related note, I've been looking more deeply into MODx, the Content Management System (CMS). They are fixin' to release a new version (complete-rewrite, from the ground up, based on PHP5) .. called » REVOLUTION. (Current version is called » EVOLUTION.)

Drupal would be cool, but it's way too sophisticated for what I need. I don't want/need a PhD in CMS's. Here's a MODx site, for example. (I used to live in Lancaster, PA .. the heart of Amish country. Nice people there.)

I'd like to become intimately familiar with a good CMS .. as another skill to add to my digital toolkit. Only way to do that is » use one daily.

The good people at MODx claim a 'Release Candidate' version of REVOLUTION will be coming » "Winter 2009" (.. which is now). [ Notice how the words 'Summer 2009' have been lined-out. ] UPDATE » They just changed the RC date to "Spring 2010". Hmmm.

The MODx site is running REVOLUTION. I'm in no hurry, tho. Rather make a good decision than a hasty one.

The White House (Gasp!) Goes Drupal

|

The White House re-launched its website on Drupal. Can you believe that? Not sure why this blows my mind. In searching the web however, I see many others have also sat up and taken notice.

George Washington at the White House running on DrupalNo doubt the White House has content to manage. Sure.

But I think the reason it's so unexpected is that Drupal is simply too cool & cutting edge for the White House .. which we normally associate with stodginess and somnolent formality.

Then there's the fact that Drupal is not an American product. It was born in Belgium, at the University of Ghent (.. as a message board for fellow-students enrolled there).

And you know how RADICAL college students can be. Downright revolutionary at times.

It could also be that we associate politicians with being less-than-honest about their true intentions .. while Drupal is open source, and therefore completely transparent. (Imagine how people might feel if Hitler were caught parading around town wearing a scarf knitted by Mother Teresa.)

Dare I mention how the government TAKES your money .. without even a thank-you note, and gives it to people who have much too much already. While Drupal, released under GPL, is better than free (as in 'free beer'), cuz it's also open source (free as in 'freedom').

The whole thing feels grossly incongruent .. as tho two vastly different worlds have collided. Matter and anti-matter. Good omen, tho .. for both the White House and Drupal.

Install a Wiki? (DokuWiki)

|

Made some minor style-tweaks to the home page. The text you're reading now, for example, is slightly less-bright (easier on the eyes), while the links are a little brighter .. than they were before. (Might have to refresh your browser to load the revised style sheet.)

WikipediaVisited-links in the sidebars are now slightly less-bright (grayer) .. than un-visited links. Used to be no diff.

Been studying more CSS. Becoming very comfortable tweaking styles. Fine-tuning. Easier for me to determine what I don't like, than what I do.

Oh, the date is also slightly brighter (whiter) .. than the rest of the text, and has a "text-transform" property applied to make it » UPPERCASE .. via a span tag with 'date' class attribute.

Upgraded the Rad blog to the newest version (4.32), which was released a few days ago. Way easier, now that I have Linux shell skillz & a VPS. Five minutes instead of 2 hours.

Movable Type v5.0 will be coming out soon. Currently at » beta-3. I normally install NEW versions of whole-number upgrades, rather than upgrading previous installations. Keeps the number of blog-entries down for a given installation.

Currently have 167 entries on MT 4.x. Lots of entries tend to make the blog respond sluggishly (when rebuilding). That would be » Ye Olde Rad Blog IV. (Started with v2.63 .. in May 2003.)

Considering installing a wiki (software). Can't hurt. Might help. Would be a place (beside the forum) where folks could post & reference their own info/content. Might be a good learning experience, too.

I have no experience with wiki's .. other than searching Wikipedia. Not sure which one would be best. So many choices. Ideas? Saw this comparison. Nigel once recommended Dokuwiki (I think) as a well-coded (PHP-based) piece of software.

The Dokuwiki download is 1.7 MB. (Compare that with the Movable Type download, which is 4.6 MB.) An über comparison of all Wiki's and their features is posted » HERE. Meanwhile Wikipedia, the mother-of-all wiki's, uses MediaWiki, which is both free & Open Source.

Learning the Unix Shell (bash)

|

Last month I mentioned a quest to learn the Unix shell .. specifically » bash (the Bourne Again SHell). Almost done. Currently ~80% complete .. enough to feel reasonably confident at a terminal.

Linux shell terminalThe 'shell' is simply a program that lets you interact with the operating system (actually the kernel, to be more precise) ..

.. by taking your (text-based) commands and passing them on to the kernel. In my case, this kernel happens to be » Linux (which is but one variant of Unix).

The term 'shell' comes from the notion that this software acts like a 'layer' that sits between you and the operating system .. similar to the way an egg-shell sits between you and your hard-boiled breakfast.

The shell can be intimidating, cuz it uses a (text-based) command-line interface (CLI). No intuitive GUI to help you along. You either know the commands or you don't.

Didn't take me long to realize the CLI was where Linux's true power resides. When we upgraded the site, for example, to a Virtual Private Server, the support-techs who helped me with the move all used the command-line to work their mojo.

Most Linux distros do indeed come with an excellent GUI (usually either KDE or Gnome). But (but!) the Rad VPS does not. Which is why it became necessary to learn the Unix shell. (Something I tried to avoid.)

The Rad VPS is based on CentOS (Community ENTerprise Operating System), an off-shoot of Red Hat, which is probably the most popular of all enterprise Linux distros (.. and now a new member of the S&P 500, a development you may find telling).

GUIs (such as KDE or Gnome) require lots of memory/RAM. My laptop, for example, has 2-gigs, but the Rad VPS comes with an allotment of only 512-MB (.. upgraded from 384 just today).

With that limited amount, I need to run not only all the standard web applications .. such as Apache (web server), MySQL (database), Perl (scripting language), etc. but also cPanel/WHM.

So there's not much RAM left to run a GUI. [ Don't think I didn't inquire about installing a GUI. =) ]

Bottom line » if you wanna administer your own VPS, you need to learn the Shell. So that's what I'm doing. (Of course, there have been distractions, making progress uneven.)

Quest to Learn the UNIX Shell (bash)

|

Been learning the UNIX Shell, which uses a command-line interface (from a terminal) .. something I've wanted to do ever since we upgraded to the Virtual Private Server last year. (Linux is a variant of UNIX.)

Linux shell terminalEven basic knowledge of (how to use) the Linux command line makes life administering a VPS much easier.

The Shell is simply a program that allows users (like me) to interact with the operating system (sometimes termed the 'kernel'). It can be conceived of as a 'layer' sitting between you and the operating system .. hence the term » shell.

Several shells exist, but nearly all Linux distributions come with » bash (Bourne Again Shell) .. cuz it's free, powerful and easy to use.

On my laptop I have installed a copy of Ubuntu Linux that I use to learn the shell (practice). Before jumping into learning the Shell, I figured this was a good time to upgrade my 'installation' of Ubuntu .. to the latest release (» v9.04, 'Jaunty Jackalope').

So I downloaded » this virtual machine (1.1 gig, using uTorrent). Had trouble getting it connected to the Internet, but that was due to my own inexperience with VMware, and not due to any short-comings of Ubuntu.

Anyway, I am really digging learning the Shell, cuz it's something I can use right away. For example, yesterday I upgraded the blogging software we use here at Radified (Movable Type) to the latest version (» 4.26). Something that used to take hours to accomplish was done in minutes .. (using a series of Shell commands). Beautiful.

Learning XML

|

XML is the foundation for several next-generation web technologies, such as XHTML, Ajax, RSS and Web Services. So it sounds like a good thing to know.

XML vs HTMLWhile HTML (the language of the web) is used to display information (how data looks), XML is used to structure & describe information (what data is).

XML is easy to learn, but comes with a set of related technologies, such as:

  • XPath .. which is used to extract data from within an XML document (similar to how SQL works).
  • XSLT .. a styling language which transforms an XML document/file into something else (such as HTML, PDF, ASCII or another XML file).
  • XQuery .. provides advanced query functions on XML data, similar to SQL. More powerful than XPath.
  • XPointer & XLink .. which work together to create hyperlinks to XML documents and to sections within XML documents (even if/when no named anchors exist, which is pretty cool).

So there's a lot to learn. (I'm about knee-deep into it.)

Since XML is just plain text, XML documents/files can be created or edited with any text editor, such as Notepad or Wordpad, which come with every version of Windows. But they provide no advanced features such as:

  • line numbering
  • tag completion
  • syntax color coding
  • checking for well-formedness
  • validating XML files (against DTD & Schema)
  • collapse & expand sections of code

I heard that the best (most feature-rich) XML editing software that's FREE is » Microsoft's Visual Web Developer 2008 Express Edition .. which I downloaded and installed.

Holy moly. Big download. Couple of gigs. They make you register the software, too. Took me a long time to finish everything .. after downloading all the updates (including the security patches & SP1, plus installing Microsoft's SQL Server 2008 Express).

After years of searching, I finally found a new template for the Rad Community forums. Named midnyte, it's (as you might expect) » dark.

YaBB = Yet another Bulletin BoardA template consists of set of files that style a bulletin board (aka 'online forum'). All templates include (among other things) a CSS file & an accompanying set of graphics.

Our old template was based on a much older version of YaBB (our forum software) .. so old, in fact, that I don't even recall which version it was based on.

I liked the way the old template looked, but it kept getting increasingly outdated with each additional update to our forum script .. thereby introducing an increasing number of compatibilty problems (which made me jump thru increasingly difficult hoops).

Actually, it was problems encountered following last week's upgrade that sent me scurrying to find a contemporary template (one based on YaBB 2.4).

Upgraded the Rad Community forums .. to » YaBB v2.4 (released a few weeks ago). The boys at YaBB have adopted a new, fast-n-furious (3-month) release cycle, which keeps me hopping.

YaBB = Yet another Bulletin BoardThe 'upgrade' process begins with a new/fresh/clean install of the new version .. to a new/unique directory.

I then configure the new version to make it look like the version currently in-use.

After everything looks hunky dory, and appears to be working correctly, I place both (old & new) forums in Maintenance mode and copy all the member-accounts and posts (» folders labeled /Members and /Messages) .. from old to new directories.

That's always the trickiest part, cuz there are so many files to copy (more than 15,000). Our old Shared hosting server choked on this file-transfer. The forums contain ~5K threads with 40K posts (which I'd hate to lose).

Our new VPS however, seems to be handling the load much better. And I can now work from the (powerful) Linux shell (command line).

With world-economies teetering somewhere between a nasty recession and full-on depression, more folks are turning to open source (free) software to meet their home computing needs.

If you've been Radified any length of time, you know that cloning programs are our specialty, especially when used as a tool to backup your system partition (where Windows resides) by creating an image file.

ClonezillaSo the question naturally becomes » What's the best free cloning program?

I've tried many options, such as Macrium and O&O DiskImage Express, but never quite found what I was looking for .. until today, that is.

Perhaps I should interject by saying that, regarding the NOT-free solutions, I've found that Ghost, along with Image-for-Windows to be the best for-co$t disk-cloning tools. (By 'best' I mean » most reliable.) Ghost is also way faster than any other cloning product I've demo'ed .. if speed is important to you.

Lots of people also like True Image, but I had problems with it. (Errors I couldn't resolve.)

But what if you can't afford those apps? Then what? We still need an industrial-strength (nuclear-grade) backup tool. Enter Clonezilla. (Standing ovation.)

First, I'm not crazy about the name .. nor the website's design, especially the tiny menu on the left-side that I can barely read. (Update - looks like they fixed the tiny-menu problem after I posted this.)

Heck, I don't even like their logo (white Linux penguin inside orange penguin). But I *am* impressed with the tool itself .. now that I've had a chance to try it.

Yes, it's significantly more complicated to use than either Ghost or Image-for-Windows, but I don't feel this complexity is a barrier to those with a moderate degree of computer sophistication. (Such as the folks who frequent Radified.)

Note that .. a cloning program can (if used inadvertantly) trash your entire system and wipe out every every file on your hard drive .. with a single click. So you can't experiment like you can with other programs (.. such Photoshop Elements or Sound Forge, for example). In other words, you need to know wtf you're doing.

Perhaps I should begin by defining some terms.

No More Diapers or i-key on Laptop

|

Got rid of the Bug's last few diapers today. He hasn't worn diapers for months, even at night. Seemed symbolic when I dropped those Huggies into the trash. End of an era. (He's 4 now.) Good that he's developing, but kinda sad, cuz they're only small once .. for such a short time.

Speaking of little ones .. the Dog called today and said his wife is pregnant. Due in October. I'm so happy for him. Couldn't stop smiling.

He's in New York. He will make a great dad. (His first.) He married a girl from the Czech Republic. (You know what they say about Czech girls.)

My laptop had a sticky i-key. So I popped it off with a thin flathead screwdriver and broke the dang mounting clip that attaches the key itself to laptop. Or at least it popped off too.

Tiny parts. Hard to work with. Broke out a magnifying glass. Hard to do anything with a magnifying glass in one hand.

Find recent content on the main index or look in the archives to find all content.