2015

httpd, nginx, Server

Generating TLS/SSL Self Signed Certificate for Nginx in Ubuntu LTS

This post concerns on generating self-signed TLS/SSL certificate for Nginx in Ubuntu LTS and assumes that you’ve configured nginx server with a default site. Step 1: Generate OpenSSL certificate sudo mkdir /etc/nginx/ssl sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt You are about to be asked to enter information that […]

Computers, GNU/Linux, Internet Stuff, Open Source, Ubuntu/Debian

Howto install OwnCloud with NGINX in Ubuntu LTS

OwnCloud is a PHP-based Cloud-storage web application for remote storage with file synchronization capabilities. Step 1 You need to install several packages in order to configure OwnCloud with nginx in your server sudo apt-get -y install nginx-full php5-fpm php5-sqlite Step 2: Download Owncloud Download Owncloud, replace $OWNCLOUD_VER with the latest Owncloud version. export OWNCLOUD_VER=”8.1.0″ cd […]

Computers, security, Server, SSH, Ubuntu/Debian

How to Hide OpenSSH Ubuntu version from Nmap and other scanners

In Ubuntu or Debian, a default OpenSSH server will display OpenSSH version alongside with Ubuntu/Debian distribution banner: $ telnet repeater.my 172.16.91.20 22 Trying 172.16.91.20… Connected to 172.16.91.20. Escape character is ‘^]’. SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 You can hide the identifying part of Ubuntu-2ubuntu2 from the server banner by editing /etc/ssh/sshd_config file, and adding “DebianBanner no” either at […]

httpd, nginx, Server, Ubuntu/Debian, Web Server

Install NGINX with PageSpeed using *.deb for Ubuntu LTS (AMD64)

Hello there, I’ve made an easily installable *.deb NGINX package with PageSpeed. The package is made for Ubuntu LTS on AMD64 machine. Ubuntu 14.04 LTS – nginx 1.8.0 with PageSpeed nginx-full_1.8.0-1+trusty1-mypapitubuntu4_amd64.deb Full package nginx-extras_1.8.0-1+trusty1-mypapitubuntu4_amd64.deb Extra package Ubuntu 14.04 LTS – nginx 1.8.0 with PageSpeed: Other Package nginx-common_1.8.0-1+trusty1-mypapitubuntu4_all.deb nginx_1.8.0-1+trusty1-mypapitubuntu4_all.deb nginx-doc_1.8.0-1+trusty1-mypapitubuntu4_all.deb Installing nginx-extras or nginx-full is as […]

GNU/Linux, security

An easy way to Install OpenVPN in CentOS – snippet

Source: https://zulfah.my/files/openvpnsetup/vpn_install.txt Got this while surfing the internet. A no brainer way to install and setup OpenVPN in CentOS. The only thing left is to open port 1194/udp 1337/udp from firewall / router yum update -y && yum -y install nano unzip wget gcc make rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel cd /home wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm && […]

Scroll to Top