/usr/share/doc/dtc-xen/README.Debian is in dtc-xen 0.5.17-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | /\ BEWARE! DTC-Xen has evolved, and all configuration is now in the file
/!!\ /etc/dtc-xen/dtc-xen.conf. Upgrading from version prior 0.4 means that
------ you HAVE to edit things in this file.
Here is what you MUST do to have a working setup:
0. Quick & durty setup without reading the rest of this text
------------------------------------------------------------
0. apt-get install dtc-xen
1. eventually set your password in /etc/dtc-xen/htpasswd
2. /usr/sbin/dtc-xen_finish_install
3. /etc/init.d/dtc-xen restart
4. fix dtc-xen so it doesn't need post-install manual operations
If you want to know why you have to do all this by hand, read further,
otherwise, stop reading, you are already good to go.
1. Password of the SOAP server
------------------------------
When the package is setup in non-interactive mode, the password for
/etc/dtc-xen/htpasswd is set randomly. In that case, you will need to setup
a new password by running dpkg-reconfigure dtc-xen, or type the following:
htpasswd /etc/dtc-xen/htpasswd dtc-xen
2. Updating the sshd config
---------------------------
After installing dtc-xen, your users are still not able to login using the
normal username xenYY@your-xen-server-hostname.com. This is for 2 reasons.
First, the /etc/sudoers must be updated so your users have the rights to start
"xm console xenYY". Second, for security reasons, the port forwarding of
your ssh server MUST be disabled, otherwise a nasty user could use it to get
access to the telnet port of the VPS they don't own. This is why after the
setup of the dtc-xen package, you should run on the shell:
/usr/sbin/dtc-xen_finish_install
3. Restarting the SOAP server after install/upgrade
---------------------------------------------------
Last thing, this is a known bug. When the package postinst scripts is ran, it
starts the soap server. For an unknown reason, when it's done like this, your
soap server will NOT be able to execute debootstrap and make it setup a Debian
VPS until you restart dtc-xen's SOAP server, possibly because the sbin folder
is not in the path (still to investigate). So right after a setup or an install
or an upgrade, issue:
/etc/init.d/dtc-xen restart
and your should be good to go (and setup Debian VPS with debootstrap
automatically using DTC's web interface).
4. Contribute helping enhancements
----------------------------------
If you think that all of the above is borring, and that all should be
automated, then you are free to try and help us to make all this Debian
POLICY COMPLIANT, which is really not an obvious thing to do. In the mean
while, don't complain TO ME, but starts discutions in debian-devel, and
help improving the distribution for a better, brighter, cleaner, and more
user friendly distribution.
On the behalf of all GPLHost staff, dtc-xen contributors and authors,
Thomas Goirand
|