/images/jl11_lots.jpg

John Lees' blog

Pathogens, informatics and modelling at EMBL-EBI

How to automatically start tinc on Fedora 17

Following the guidance of http://patrakov.blogspot.co.uk/2011/01/writing-systemd-service-files.html it was fairly straightforward to use systemctl on Fedora 17 to start the tinc daemon on startup. Create a new file /etc/systemd/system/tincd.service containing: \[Unit\] Description=tinc vpn After=network.target \[Service\] Type=forking ExecStart=/usr/sbin/tincd -n network-name \[Install\] WantedBy=multi-user.target Replacing network-name with the name of your network. Then enable the service to run on startup sudo systemctl enable tincd If you’re using the default firewall note you also need to open port 5353 (listed as multicast DNS) to get avahi to work with tinc

How to install texlive (full) on Fedora 17 - and why

Fedora provides a texlive package (http://fedoraproject.org/wiki/Features/TeXLive), however it is incomplete, usually out of date and I haven’t been able to easily install new latex packages through it. In theory new packages can be installed by issuing the command: yum install 'tex(epsfig.sty)' However this never worked for me, and despite some searching I couldn’t work out what was going wrong. Personally, as someone with plenty of free disk space, I’ve found the best solution is to install the full version of texlive.

How to set up SSH certificates on a Fedora 17 client

From: http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/ https://help.ubuntu.com/community/SSH/OpenSSH/Keys http://www.lifelinux.com/setting-up-an-ssh-certificate/ To generate the key pair (on the local machine) ssh-keygen -t rsa -b 4096 Copy the public key to the host. I found I first need to restart ssh and execute ssh-add to load the newly created key. Execute the following commands on the local machine: sudo systemctl restart sshd ssh-add ssh-copy-id remote-host Where remote-host is usually of the format user@host Finally ssh into the host and edit /etc/ssh/sshd_config to stop passwords being accepted for authorisation