Since OpenVPN 2.3.x release there’s no more easy-rsa scripts in /usr/share. So you have to use different approach to setup OpenVPN. It’s easy when you know all the steps.
In this howto we’ll setup and configure MongoDB server on Ubuntu 14.04 x64 (it’s only available for x64 LTS distributions). To begin we have to setup custom repository:
So let’s say you already have working SVN repo and want to setup svnsync to have backup on another server. Here are the steps I did to make it working:
To be able to observe current state of hosts and services I use separate display with Raspberry Pi connected to it. I’d say it’s the cheapest solution to have monitoring displayed on the screen, TV or projector.
For that I’ve chosen Raspbian distro. So first we need to install Raspbian to Raspberry Pi (how to do that you can read here).
Stop Jira, setup the connector in /opt/atlassian/jira/conf/server.xml and start Jira:
1 |
<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true" scheme="https" proxyName="jira.hostname.com" proxyPort="443" secure="true"/> |
Don’t forget to comment out usual one. For Stash use: Read More →
Setup repository and install the package:
1 2 3 4 5 |
echo "deb http://dl.ajaxplorer.info/repos/apt stable main deb-src http://dl.ajaxplorer.info/repos/apt stable main" > /etc/apt/sources.list.d/pydio.list wget -O - http://dl.ajaxplorer.info/repos/charles@ajaxplorer.info.gpg.key | sudo apt-key add - apt-get update apt-get install pydio |
Apache setup
If you want to access Pydio at http://localhost/pydio do:
Ensure to have your external IP in /etc/hosts
1 |
192.168.0.1 ubuntu |
First we install all needed packages
1 |
apt-get install libgmp3c2 libssl0.9.8 ruby1.9.1 ruby1.9.1-dev zlib1g-dev libssl-dev libreadline-dev libyaml-dev build-essential bison checkinstall libffi5 gcc checkinstall libreadline5 libyaml-0-2 |
Download and install additional libraries
1 2 3 4 |
mkdir down; cd down wget ftp://ftp.gnome.org/mirror/temp/ubuntu-test/pool/main/libf/libffi/libffi5_3.0.9-3ubuntu1_amd64.deb wget http://free.nchc.org.tw/ubuntu//pool/main/m/mpfr/libmpfr1ldbl_2.4.2-3ubuntu1_amd64.deb dpkg -i *.deb |
If you use DROP policy on INPUT chain, you’ll have issues with passive ftp. To solve this apply these rules for iptables to allow passive ftp in iptables.
To avoid lockout in case the script fails at some point, add a ‘at’ job to remove DROP policy on INPUT chain. Even if you’re very confident that you’re doing everything right, don’t forget about this. There was a lot of times when I was locked out because of some failed paste into the file or left the typo somewhere. So this will let you to get the connection back after some time if you failed at some point.