You are currently browsing the tag archive for the ‘Dreamhost’ tag.
Happy Summer! The kids are out of school and already bored. My oldest son though is really into reading this year, I mean REALLY into it. He has probably read 10 books already on summer break.
His school has a degree program for reading books during the summer. Basically the students get a star for each day they read more than twenty minutes. My son has been doing much more than that I thought it would be great to keep track of it. I am sure looking back at the list at the end of the Summer he would be pretty impressed by the list too.
My first thought is that I would set him up with a blog, and he could type in the books he read on any given day. He and I have done some basic web page building together, so I thought he may get a kick out of this.
So I added a new blog to my account here at WordPress and picked a theme I hoped he didn’t think sucked. When I went to add his as a contributor to the blog I discovered he needed an email address to that. Hmm….
Well I have thought about setting him up with an email address in the past, but never did it as there was really no reason and he is only eight. So I went to Comcast to set him up with a family account. The didn’t have the name I wanted, damn. Well I found one close enough and went with that. At least Comcast has some parental controls, I’ll have to look deeper into that.
I set him up with a WordPress account and when there to log him in. When I logged in with his account to verify everything I was greeted with a page of many, many blogs. Well this is not good, he doesn’t need to be exposed to to this, too young yet, too dangerous.
Going to the next level
As I pondered this in a background processes it hit me, what about setting up a new domain and hosting the stuff myself!? I checked at GoDaddy and shit, the domain is available, excellent.
$10.67 / year for the domain, not so bad. $9.99 for privacy, what! that’s a bit outside. Then it hit me again, Dreamhost. Dreamhost has a free domain with a paid subscription and I never used it, perfect. Off to Dreamhost…
I was able to create and host the the domain on my current account and loaded up a WordPress blog in about 10 seconds. Added an email address and we are ready to go in a more “controlled” environment.
So a simple idea has bloomed into a fully hosted domain with private emails and sites, all for an eight year-old. I am the Tim Allen of the Internet!
So my son and I went over some of the stuff I put together and he is pretty interested in it all. As expected he is a bit overwhelmed. That’s OK, we’ll take it a step at a time in what ever direction interests him most.
The goal of this document is to walk through the installation of a MoinMoin wiki without getting bogged down in any details. We’ll go through requirements, decisions, and steps to complete, that’s all. (OK, I did end up indicating what directories are added; I can’t stand when stuff is added I don’t know about.) I will follow up this post with the details for those who are interested. Once you have completed the steps herein you will have a working MoinMoin wiki on your Dreamhost.com shared hosting account. By no way is this the only way to set up MoinMoin on an account, or even the best way, but I tested it and it will work. Lets get to it!
- Dreamhost shared hosting account.
- A domain setup as fully hosted
- Shell and FTP access to the domain account
- Dreamhost running python version 2.4
- MoinMoin version 1.8.5
- Understanding of editing files from Linux shell
- acctname is the accout name you used to access your domain account through ssh and FTPS.
- ~/ = $HOME = /home/acctname/
- URL to run wiki from (we use sub directory) [We will use: http://hosteddomain/wiki]
- Private name for the wiki’s instance name [We will use: dhwiki]
- Download MoinMoin wiki tarball from http://moinmo.in/MoinMoinDownload (moin-1.8.5.tar.gz) to your local workstation.
- From FTP: upload file to Dreamhost into folder ~/files [/home/acctname/files]
** All commands from now on are from your shell access **
- cd ~/files
tar -xvzf ~/files/moin-1.8.5.tar.gz [new directory is created: ~/files/moin-1.8.5
python setup.py --quiet install --prefix=$HOME --record=install.log
[two directories created: ~/share/moin; ~/lib/python2.4/site-packages/MoinMoin]
- Setup environment variables
cp -R $SHARE/data $INSTANCE
cp -R $SHARE/underlay $INSTANCE
cp $SHARE/config/wikiconfig.py $INSTANCE
chmod -R o+rwX $INSTANCE
- Edit file $INSTANCE/wikiconfig.py
Find and change the follwing lines:
- sitename = u'Your Wiki Title'
- logo_string = u'<img src="/wiki/common/moinmoin.png" alt="MoinMoin Logo">'
- Remove hash (#) in front of: page_front_page = u"FrontPage"
- data_dir = '/home/acctname/share/moin/dhwiki/data/'
- data_underlay_dir = '/home/acctname/share/moin/dhwiki/underlay/'
- url_prefix_static = '/wiki' [(remove # from line)]
- mail_smarhost = "dreamhost smtp server"
cp -R $SHARE/htdocs wiki
chmod -R a+rX wiki
cp $SHARE/server/moin.cgi ./cgi-bin
chmod -R a+rx ./cgi-bin
- Edit file moin.cgi
Find and change the following lines. Please remove the # if they exist on THESE lines:
- sys.path.insert(0, 'home/acctname/lib/python2.4/site-packages')
- sys.path.insert(0, '/home/acctname/share/moin/dhwiki')
- Edit file index.html
Find and change the following lines:
- <meta http-equiv="refresh" content="0; URL=cgi-bin/moin.cgi/">
- Click <a href="cgi-bin/moin.cgi">here</a> to get to the FrontPage
- Go to your favorite browser and enter your wiki's domain: Http://hosteddomain/wiki
Use these instructions at your own risk. I extend no warranties or guarantees about the accuracy or safety of your data or website.
These instructions where tested by building the following wiki: http://MMonDH.brettski.com/wiki
All comments are welcome
- Initial post after successfully building a wiki following exact steps