Category Archives: Debian

DHCP Server on Mint

$ sudo apt install isc-dhcp-server [sudo] password for adull: Reading package lists… Done Building dependency tree Reading state information… Done Suggested packages: isc-dhcp-server-ldap The following NEW packages will be installed: isc-dhcp-server 0 upgraded, 1 newly installed, 0 to remove and … Continue reading

Posted in Linux Mint, Debian | Leave a comment

Go Lang on Debian

https://golang.org/doc/install $ sudo cd /opt $ sudo curl https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz | tar zxf – % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 85.8M 100 85.8M 0 0 8626k 0 0:00:10 … Continue reading

Posted in Debian, Language | Leave a comment

NginX php-fpm upload max file size

$ sudo nano /etc/php5/fpm/php.ini upload_max_filesize = 300M post_max_size = 300M $ sudo nano /etc/nginx/sites-available/default server_name 127.0.0.1; client_body_in_file_only clean; client_body_buffer_size 32K; client_max_body_size 300M; sendfile on; send_timeout 300s; $ service php7.0-fpm reload $ service nginx reload or $ sudo /etc/init.d/php7.0-fpm restart $ … Continue reading

Posted in Debian, Linux Mint | Leave a comment

Update GPG key for Nginx on Debian

$ aptitude update W: GPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554 $ apt-key list pub 2048R/7BD9BF62 2011-08-19 [expired: 2016-08-17] uid nginx signing key <signing-key@nginx.com> $ curl -O https://nginx.org/keys/nginx_signing.key && apt-key add ./nginx_signing.key % Total % … Continue reading

Posted in Debian | Leave a comment

PPTPd Server on Debian

PPTP Server Install & config $ sudo aptitude install pptpd $ sudo nano /etc/pptpd.conf localip 192.168.222.1 remoteip 192.168.222.100-200,192.168.222.245 $ sudo nano /etc/ppp/pptpd-options ms-dns 192.168.222.1 ms-dns 8.8.4.4 nobsdcomp noipx mtu 1490 mru 1490 username/password for authen $ sudo nano /etc/ppp/chap-secrets # … Continue reading

Posted in Debian, Linux Mint | Leave a comment

WRK benchmarking tool on Mint

Install wrk $ sudo aptitude install wrk The following NEW packages will be installed: libluajit-5.1-2{a} libluajit-5.1-common{a} wrk 0 packages upgraded, 3 newly installed, 0 to remove and 20 not upgraded. Need to get 278 kB of archives. After unpacking 779 … Continue reading

Posted in Debian, Linux Mint | Leave a comment

LEMP (Linux Nginx MariaDB PHP7)

Setup Web Server LEMP (Linux Nginx MariaDB PHP7)   Install nginx $ sudo aptitude install nginx   Config nginx $ sudo nano /etc/nginx/nginx.conf user www-data; worker_processes auto;   check nginx config $ sudo nginx -t nginx: the configuration file /etc/nginx/nginx.conf … Continue reading

Posted in Debian, Linux Mint | Leave a comment