All posts by Paul

CERT Coordinator, Ham Radio Operator, GTD Fan; Photographer; Domino/Notes Administrator

Python – what it is and learning about

https://www.python.org/about/gettingstarted/

Appears that this is a good language to learn.

Edgewall uses it as the underlying language that supports Trac.

I believe 1and1 hosts it.

XREF to this article which discusses installing on 1and1:
http://eng.zvblog.es/2013/05/26/updating-python-in-1and1-shared-hosting/

Trac Installation Project (Action Support)

Desired Outcome
Installation of Trac within my 1and1 Unlimited Account, to keep track of all web-based development projects

Understanding requirements and components needed for installation

-Making an SSH connection into 1and1.com
20150509 www.paulgarth.name is the account I would need to use as it has capability for SSH connections. I followed this instruction set and it worked — http://help.1and1.com/hosting-c37630/webspace-and-access-c85098/ssh-c37775/establish-an-ssh-connection-from-a-pc-a595890.html I just needed to find the original username and password, which is the same as the original ftp address on the account.

-Installing the system

Following instructions from: https://chrisjackson.us/trac-installed-on-11/
Note: The latest version for Trac is Trac-1.0.5.tar.gz

mkdir install_trac_files (Make a directory)
cd install_trac_files (Go into directory)
wget http://ftp.edgewall.com/pub/trac/Trac-1.0.5.tar.gz (Get the install files)
tar xzvf Trac-1.0.5.tar.gz (Unpack)
cd Trac-1.0.5 (Go into Directory)
python setup.py install –prefix=$HOME/bin/python (Setup Python — I think…)

Error after the python statement
Traceback (most recent call last):
File “setup.py”, line 17, in
from setuptools import setup, find_packages
ImportError: No module named setuptools

This is a web-site that assists with Python install — https://docs.python.org/2/install/

This site talks about installing Python on 1and1 — http://www.andrewault.net/2010/03/15/making-and-installing-python-on-a-1and1-shared-host/

Note: I’m thinking that I need to install Python before running the commands from Chris Jackson

This is info from 1and1 re: Python — https://help.1and1.com/hosting-c37630/scripts-and-programming-languages-c85099/python-c85148/installed-python-modules-a595984.html

-Configuring the system

Integrating system with other systems, eg wiki

Closing out the project

Trac

Ahh… the wonderful world of the web, where you have a random thought like — “I wonder if there is a way of somehow keeping track of all the web-based projects I have (web-site; blog; forums; wikis; surveys, etc…) and be able to manage my relative knowledge and learning of all that.

I went to the wordpress.org site and searched how WordPress manages the open source development.

Looks like they use Trac, which is described as — Trac is an enhanced wiki and issue tracking system for software development projects.

I suppose I am a Software Developer of sorts…

I went to this site for info and downloads — http://trac.edgewall.org/

Looks like there is a formatting tool within Trac that talks to your wiki (in my case, wiki.paulgarth.com)

Note: This could get interesting, as I believe that my www.paulgarth.name (1and1 unlimited) account is a better platform for installing Trac. I think I have SSH access on that account for lower-level work. I found this web-site which appears to have been successful in this — https://chrisjackson.us/trac-installed-on-11/

Note: I’m going to go slowly with this Trac project, as it could end up being a time-suck. Looks like there is a lot to learn in just getting a web-based project management tool up and running. Here is Trac’s installation guide — http://trac.edgewall.org/wiki/TracInstall#Dependencies

I think first step is to contact 1and1 directly and ask them if they have the minimum requirements within their infrastructure for this.

Wiki creation (MediaWiki) thoughts so far…

Well, it was really easy to create the SQL Database, upload the MediaWiki Software, and configure everything.

Now I have my wiki at wiki.paulgarth.com

What’s interesting is that the more I ask myself basic questions like, “How do I enter data and structure it?”, the more I realize that there is something else I now need to learn – HTML coding, etc.

Definitely appears to be successful because of the stripped down text form of data, vs heavy graphic downloads, which affect latency.

The lazy part of me is wishing for some user interface that does some of the formatting work for me, but… it’s also a great opportunity to learn some things — HTML/XHTML, CSS, PHP, etc.

My plan is to just continue battling through the natural resistance to learning something new/odd — I’m sure it will all work out and make sense in hindsight.

Onwards…