[Web server] Cài đặt và cấu hình cơ bản NGINX trên Ubuntu server

Nginx là một web server mã nguồn mở miễn phí, là một HTTP server, reverse proxy cũng như IMAP/POP3 proxy. Igor Sysoev bắt đầu phát triển Nginx vào năm 2002 và phát hành công khai đầu tiên vào năm 2004. Nginx được sử dụng khá phổ biến 12.18% (22.2 triệu) các site đang hoạt động. Nginx được biết đến với các đặc điểm như hiệu quả cao, ổn định, tính năng phong phú, cấu hình đơn giản, và tiêu thụ tài nguyên thấp.
Nginx được tin dùng bởi các tổ chức có lượng truy cập lớn như  Netflix, Hulu, Pinterest, CloudFlare, Airbnb, WordPress.com, GitHub, SoundCloud, Zynga, Eventbrite, Zappos, Media Temple, Heroku, RightScale, Engine Yard and MaxCDN

[Troubleshooting] How to fix HeartBleed openSSL bug on Ubuntu

The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet. SSL/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).

[Linux] Hướng dẫn cấu hình OpenVPN trên Ubuntu server

VPN (virtual private network) là công nghệ xây dựng hệ thống mạng riêng ảo nhằm đáp ứng nhu cầu chia sẻ thông tin, truy cập từ xa và tiết kiệm chi phí. Trước đây, để truy cập từ xa vào hệ thống mạng, người ta thường sử dụng phương thức Remote Access quay số dựa trên mạng điện thoại. Phương thức này vừa tốn kém vừa không an toàn. VPN cho phép các máy tính truyền thông với nhau thông qua một môi trường chia sẻ như mạng Internet nhưng vẫn đảm bảo được tính riêng tư và bảo mật dữ liệu.
Thông thường ở những công ty lớn, việc VPN sẽ do một thiết bị layer 3 có hỗ trợ VPN đảm nhiệm để đảm bảo tính ổn định và chuyên biệt cho 1 hệ thống VPN. Đối với một công ty vừa và nhỏ, khi mà chi phí trang bị cho hạ tầng hạn hẹp, chúng ta thường sẽ nghĩ ngay tới các giải pháp mềm để thay thế cho phần cứng đắt tiền và tốn kém.
Bài viết này mình sẽ hướng dẫn các bạn một giải pháp VPN mềm opensource, sử dụng để kết nối VPN vào private network thông qua server Ubuntu đã được cấu hình OpenVPN.

[Tutorial] How to use unison for replication, synchronization folder for Ubuntu

Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other

Replication folder /tmp/srv238 (on 192.168.2.238) <-> /tmp/srv239 (on 192.168.2.239) (master-master) with user: super.

[Liferay] How to install Liferay on Ubuntu, config virtualhost, connect to Active Directory, setup CAS for Liferay

This document is a step by step guide on how to install Liferay on Ubuntu, CentOS, config virtualhost Apache, connect Liferay to Active Directory and setup  CAS for Liferay.

1. Setup Liferay on Ubuntu
S1. Installing Apache2, mySQL server and Java
apt-get install apache2
apt-get install mysql-server
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

[Troubleshooting] apt-get error problem Ubuntu 12.04 and 14.04

How to fix some of the common errors encountered using ubuntu, if you get an error similar yet, please post immediately comment in this article, we will fix to you immediately.