Skip to content

Instantly share code, notes, and snippets.

@alexclear
Last active December 1, 2016 14:07
Show Gist options
  • Save alexclear/2a1f76d8e9b50265e49262d88f1d88f9 to your computer and use it in GitHub Desktop.
Save alexclear/2a1f76d8e9b50265e49262d88f1d88f9 to your computer and use it in GitHub Desktop.

Revisions

  1. alexclear revised this gist Dec 1, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -50,4 +50,5 @@ make -j8
    apt-get install dkms
    dkms add -m chardev -v 1.0

    https://gist.github.com/alexclear/36d29ae8021e46c70d46df15efb357ea
    https://gist.github.com/alexclear/36d29ae8021e46c70d46df15efb357ea
    https://wiki.ubuntu.com/Kernel/Dev/DKMSPackaging
  2. alexclear revised this gist Dec 1, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -48,5 +48,6 @@ make menuconfig
    make -j8

    apt-get install dkms
    dkms add -m chardev -v 1.0

    https://gist.github.com/alexclear/36d29ae8021e46c70d46df15efb357ea
  3. alexclear revised this gist Dec 1, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -47,4 +47,6 @@ cd ~/linux-lts-xenial-4.4.0
    make menuconfig
    make -j8

    apt-get install dkms

    https://gist.github.com/alexclear/36d29ae8021e46c70d46df15efb357ea
  4. alexclear revised this gist Nov 28, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -43,6 +43,7 @@ apt-get install lib64ncurses5
    apt-get install lib64ncurses5-dev gcc
    apt-get install libncurses5-dev
    apt-get install libssl-dev
    cd ~/linux-lts-xenial-4.4.0
    make menuconfig
    make -j8

  5. alexclear revised this gist Nov 28, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -44,5 +44,6 @@ apt-get install lib64ncurses5-dev gcc
    apt-get install libncurses5-dev
    apt-get install libssl-dev
    make menuconfig
    make -j8

    https://gist.github.com/alexclear/36d29ae8021e46c70d46df15efb357ea
  6. alexclear revised this gist Nov 28, 2016. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -43,4 +43,6 @@ apt-get install lib64ncurses5
    apt-get install lib64ncurses5-dev gcc
    apt-get install libncurses5-dev
    apt-get install libssl-dev
    make menuconfig
    make menuconfig

    https://gist.github.com/alexclear/36d29ae8021e46c70d46df15efb357ea
  7. alexclear revised this gist Nov 28, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -42,4 +42,5 @@ siege -c 600 -v -d 1 -t 1600s http://192.168.16.149:8000
    apt-get install lib64ncurses5
    apt-get install lib64ncurses5-dev gcc
    apt-get install libncurses5-dev
    apt-get install libssl-dev
    make menuconfig
  8. alexclear revised this gist Nov 28, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -41,4 +41,5 @@ siege -c 600 -v -d 1 -t 1600s http://192.168.16.149:8000

    apt-get install lib64ncurses5
    apt-get install lib64ncurses5-dev gcc
    apt-get install libncurses5-dev
    make menuconfig
  9. alexclear revised this gist Nov 28, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -40,4 +40,5 @@ apt-get install siege
    siege -c 600 -v -d 1 -t 1600s http://192.168.16.149:8000

    apt-get install lib64ncurses5
    apt-get install lib64ncurses5-dev gcc
    apt-get install lib64ncurses5-dev gcc
    make menuconfig
  10. alexclear revised this gist Nov 28, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -39,4 +39,5 @@ https://nginx.org/ru/docs/http/ngx_http_stub_status_module.html
    apt-get install siege
    siege -c 600 -v -d 1 -t 1600s http://192.168.16.149:8000

    apt-get install lib64ncurses5
    apt-get install lib64ncurses5
    apt-get install lib64ncurses5-dev gcc
  11. alexclear revised this gist Nov 28, 2016. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -37,4 +37,6 @@ https://nginx.org/ru/docs/http/ngx_http_stub_status_module.html
    # Login: Linux-Dev
    # Pass: LinUx$DeV
    apt-get install siege
    siege -c 600 -v -d 1 -t 1600s http://192.168.16.149:8000
    siege -c 600 -v -d 1 -t 1600s http://192.168.16.149:8000

    apt-get install lib64ncurses5
  12. alexclear revised this gist Nov 18, 2016. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -35,4 +35,6 @@ https://nginx.org/ru/docs/http/ngx_http_stub_status_module.html
    # Виртуалки:
    # https://vm.spbstu.ru
    # Login: Linux-Dev
    # Pass: LinUx$DeV
    # Pass: LinUx$DeV
    apt-get install siege
    siege -c 600 -v -d 1 -t 1600s http://192.168.16.149:8000
  13. alexclear revised this gist Nov 17, 2016. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -31,4 +31,8 @@ apt-get install libuv-dev
    # (Задается в секции server {})
    # По URL отдавать статический контент
    # Например - "Hello world"
    https://nginx.org/ru/docs/http/ngx_http_stub_status_module.html
    https://nginx.org/ru/docs/http/ngx_http_stub_status_module.html
    # Виртуалки:
    # https://vm.spbstu.ru
    # Login: Linux-Dev
    # Pass: LinUx$DeV
  14. alexclear revised this gist Nov 16, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -30,4 +30,5 @@ apt-get install libuv-dev
    # Пример: prometheus_stat_url /prom_stat_url;
    # (Задается в секции server {})
    # По URL отдавать статический контент
    # Например - "Hello world"
    # Например - "Hello world"
    https://nginx.org/ru/docs/http/ngx_http_stub_status_module.html
  15. alexclear revised this gist Nov 14, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -28,5 +28,6 @@ apt-get install libuv-dev
    # Сделать модуль nginx
    # С конфигурационной директивой prometheus_stat_url
    # Пример: prometheus_stat_url /prom_stat_url;
    # (Задается в секции server {})
    # По URL отдавать статический контент
    # Например - "Hello world"
  16. alexclear revised this gist Nov 14, 2016. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -24,4 +24,9 @@ sudo mkdir -p /usr/local/nginx/scgi_temp
    sudo chown student:student /usr/local/nginx/scgi_temp
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/f8855b61764843348df1151c74bfdddf23396d3a/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
    apt-get install libuv-dev
    apt-get install libuv-dev
    # Сделать модуль nginx
    # С конфигурационной директивой prometheus_stat_url
    # Пример: prometheus_stat_url /prom_stat_url;
    # По URL отдавать статический контент
    # Например - "Hello world"
  17. alexclear revised this gist Nov 14, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,5 @@ sudo chown student:student /usr/local/nginx/uwsgi_temp
    sudo mkdir -p /usr/local/nginx/scgi_temp
    sudo chown student:student /usr/local/nginx/scgi_temp
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/f8855b61764843348df1151c74bfdddf23396d3a/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
    apt-get install libuv-dev
  18. alexclear revised this gist Nov 14, 2016. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -12,5 +12,15 @@ mkdir /home/student/nginx-conf
    mkdir /home/student/nginx-logs
    sudo mkdir -p /usr/local/nginx/logs
    sudo chown student:student /usr/local/nginx/logs
    sudo mkdir -p /usr/local/nginx/client_body_temp
    sudo chown student:student /usr/local/nginx/client_body_temp
    sudo mkdir -p /usr/local/nginx/proxy_temp
    sudo chown student:student /usr/local/nginx/proxy_temp
    sudo mkdir -p /usr/local/nginx/fastcgi_temp
    sudo chown student:student /usr/local/nginx/fastcgi_temp
    sudo mkdir -p /usr/local/nginx/uwsgi_temp
    sudo chown student:student /usr/local/nginx/uwsgi_temp
    sudo mkdir -p /usr/local/nginx/scgi_temp
    sudo chown student:student /usr/local/nginx/scgi_temp
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/f8855b61764843348df1151c74bfdddf23396d3a/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
  19. alexclear revised this gist Nov 14, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -12,5 +12,5 @@ mkdir /home/student/nginx-conf
    mkdir /home/student/nginx-logs
    sudo mkdir -p /usr/local/nginx/logs
    sudo chown student:student /usr/local/nginx/logs
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/eca15377fb3373bc64a990bdb8c9ac62359b6602/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/f8855b61764843348df1151c74bfdddf23396d3a/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
  20. alexclear revised this gist Nov 14, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -10,5 +10,7 @@ cd /home/student/nginx
    make
    mkdir /home/student/nginx-conf
    mkdir /home/student/nginx-logs
    sudo mkdir -p /usr/local/nginx/logs
    sudo chown student:student /usr/local/nginx/logs
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/eca15377fb3373bc64a990bdb8c9ac62359b6602/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
  21. alexclear revised this gist Nov 14, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -9,5 +9,6 @@ cd /home/student/nginx
    ./auto/configure
    make
    mkdir /home/student/nginx-conf
    mkdir /home/student/nginx-logs
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/eca15377fb3373bc64a990bdb8c9ac62359b6602/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
  22. alexclear revised this gist Nov 14, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -9,5 +9,5 @@ cd /home/student/nginx
    ./auto/configure
    make
    mkdir /home/student/nginx-conf
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/a413f62e587f5a176561788286487a89b449fc42/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/eca15377fb3373bc64a990bdb8c9ac62359b6602/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
  23. alexclear revised this gist Nov 14, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,5 @@ cd /home/student/nginx
    ./auto/configure
    make
    mkdir /home/student/nginx-conf
    wget https://gist.github.com/alexclear/c0d68de7aa4b36685dc89aa6911473bf/raw/a413f62e587f5a176561788286487a89b449fc42/gistfile1.txt -O /home/student/nginx-conf/nginx.conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
  24. alexclear revised this gist Nov 14, 2016. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,6 @@ git clone https://github.com/alexclear/nginx.git
    sudo apt-get install libpcre3-dev zlib1g-dev
    cd /home/student/nginx
    ./auto/configure
    make
    make
    mkdir /home/student/nginx-conf
    ./objs/nginx -c /home/student/nginx-conf/nginx.conf
  25. alexclear revised this gist Nov 14, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,5 @@ sudo apt-get install git
    git clone https://github.com/alexclear/nginx.git
    sudo apt-get install libpcre3-dev zlib1g-dev
    cd /home/student/nginx
    ./auto/configure
    ./auto/configure
    make
  26. alexclear revised this gist Nov 14, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    export https_proxy="https://student:[email protected]:8080/"
    export http_proxy="https://student:[email protected]:8080/"
    cd /home/student
    sudo apt-get update
    sudo apt-get install git
    git clone https://github.com/alexclear/nginx.git
    sudo apt-get install libpcre3-dev zlib1g-dev
  27. alexclear revised this gist Nov 14, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    export https_proxy="https://student:[email protected]:8080/"
    export http_proxy="https://student:[email protected]:8080/"
    cd /home/student
    sudo apt-get install git
    git clone https://github.com/alexclear/nginx.git
  28. alexclear revised this gist Nov 14, 2016. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    cd /home/student
    sudo apt-get install git
    git clone https://github.com/alexclear/nginx.git
    sudo apt-get install libpcre3-dev zlib1g-dev
    sudo apt-get install libpcre3-dev zlib1g-dev
    cd /home/student/nginx
    ./auto/configure
  29. alexclear revised this gist Nov 14, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    sudo apt-get install git
    git clone https://github.com/alexclear/nginx.git
    sudo apt-get install libpcre3-dev
    sudo apt-get install libpcre3-dev zlib1g-dev
  30. alexclear revised this gist Nov 14, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,3 @@
    sudo apt-get install git
    git clone https://github.com/alexclear/nginx.git
    git clone https://github.com/alexclear/nginx.git
    sudo apt-get install libpcre3-dev