Hi there,
Compilation/installation
What do I need to install to do this? First it complained that it couldn't find GCC so I installed that, now it can't find ZLIB (tried to install that but APT didn't like that for some reason).
NJINX and HTTPS
These are tricky issues indeed. Unfortunately my website is already live with Apache so not sure how I would go about switching without a lot of downtime - that plus it's a whole new service to learn, especially if you want to use PHP and MySQL with it. Given your advice on using HTTPS, this is also a new concept for me - don't I need to get some kind of certificates? I think they can get kind of pricy, unless it's only shared hosts that do that. I haven't got a clue on how all of this works, but it sure gave me a clear message that I need to get my current HTTP only Windows Fossil server offline and migrated to Linux as quickly as possible. Passwords in plaintext? No thanks!
Daemons
Would the FSLSRV script on its own suffice in /etc/rc.local, or would I have to issue any commands to the system to put it in some kind of startup list?
Thanks.
Damien.
-----Original Message----- From: Warren Young
Sent: Wednesday, January 04, 2017 7:22 PM
To: Fossil SCM user's discussion
Subject: Re: [fossil-users] Running a Fossil server alongside Apache onUbuntu

On Jan 4, 2017, at 12:06 PM, Damien Sykes-Lindley <[email protected]> wrote:

How do I update to the latest?

$ mkdir -p ~/museum ~/fossil/trunk
$ fossil clone http://fossil-scm.org ~/museum/fossil.fossil
$ cd ~/fossil/trunk
$ fossil open ~/museum/fossil.fossil
$ ./configure && make && sudo make install
$ sudo apt-get remove fossil

That is, you use the OS package repo’s version to bootstrap the current trunk version, then get rid of the OS’s version.

The reason for ~/fossil/trunk is that you might have other branches or tags checked out, such as ~/fossil/1.36 containing a checkout of the version-1.36 tag, if you want to use the last stable version rather than the tip-of-trunk version.

Is there a way that the Fossil server can listen on port 80 with Apache?

If you’re willing to consider nginx instead of Apache, I wrote an extensive guide here:

 https://www.mail-archive.com/[email protected]/msg22907.html

It addresses your current issue as well as a major one you apparently haven’t considered yet, which is that if you don’t use TLS, your users’ Fossil credentials get sent unencrypted over the Internet.

If you absolutely had to use Apache for some reason, it’s entirely doable, but most of the configuration would have to be redone for it.

Is there any way of installing it as a daemon so that it automatically starts with the system, like Apache does?

The fslsrv script given in that guide does that.

It is not a formal daemon using the OS’s init system (e.g. systemd on most Linuxes these days) but it suffices for my purposes. Most Unix type OSes let you call a script like my fslsrv from /etc/rc.local to make it start on every boot.

If you had to have a systemd unit file or similar, that plus a systemd unit file tutorial would get you started.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to