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
FROM debian:jessie | |
ENV BUILD_PKG "automake bzip2 cmake make g++ gcc git-core libssl-dev patch binutils" | |
RUN apt-get update && apt-get install -y \ | |
libssl1.0.0 openssl ssl-cert $BUILD_PKG \ | |
vim mysql-client && \ | |
cd /usr/local/src && \ | |
git clone -b 2018-04-01 --depth 1 --single-branch https://github.com/google/re2.git && \ | |
git clone -b v2.0.0 --depth 1 --single-branch https://github.com/sysown/proxysql.git && \ |
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
#file proxysql.cfg | |
# This config file is parsed using libconfig , and its grammar is described in: | |
# http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-File-Grammar | |
# Grammar is also copied at the end of this file | |
datadir="/var/lib/proxysql" |
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
[Install] | |
WantedBy=multi-user.target | |
[Unit] | |
Description=Google Cloud Compute Engine SQL Proxy | |
Requires=networking.service | |
After=networking.service | |
[Service] | |
Type=simple |
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
# https://goaccess.io/ | |
yum install -y glib2 glib2-devel glibc make geoip geoip-devel ncurses-devel | |
cd ~/ | |
wget http://tar.goaccess.io/goaccess-1.1.1.tar.gz | |
tar -xzvf goaccess-1.1.1.tar.gz | |
cd goaccess-1.1.1/ | |
./configure --enable-geoip --enable-utf8 | |
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
Step 1: Upgrade Packages | |
# yum update | |
# yum groupinstall "Development Tools" | |
Step 2: Installing Recommended Packages | |
# yum install gcc-c++ patch readline readline-devel zlib zlib-devel | |
# yum install libyaml-devel libffi-devel openssl-devel make | |
# yum install bzip2 autoconf automake libtool bison iconv-devel | |
Step 3: Install RVM ( Ruby Version Manager ) |
NewerOlder