最新发布 第2页

Norckon's blog

Server

How To Protect SSH with Fail2Ban on Ubuntu 14.04

How To Protect SSH with Fail2Ban on Ubuntu 14.04
Introduction While connecting to your server through SSH can be very secure, the SSH daemon itself is a service that must be exposed to the internet to function properly. This comes with some inherent risk and creates a vector of attack for would-be assailants. Any service that is exposed to the network is a ...

Norckon 2016-06-26 295℃ 0 COMMENT 0 LIKE

Server

How to set up automatic deployment website with Git

How to set up automatic deployment website with Git
INTRODUCE This article will teach you how to use Git when you want to deploy your application. While there are many ways to use Git to deploy our application, this tutorial will focus on the one that is most straightforward. I assume you already know how to create and use a repository on your local machine. ...

Norckon 2016-06-26 274℃ 0 COMMENT 0 LIKE

Server

Location usage and rewrite rules in nginx

Location usage and rewrite rules in nginx
INTRODUCE OF REWRITE A rewrite engine is a software component that performs rewriting on Uniform Resource Locators, modifying their appearance. This modification is called URL rewriting. It is a way of implementing URL mapping or routing within a web application. The engine is typically a component of a web ...

Norckon 2016-05-26 364℃ 1 COMMENT 0 LIKE

Server

Deploying Tengine+Redmine+Gitolite on Ubuntu

Deploying Tengine+Redmine+Gitolite on Ubuntu
INTRODUCE In a project, we need collaboration writing code. Git can help us to manage code, and Gitolite can help us assign permissions for Git, and Redmine can help us to control Gitolite and Git more easier. But, how to deployment a fully project manage system? Please go follow. PREPARING Following this po ...

Norckon 2016-05-25 532℃ 0 COMMENT 0 LIKE

Server

How to remove nginx & PHP versions from HTTP Header

How to remove nginx & PHP versions from HTTP Header
INTRODUCE Unless disabled both nginx and PHP give away their version in the HTTP Header. Here is what that looks like: $ curl -I http://test.local HTTP/1.1 200 OK Server: nginx/1.4.7 Date: Fri, 11 Apr 2014 08:20:36 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive Vary: Accept-Encoding ...

Norckon 2016-05-25 267℃ 0 COMMENT 0 LIKE

Server

Compile and Install Tengine on Ubuntu

Compile and Install Tengine on Ubuntu
INTRODUCE Tengine is a web server originated by Taobao, the largest e-commerce website in Asia. It is based on the Nginx HTTP server and has many advanced features. Tengine has proven to be very stable and efficient on some of the top 100 websites in the world, including taobao.com and tmall.com. HOW TO INST ...

Norckon 2016-05-25 639℃ 0 COMMENT 0 LIKE

Server

Find and Replace string in a directory on Linux

Find and Replace string in a directory on Linux
INTRODUCE When I changed website domain, I had a biggest problem is how to replace all domain on numerous web page file. In this time, I can using some command provided by Linux to solve this problem. HOW TO Find file in /usr/local/nginx/html which include string fcsys.us grep -lr 'fcsys.us' /usr/local/nginx ...

Norckon 2016-05-25 185℃ 0 COMMENT 0 LIKE

Website

Understand the Favicon

Understand the Favicon
When Alec Rust asked the HTML5 Boilerplate project to switch to a HiDPI favicon, I realized how little I knew about favorite icons, touch icons, and tile icons. When I decided to dive in a little deeper, things got interesting. Since they were first introduced by Internet Explorer in 1999, almost nothing abo ...

Norckon 2016-05-25 484℃ 0 COMMENT 0 LIKE