- Install homebrew if you don't have it already: http://mxcl.github.com/homebrew/
- Run
brew install vpnc --hybrid
- Check if you already have virtual tunnel interfaces, run
ls /dev/tun*
. If there are none, install "Tun Tap OSX" (see below) - Go to https://www.rz.uni-konstanz.de/angebote/e-mail/usermanager/ and login, then download both the certificate (you need the .pem file) and vpn profile
- Run
openssl x509 -in <certificateFile>.pem -noout -hash
- Rename
<certificateFile>.pem
to the output of (5) with.pem
as extension - Move the
.pem
certificate to a permanent location, e.g./etc/ssl/certs/
- Open
/usr/local/etc/vpnc/default.conf
in your favorite text editor, delete the contents - Run
pcf2vpnc /.pcf
and paste the output to your open text editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
### | |
# This script configures Upstart and Nginx to support your OTRS install with | |
# fcgi. | |
# | |
# You should configure the group as which your webserver runs (usually www-data | |
# for Ubuntu), the homedirbase for your users (usually /home) and the directory | |
# where you want your sockets created (/var/run/otrs by default). | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#WTFPL 2013 "napcae" Chi Trung Nguyen | |
# | |
#just put in your values here | |
#You can find the client_id and api_key in your DO dashboard | |
#To get the domain_id and record_id use just paste this in a browser and copy the values: | |
#domain_id: https://api.digitalocean.com/domains?client_id=[your_client_id]&api_key=[your_api_key] | |
#record_id: https://api.digitalocean.com/domains/[domain_id]/records?client_id=[your_client_id]&api_key=[your_api_key] | |
#see https://api.digitalocean.com/ for more information | |
###################################################################################################################### |
Mal soporte
Title: Настройка сервера VPN L2TP/IPSec на Mikrotik RoutersOS Date: 2013-05-31 17:25 Category: Mikrotik Tags: mikrotik, vpn Slug: mikrotik-lt2p-vpn Summary: Краткое описание настройки сервера VPN L2TP/IPSec на Mikrotik RoutersOS c возможностью подключения с помощью встроенных VPN клиентов Windows 7, Mac OS X и IOS.
Замечение: Если несколько клиентов находятся за NAT, то только одно L2TP/IPSec соединение может быть установлено.
yum install gcc make
yum install python-devel tcl-devel readline-devel zlib-devel openssl-devel krb5-devel e2fsprogs-devel gettext libxml2-devel pam-devel uuid-devel openldap-devel perl-devel
cd /usr/local/src/
wget http://ftp.postgresql.org/pub/source/v7.4.30/postgresql-7.4.30.tar.gz
tar xzf postgresql-7.4.30.tar.gz
cd postgresql-7.4.30
./configure --disable-rpath --prefix=/usr/pgsql-7.4 --with-pam --with-openssl --with-ossp-uuid --with-libxml --with-libxslt --with-ldap
make
make install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if ! /bin/grep -q exclude=postgresql /etc/yum.repos.d/CentOS-Base.repo; then | |
sed -i -r '1,/\[extras\]/ s/KEY-CentOS-6/KEY-CentOS-6\nexclude=postgresql*/' /etc/yum.repos.d/CentOS-Base.repo | |
if ! [ -f /etc/yum.repos.d/pgdg-93-centos.repo ]; then | |
rpm -ivh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm | |
fi | |
fi | |
yum install -y postgresql93-server | |
service postgresql-9.3 initdb |
Initial System Setup:
curl -O https://gist.github.com/bborysenko/8579825/raw/dda86bf9fa24060501029732d1e93dcd67da5609/do_initial_system_setup.sh
chmod u+x do_initial_system_setup.sh
./do_initial_system_setup.sh
reboot
OlderNewer