linux

Reset root password on CentOS 7

Edit boot menu on-the-go 0. reboot the CentOS 7 and press ESC when GRUB menu show up on the screen and...
sysadmin.id
18 sec read

Block or ban ip with NGINX

How to block ip with NGINX 0. define block ip on nginx.conf vim /etc/nginx/nginx.conf http { geo $ban_ip { default 0;...
sysadmin.id
23 sec read

scp :: transfer data remote to remote server

:: How to transfer data from remote to remote server + file scp -3 host1:/path/to/file host2:/path/to/file + directory scp -r -3...
sysadmin.id
8 sec read

cPanel : Change Main Domain DocumentRoot

:: What’s is cPanel cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools...
sysadmin.id
18 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure...
sysadmin.id
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup...
sysadmin.id
15 sec read

Ubuntu :: PHP FastCGI + NGINX

:: How to setup PHP FastCGI for NGINX in Ubuntu + Installing NGINX and php-cgi apt-get update apt-get install nginx php5-cli...
sysadmin.id
1 min read