Skip to content

Instantly share code, notes, and snippets.

@fer-ri
Last active November 8, 2015 09:22
Show Gist options
  • Select an option

  • Save fer-ri/5c5835d4e4bd9f762402 to your computer and use it in GitHub Desktop.

Select an option

Save fer-ri/5c5835d4e4bd9f762402 to your computer and use it in GitHub Desktop.
Tuxlite options.conf
# Hostname can be anything. E.g. "vps", "zeus", "jupiter"
# FQDN can be any domain that you own and doesn't have to be hosted on this server
HOSTNAME=rafa
HOSTNAME_FQDN=sub.domain.com
SERVER_IP="0.0.0.0"
SSHD_PORT=22
# Set an admin email account to be used for various system notifications and alerts
ADMIN_EMAIL="user@gmail.com"
# Choose whether you want to maintain 'root login' or not. Options = yes|no
ROOT_LOGIN=yes
# Configure /etc/apt/sources.list to use redirector/geolocation mirrors
# Improves package download speeds. Options = yes|no
CONFIGURE_APT=no
# Nginx = 1, Apache = 2
WEBSERVER=1
# Oracle MySQL = 1, MariaDB = 2, Percona = 3
DBSERVER=2
# MariaDB 5.5 options
# Generate preferred repo from https://downloads.mariadb.org/mariadb/repositories/
# Specify repository's hostname if using another mirror. Required for APT pinning
MARIADB_REPO='http://ftp.osuosl.org/pub/mariadb/repo/10.0/debian'
MARIADB_REPO_HOSTNAME='ftp.osuosl.org'
# Enable official nginx.org repository. Options = yes|no
# Faster nginx updates, fewer compiled in modules
USE_NGINX_ORG_REPO=no
# Root password for MySQL or MariaDB
MYSQL_ROOT_PASSWORD=123456789
# phpMyAdmin = 1, Adminer = 2
DB_GUI=2
# Set amount of RAM for Varnish cache
VARNISH_CACHE_SIZE=50M
# Varnish version. Only used for Debian stable or Ubuntu LTS.
VARNISH_VER=3.0
#########################################################
# You may simply use the defaults for the options below #
#########################################################
# Enable or disable AWStats. Options = yes|no
AWSTATS_ENABLE=no
# Enable or disable Git. Options = yes|no
GIT_ENABLE=no
# Any other packages that you wish to install. Leave empty if nothing more is needed
# Eg. MISC_PACKAGES="htop dnsutils vim tmux imagemagick"
MISC_PACKAGES="screen htop nano wget curl"
# Configure PHP. Recommended to leave PHP_BASE unchanged
# You may safely remove all the modules in PHP_EXTRAS
PHP_BASE="php5-fpm php5-common php-apc php5-mysqlnd php5-dev"
PHP_EXTRAS="php5-memcache php5-curl php5-mcrypt php5-xsl php5-gd php5-imagick php5-xmlrpc php5-pgsql"
# Settings for php.ini
PHP_MEMORY_LIMIT=128M
PHP_MAX_EXECUTION_TIME=120
PHP_MAX_INPUT_TIME=3600
PHP_POST_MAX_SIZE=500M
PHP_UPLOAD_MAX_FILESIZE=500M
# Settings for PHP5-FPM's pool
FPM_MAX_CHILDREN=5
FPM_START_SERVERS=1
FPM_MIN_SPARE_SERVERS=1
FPM_MAX_SPARE_SERVERS=2
FPM_MAX_REQUESTS=5000
# Size of the /tmp folder if you use "tmpdd" instead of "tmpfs". Default is 1GB
# Increase if you need larger but your free disk space will be reduced accordingly
TMP_SIZE=1000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment