I needed to do some work on an old Maven project I have that I’ve worked on for years, and when I fired up my handy Netbeans IDE and ran the obligatory “priming build”, I was surprised to get an error on one of the basic Maven plugins. Continue reading
I offer support for a few web sites, and not too long ago, I created a WordPress theme for Omnis Risk (http://www.OmnisRisk.com). Actually this was just a slightly modified version of the theme that I’d done some time ago for Omnis Tools (http://www.OmnisTools.com), with some style changes to match the branding for the risk management logo.
Today we celebrate Thanksgiving in the US, an American holiday where we count our blessings, and in that spirit, I give thanks for my health and well being.
Many men find the stigmas associated with mental health lead to feelings of shame and embarrassment, which often prevents them from seeking help and taking action.
I’m very grateful for Movember, because they are working tirelessly connecting and funding the best scientific and clinical minds in the world. They are working towards two urgent goals: to fast track a time when no man will die from prostate or testicular cancer, and to rid the world of discrimination against men and boys with mental health problems.
The Movember Foundation is working tirelessly to rid the world of this discrimination and to ensure men and boys experiencing mental health problems know the signs and take action early.
I need your support to fund this important work.
You can join my Movember team and help change the face of men’s health: http://moteam.co/therastache
You can donate by:
- Joining the cause of the TheraStache team at http://moteam.co/therastache by joining the team or clicking the “Donate To Team” button.
- Donating online to my Movember at http://mobro.co/accuweaver
- Writing a check to ‘Movember’, referencing my registration ID: 8247629 and mailing it to: Movember, P.O. Box 1595, Culver City, CA 90232
(You can use the donation form at http://us.movember.com/mospace/downloads/form/type/donation)
You can learn more about the important work and impact Movember is having at: http://us.movember.com/programs
Thanks for supporting my moustache. Together we can change the face of men’s health.
The server runs CentOS, MySQL and a GlassFish server. I chose GlassFish several years ago because at the time it was the only EJB3 container around, as well as being very well integrated with the NetBeans IDE.
I’m always fascinated by unintended consequences, especially when they are an artifact of trying to do something right.
In moving to Salt Lake City from California, I’ve been reminded that good intentions and planning do not a perfect world make.
I live close to downtown, so I’ve started walking to work. It’s a nice walk, gives me a bit of exercise, and makes me feel I’m being a bit more “green” by not driving.
The sidewalks have those nice ramps into the crosswalk, which lets a wheelchair roll across. And they keep somebody who’s not quite paying attention from tripping on the curb …
It’s all great until it snows …
Recently I’ve been seeing a lot of the annoying message about pages dying on Chrome. For the most part it’s just annoying, and clicking “wait” lets the page load.
Until this morning, when for some reason Chrome just stopped letting me get to any of my hosted web sites. Whenever I would go to http://www.accuweaver.com, http://accuweaver.com, http://www.cozybabycare.com or http://www.incdpc.com, I would immediately see a “No data received” message:
I was setting up a temporary WordPress site for a client as a placeholder for their business. All they wanted was their logo, a link to an existing product page, and a message about the site being under construction.
I had to set up a WordPress instance on a server where my only real access is via cPanel, so I Googled a bit and found this article: http://www.howtogeek.com/howto/20859/install-wordpress-manually-on-your-website-using-cpanel-wizards/
First step is to log in to the cPanel, which is typically at some arbitrary port on your server, and log in with your admin credentials. If you go to the right URL, you’ll be prompted with something like:
So, just like any WP installation, the first thing you need is a database, so you look for the Database Wizard (in the Databases section):
This will bring up the Wizard which will ask you for a name. In this case I’m creating a test wordpress, so I type in “WP_test” just so I know which DB I’m using. This can really be anything, just has to be unique.
If you’re on a shared host (which I am) this name gets prepended with your admin account name (this is how the server knows which databases belong to you and keeps you from seeing other people’s database schemas).
Going to the next step, you’ll be asked to create the database users. Again this can be anything, but also needs to be unique to the schema you’re creating. At this point the database has been created, but there are no users. The user name also gets prefixed with the account on a shared host system:
You can give the user any name and password you want, you will need those along with the database name once you are ready to fire up WordPress. I believe it is possible to use the same user for multiple databases by skipping this step and manually adding them to the newly minted database later instead, but it’s probably not the most secure way to set up access.
In my particular setup, I want to attach this new WordPress to a specific host name, so the next thing I do is my Subdomains panel in order to create the directory and tell Apache where to send the users. The default behavior is for the directory to be a folder under public_html with the same name as the subdomain, so in my case “WPtest” causes a folder named /public_html/WPtest to be created:
In my case I prefer to keep them separate physically, so I remove the “public_html/” part and call the folder something more meaningful. Depending on your setup, you may also need to add this new host name to DNS, although for testing you don’t even need that (more on this later).
The next thing to do is to get the latest WordPress binary and upload it to the newly created folder, which you can do using the cPanel folder manager:
I next see a popup that asks me where I want the File Manager to start, so I pick my new subdomain:
In reality it displays all of your folders, just starts up opened to that particular one which might save you a click or two. At the top of the file manager, you’ll see the menu bar where you can choose “Upload”:
You’ll get the typical button to choose the file with, and a status bar that will tell you when the upload is complete:
Once it is uploaded, go back to the file manager and with the file selected, click the “Extract” icon, or right click on the file and choose that option:
You can actually choose to extract it somewhere other than where you uploaded it, which could be useful for creating multiple copies or updating WordPress into multiple folders:
Now this ends up creating a wordpress folder under the one where you really want it, so I do a bit of cleanup that involves moving the contents of that folder up one level. I use the File Manager’s drag and drop to move the files, and then delete the empty folders and zip as shown in this video:
After that, the rest of the configuration is a standard WordPress setup through the browser (see: http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install)