- Cleanup init script - Add a sysconfig file - Relocate pidfile to /var/run/ajaxterm/ajaxterm.pid - Add a README.Fedora - Add an example config for Apache
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
ajaxterm for Debian
|
|
-------------------
|
|
|
|
* Ajaxterm only supports utf8.
|
|
|
|
* With the default settings, you have to install openssh-server and
|
|
allow password authentication. Open file /etc/ssh/sshd_config and
|
|
set:
|
|
|
|
PasswordAuthentication yes
|
|
|
|
As an alternative, you might choose to run ajaxterm as root. Change
|
|
the default daemon setting in file /etc/sysconfig/ajaxterm to:
|
|
|
|
USER="root"
|
|
|
|
Ajaxterm will then fall back to use /bin/login.
|
|
|
|
* Apache setup
|
|
|
|
By default Ajaxterm only listen at 127.0.0.1:8022. For remote
|
|
access, it is strongly recommended to use https SSL/TLS, and that is
|
|
simple to configure if you use the apache web server using
|
|
mod_proxy.
|
|
|
|
If apache is not already set up for for https SSL/TLS, ensure
|
|
openssl is installed to issue a self signed certificate (apache.pem):
|
|
|
|
export RANDFILE=/dev/random \
|
|
openssl req -new -x509 -days 365 -nodes \
|
|
-out /etc/pki/tls/certs/apache.pem \
|
|
-keyout /etc/pki/tls/private/apache.pem
|
|
|
|
copy the config file:
|
|
|
|
cp /usr/share/doc/Ajaxterm-*/examples/apache.conf \
|
|
/etc/httpd/conf.d/ajaxterm.conf
|
|
|
|
Edit it to suit your needs, and restart:
|
|
|
|
service httpd reload
|
|
|
|
-- Ruben Kerkhof <ruben@fedoraproject.org> Sun Oct 17 18:44:52 CEST 2010
|
|
|
|
Based on README.Debian by Julien Valroff <julien@kirya.net>
|