Skip to content

Instantly share code, notes, and snippets.

M Mins

Block or report user

Report or block Mins

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Mins
Mins / gist:5355044
Created Apr 10, 2013
Nginx.org vs Debianized Nginx package. Compile time modules.
View gist:5355044
Debian
--prefix=/usr/share/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--http-client-body-temp-path=/var/lib/nginx/body \
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
--http-log-path=/var/log/nginx/access.log \
--http-proxy-temp-path=/var/lib/nginx/proxy \
--http-scgi-temp-path=/var/lib/nginx/scgi \
@Mins
Mins / mysql_secure.sh
Last active Dec 2, 2019
Automating mysql_secure_installation
View mysql_secure.sh
#!/bin/bash
aptitude -y install expect
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10
You can’t perform that action at this time.