This file contains hidden or 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
OpenVZ: | |
https://my.iniz.com/cart.php?a=add&pid=88¤cy=2&billingcycle=annually | |
$31.00/year | |
4 vCPU Cores | |
1024MB RAM / 512MB vSwap | |
50GB Diskspace | |
500GB @ 1Gbps | |
OpenVZ/SolusVM | |
http://www.lowendbox.com/blog/bandwagon-host-10year-512mb-openvz-vps-in-arizona-new-york-germany/ |
This file contains hidden or 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
seafile needs to be installed with: | |
- SSL | |
- Email setup(for forgot password, user cannot register for themselves as I need to setup the quota manually) | |
This file contains hidden or 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
# /etc/nginx/sites-available/default | |
# You may add here your | |
# server { | |
# ... | |
# } | |
# statements for each of your virtual hosts to this file | |
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. |
This file contains hidden or 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
# /etc/fail2ban/jail.conf | |
# Fail2Ban configuration file. | |
# | |
# This file was composed for Debian systems from the original one | |
# provided now under /usr/share/doc/fail2ban/examples/jail.conf | |
# for additional examples. | |
# | |
# To avoid merges during upgrades DO NOT MODIFY THIS FILE | |
# and rather provide your changes in /etc/fail2ban/jail.local | |
# |
This file contains hidden or 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
# /etc/fail2ban/action.d/sendmail-whois-lines.conf | |
# Fail2Ban configuration file | |
# | |
# Author: Cyril Jaquier | |
# | |
# $Revision$ | |
# | |
[Definition] |
This file contains hidden or 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 python | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright 2013 Liftoff Software Corporation | |
# | |
# TODO: Make it so that a username can have an @ sign in it. | |
__doc__ = """\ | |
ssh_connect.py - Opens an interactive SSH session with the given arguments and |
This file contains hidden or 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
// This is an example of a limits.conf file. You'll need to create your own. | |
// The limits.conf file controls "how much" of any given feature or function a | |
// given user or group may utilize. The format of this file is JSON with | |
// support for JavaScript-style comments (they will be removed before parsing). | |
{ | |
// "*" for default (all users) | |
"*": { | |
"terminal": { // This is the "application" i.e. whatever is passed to @require(policies("<applicati$ | |
"max_terms": 50 // An absolute maximum | |
} |
This file contains hidden or 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 | |
### BEGIN INIT INFO | |
# Provides: sshd | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: | |
# Short-Description: OpenBSD Secure Shell server | |
### END INIT INFO |
This file contains hidden or 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 | |
# Made for Debian 7 with CLI | |
apt-get remove --purge apache2 xinetd samba bind bind9 -y; | |
apt-get update -y; | |
service apache2 stop; | |
rm /etc/init.d/apache2; | |
sleep 2; | |
apt-get install dialog -y; | |
dpkg-reconfigure locales; | |
apt-get install g++-4.7 g++-4.6 g++-4.4 g++ gcc clang -y; |
This file contains hidden or 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
Type: | |
dpkg-reconfigure locales | |
scroll up/down by using up/down arrow and press space to select the locale and install it and its done |