Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 110 lines (80 sloc) 4.166 kb
1b289db @japharl part of my initial commit.
authored
1 DC PM Podcasting Software Install Document.
2
3 DC PM Podcasting software requires a lot of perl modules, ubuntu software pacakages, and some software installed from source.
4
5 First install these Ubuntu Packages (YMMV with other distros):
6 (sudo apt-get install (package))
7 mysql-server # make a note of the root password & update it later in the script... We will assume for now that you choose the password : password, but please consider using something more secure.
8 zbar-tools
9 rsync
10 boa
11 flite
12 lame
13 libimlib2
14 libimlib2-dev
15
16 Uninstall this Ubuntu package, if you have it installed:
17 (sudo apt-get purge sox)
18 sox
19
20 These are perl modules that are required, and are core parts of perl:
21
22 strict
23 CGI
24 File::Copy
25 File::Find
26
27 Other modules
28 (installed via sudo perl -MCPAN -e shell ; then install [Module name] )
29
30 File::Path
31 Image::Dot
32 MP3::ID3v1Tag
33 Net::Address::IP::Local
34 Net::VNC
35 Proc::Background
36 URL::Encode
37 URI::Escape
38
39 Install from source (not the Ubuntu package sox):
40 Browse here: http://sourceforge.net/projects/sox/?source=directory
41 Then click on the download link...
42
43 Now, extract the www.tar and main.tar.
44 Extract main.tar in root's directory. (Or in your directory, but you will need to use sudo and edit the config file appropriately.)
45 Extract www.tar in /var/www
46
47 In /root/ , edit config.ini
48 vi config.ini
49
50 Update:
51 [main] - Root directory for code (recommended /root ).
52 [Mysql] - username & password.
53 [record] - If you are using your built in audio connections, remove -D hw:1,0. If you are using an external usb audio controler, which we recommend, just keep as is. Update dtopic_default to a ressonable value
54 [produce] - start_string, author, and title - update to your username or to your user group.
55 # Note that public_url is the location where all of your public html content is pushed.
56 [update_website] - website_url, rsync - update as appropriate
57
58 Install the mysql databases...
59 mysql -uroot -ppassword < create_podcasts.sql
60 mysql -uroot -ppassword < create_present.sql
61
62 Update the templates...
63 cd templates
64 vi index_head.html - This is used in generating the html webpage for the website
65 vi rss_head.xml - This is used as a header for the podcast feed.
66
67 # Update boa's config so that it will work
68 cd /etc/boa/
69 vi boa.conf
70
71 Edit the last line in the file from:
72 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin
73 to
74 ScriptAlias /cgi-bin/ /var/www/cgi-bin
75
76 The following two edits are OPTIONAL but make your web site a little more secure:
77 Comment out the Alias line above the ScriptAlias line.
78 Comment out the UserDir setting, about 1/2 way through the config file.
79
80 Then restart boa:
81 /etc/init.d/boa restart
82 cd /var/www/cgi-bin
83 vi confi.ini and update the [mysql] section to contain appropriate username & password.
84
85 # Test! Browse to http://localhost and see if you can add yourself as a presentor. Note that you must have vnc enabled for this test to work. Then, run a sample podcast by using the commands below. If you can do that successfully, re-create the mysql databases above to their initial settings and you can do it for real. :)
86
87 #### Usage
88
89 Before you start allowing people to connect to the website to register as a speaker, run
90 perl clean.pl
91
92 Have the users go to your website. Start your browse and point it to http://localhost. It will inform you of the ip address for them to connect to. If there is an issue with using the presentors screen via vnc, most errors should be detected, and the presentor is presented with options to fix it.
93
94 When you are about to start recording, run:
95 perl record.pl
96
97 Then enter the initial topic for the podcast. After you hit return, you're recording!
98
99 As the recording goes, type a number to grab a screen capture of the presentors screen.
100
101 If there is a new topic, press T and you will be prompted to enter a new topic.
102
103 If there is a curse word uttered, enter F, and a few seconds will be removed on either side of the recording.
104
105 Use S or + followed by a number or command, and after 5 seconds, the command will be run.
106
107 Use Q to quit. At that point the recording will be stopped.
108
109 To upload, run produce_all.pl. Finally, run perl update_website.pl , which will update your website.
Something went wrong with that request. Please try again.