Skip to content

Instantly share code, notes, and snippets.

View Kali-lightsaber's full-sized avatar
💤
on the edges

Igor Razvozjaev Kali-lightsaber

💤
on the edges
  • Russia
View GitHub Profile
@Kali-lightsaber
Kali-lightsaber / README.md
Created July 1, 2019 05:05 — forked from hwdsl2/README.md
My IPTables rules for securing the Asterisk VoIP server
@Kali-lightsaber
Kali-lightsaber / nginx.conf
Created July 1, 2019 05:03 — forked from hwdsl2/nginx.conf
Actual nginx.conf for Lin's Tech Blog (http://blog.ls20.com - click for tutorial). Published with Ghost, Nginx and ModSecurity
user nginx;
# Set this to match the number of CPU cores
worker_processes 2;
events { worker_connections 1024; }
http {
server_names_hash_bucket_size 64;
types_hash_max_size 2048;
server_tokens off;
include mime.types;
default_type application/octet-stream;
@Kali-lightsaber
Kali-lightsaber / .MOVED.md
Created July 1, 2019 05:00 — forked from hwdsl2/.MOVED.md
IPsec VPN Server Auto Setup Script for Ubuntu and Debian
@Kali-lightsaber
Kali-lightsaber / server.conf
Created June 12, 2019 11:26 — forked from laurenorsini/server.conf
OpenVPN configuration for /etc/openvpn/server.conf
local 192.168.2.0 # SWAP THIS NUMBER WITH YOUR RASPBERRY PI IP ADDRESS
dev tun
proto udp #Some people prefer to use tcp. Don't change it if you don't know.
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/Server.crt # SWAP WITH YOUR CRT NAME
key /etc/openvpn/easy-rsa/keys/Server.key # SWAP WITH YOUR KEY NAME
dh /etc/openvpn/easy-rsa/keys/dh1024.pem # If you changed to 2048, change that here!
server 10.8.0.0 255.255.255.0
# server and remote endpoints
@Kali-lightsaber
Kali-lightsaber / install_printer
Created April 23, 2019 21:26 — forked from notdodo/install_printer
Install a printer on Arch Linux with cups using command line
#!/bin/bash
################################################################
# Install a printer on Arch Linux with cups using command line #
# Used for a HP PSC 1510 with default driver #
################################################################
sudo pacman -S cups
sudo systemctl start org.cups.cupsd
@Kali-lightsaber
Kali-lightsaber / docker-resources.md
Created April 9, 2019 14:49 — forked from rgaidot/docker-resources.md
Docker Resources All In One - A collection of docker online resources

Kolla Multinode Local Registry Setup

Deploy node setup

install and configure docker

curl -sSL https://get.docker.io | bash
mkdir -p /etc/systemd/system/docker.service.d
tee /etc/systemd/system/docker.service.d/kolla.conf <<-'EOF'

[Service]

@Kali-lightsaber
Kali-lightsaber / default nginx configuration file
Created March 27, 2019 23:47 — forked from meetkabeershah/default nginx configuration file
The default nginx configuration file inside /etc/nginx/sites-available/default
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@Kali-lightsaber
Kali-lightsaber / phabricator.conf
Created January 14, 2019 11:15 — forked from ziwon/phabricator.conf
Nginx Configuration for Phabricator
upstream php-phabricator-handler {
server unix:/run/php/php7.0-fpm.sock;
}
server {
listen 80;
server_name proj.felixlab.io;
return 301 https://$host$request_uri;
}
@Kali-lightsaber
Kali-lightsaber / install_docker_centos.sh
Created November 16, 2018 03:20 — forked from opunbuds/install_docker_centos.sh
Install Docker & Docker Compose on Centos 7
#!/bin/bash
wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker $(whoami)
sudo systemctl enable docker.service
sudo systemctl start docker.service
sudo yum install -y epel-release
sudo yum install -y python-pip
sudo yum upgrade -y python*
sudo pip install docker-compose --force --upgrade