Ask Your Question
0

can i run KA-Lite on Fedora

asked 2014-03-29 09:00:19 -0600

vudeh gravatar image

I am trying to load KA-Lite on Fedora 20

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-03-29 12:41:21 -0600

marcindulak gravatar image

See https://kalite.learningequality.org/wiki/installation/ - just change the username/password/server in the expect script below:

su -
yum -y install git expect
cd /opt
git clone https://github.com/learningequality/ka-lite.git
cd ka-lite
cat <<'EOF' > /opt/ka-lite/ka-lite_install
#!/usr/bin/expect --
spawn /bin/sh /opt/ka-lite/setup_linux.sh
expect {Press \[enter\] to continue\.\.\.}
send "\r"
expect {Username (leave blank to use 'root'):}
send "\r"
expect {Password:}
send "root\r"
expect {Password (again):}
send "root\r"
expect {Please enter a name for this server (or, press Enter to use .*):}
send "localhost\r"
expect {Please enter a one-line description for this server (or, press Enter to leave blank):}
send "\r"
set timeout -1
expect {http://127.0.0.1:8008/}
send "\r"
puts "Ended expect script."
EOF
expect /opt/ka-lite/ka-lite_install

Start the server as an unprivileged user:

/opt/ka-lite/kalite/manage.py kaserve host=127.0.0.1 port=8008 daemonize=true pidfile=~/runcherrypyserver.pid

and access the web interface:

konqueror http://127.0.0.1:8008/
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-03-29 09:00:19 -0600

Seen: 106 times

Last updated: Mar 29 '14