- Quick Install - requires shell account.
- Manual Install - for accounts without
shells (most end-user-oriented systems.)
- FAQ - Frequently (or at least once) asked
questions.
Quick Install (Requires that you have a shell
account on the
webserver and that the server allows CGIs to be run from anywhere.):
- Login to your account on your server via SSH or Telnet.
- Type (or paste)
lynx http://deekoo.net/technocracy/addendat/addendat.tar.gz
- Press enter.
- Press 'D' to download the Addendat archive.
- Type
tar xfzp addendat.tar.gz
- Press Enter.
- Now move the Addendat directory you just untarred into your website
directory. Assuming your site lives in a public_html directory under your
homedir, type this:
mv addendat ~/public_html/
- Press Enter
- Change to your new Addendat directory.
cd ~/public_html/addendat/
- Press Enter.
- And run the user-friendly install program:
./install-addendat
- Press Return. If you don't have a Return key, you may need to get
a Mac and use its Return key. If you can't get a Mac for some strange
reason, you may use the Enter key. However, doing so will void your
warrantee and may make it impossible to get a refund should anyone need to
return you to the Creator for a replacement.
- The installer will try to determine the defaults for your
blog. If all goes well, going to
http://your.web.server/~your_username/addendat/ will
take you to your blog. If you have a virtual domain instead of a
normal ~username account, you'll want to edit your addendat.cfg so
that it points at your domain instead of a ~username URL.
Manual installation (for users without shell
accounts on their
webservers.):
- Download Addendát
- Decompress addendát. You'll need a decompresser that
understands tar and gzip.
- Get an editor that understands Unix line endings. On the Mac,
Tex-Edit Plus will work. I don't know which editor(s) work under
Windows; however, SimpleText, Notepad, MS-DOS Edit, DR Editor, and
WordPad will corrupt any file they touch; do not use them.
- Use the aforementioned editor to edit addendat.cgi. Find the
line that says
$configfile='/home/deekoo/deekoo.net_html/technocracy/addendat/addendat.cfg';
and change it to have the actual path your addendat.cfg file will
be in instead. You must save the file as plain text with unix line
endings.
- Open addendat.cfg in your editor.
- Set the text between <%blogfile%> and </%blogfile%> to the
full path to your blog file on the server.
- Set the text between <%blogurl%> and </%blogurl%> to the
URL of your blog.
- Set the text between <%accesscode%> and </%accesscode%> to
whatever you want your blog's access code to be.
- Set the text between <%blogtitle%> and </%blogtitle%> to
whatever you want your blog's title to be. The title'll be used in the
list on the hub.
- You may wish to edit the entry, entryseparator, and add tags.
- Upload addendat.cfg to wherever you said it'd be. ([your
homedir]/addendat.cfg should work.) The config file has to be in a
directory which CGI scripts will be able to read files in.
- Set the permissions on addendat.cfg to owner readable, owner writable,
group readable, other readable (0644).
- Upload addendat.cgi to a directory that your server will allow
you to run CGIs in.
- Set the permissions on addendat.cgi to owner readable, writable, and
executable, group readable and executable, and world/other readable and
executable (0755).
- Edit blog.html to reflect your desired design.
- Upload blog.html to wherever you said it'd be on your server.
- Set the permissions on blog.html to world, group, and owner readable
and writable (0666).
- If you're putting add.html in a different directory from addendat.cgi,
edit add.html so that the 'action="addendat.cgi"' has the correct path to
addendat.cgi.
- Upload add.html to your server. It should be world/group/other
readable and owner writable.
- That should be it. Now test.
FAQ
- Q: I installed the script, but I get a "403 Forbidden" or
"Forbidden" error when I try to access the CGI.
- A: Make sure that you are allowed to run CGIs on your server, and in
the directory that you uploaded the CGI to.
- Q: I get a "Fatal error: Cannot write blog" message when I attempt to
add an entry.
- A: Make sure that the script has permission to write the
blog. Usually this is a matter of setting the blog file to
user/group/world readable and writable (0666).
- Q: How come you don't use Addendat for your own blog?
- A: 0.3 supports blogging from the console, so I now *do* use it.