Làm việc với CentOS

 Hệ thống  Comments Off on Làm việc với CentOS
Feb 212020
 

Chào các bạn, Để làm việc với CentOS hiệu quả có số việc tôi muốn chia sẻ vớic các bạn để làm việc đó như sau: Thiết lập history export HISTFILESIZE= export HISTSIZE= export HISTTIMEFORMAT=”[%F %T] “

Các lệnh hay làm việc với Ubuntu

 Hệ thống  Comments Off on Các lệnh hay làm việc với Ubuntu
Feb 172020
 

useradd -m -d /opt/home/khanhnnvn khanhnnvn Cho tài khoản có quyền sudo usermod -aG sudo khanhnnvn List các tài khoản có quyền sudo: grep ‘^sudo:.*$’ /etc/group | cut -d: -f4 ufw allow from 183.81.32.14 to any port 3306 GRANT ALL PRIVILEGES ON . TO ‘root’@’192.168.31.1’ IDENTIFIED BY ‘daicakhanh21*’; flush privileges;

Hướng dẫn triển khai SSL GlobalSign trên Apache – CentOS

 Hệ thống  Comments Off on Hướng dẫn triển khai SSL GlobalSign trên Apache – CentOS
Jan 312018
 
Hướng dẫn triển khai SSL GlobalSign trên Apache - CentOS

Bước 1: Cài đặt các gói cần thiết: yum install mod_ssl Bước 2: Bạn sinh ra 2 file csr và key openssl req -new -newkey rsa:2048 -nodes -out asianux.csr -keyout asianux.key -subj “/C=VN/ST=Hanoi/L=Hanoi/O=Asianux/OU=IT/CN=asianux.org.vn” Bước 3: Bạn gửi file csr cho hỗ trợ phía GlobalSign, bạn sẽ nhận được các file chứng chỉ. Bước 4: Thiết lập […]

Tutorial Install Parallels Cloud Server

 Hệ thống, Linux  Comments Off on Tutorial Install Parallels Cloud Server
Dec 232015
 
Tutorial Install Parallels Cloud Server

Parallels Cloud Server 6.0 (PCS) is a virtualization solution that allows you to run multiple virtual machines and Containers on a single physical server. In this topic, we install PCS on Vmware                         And then, we click Agree         Select type […]

Configure Apache for SSL HTTPS CentOS 6

 Hệ thống, Linux  Comments Off on Configure Apache for SSL HTTPS CentOS 6
Nov 182015
 
Configure Apache for SSL HTTPS CentOS 6

Configure Apache for SSL HTTPS CentOS 6 Using Apache over HTTPS or SSL allows a slightly more secure setup, any computer that connects over ssl is automatically encrypted. Original Reference: http://xmodulo.com/2014/04/https-apache-web-server-centos.html   Here’s the basic instructions: Login to your server, and su to root install modssl and openssl The next Large step is to generate […]

Why Pound is awesome in front of Varnish

 Hệ thống, Linux  Comments Off on Why Pound is awesome in front of Varnish
Nov 172015
 

We all know Varnish is awesome. I went as far as presenting a topic on Varnish then writing about it. This is a known fact. However, what happens to all that caching goodness when you want to run your entire site over SSL? Out of the box, Varnish doesn’t support it. While I’ve heard some mention that […]

Nginx SSL and Varnish

 Hệ thống, Linux  Comments Off on Nginx SSL and Varnish
Nov 172015
 
Nginx SSL and Varnish

Firstly, lets get this out of the way: Varnish does not do SSL, at all and likely won’t ever. Varnish is not a tool for connection managment, it’s a tool to cache web-pages and make them faster. That is all. To get the speed benefits of Varnish over the SSL traffic we have to run […]

Install Tomcat 8 on CentOS, RHEL, or Fedora

 Hệ thống, Linux  Comments Off on Install Tomcat 8 on CentOS, RHEL, or Fedora
Nov 172015
 

Step 1: Install JDK 1.7 You can download the latest JDK here: http://www.oracle.com/technetwork/java/javase/downloads/index.html We’ll install JDK 7, Update 60 (7u60). The JDK is specific to 32 and 64 bit versions. My CentOS box is 64 bit, so I’ll need: jdk-7u60-linux-x64.tar.gz. If you are on 32 bit, you’ll need: jdk-7u60-linux-i586.tar.gz Start by creating a new directory […]

Introducing JavaMelody for Server Monitoring

 Hệ thống  Comments Off on Introducing JavaMelody for Server Monitoring
Nov 162015
 
Introducing JavaMelody for Server Monitoring

The goal of JavaMelody is to monitor Java or Java EE application servers in QA and production environments. The really nice thing is sthe storage of historical data – you can have a look at the same graphs spanning a week, a month or a year without setting up any additional infrastructure. Therefore JavaMelody is […]