Install WordPress on Ubuntu 18.04 LTS with Nginx, MariaDB and PHP-FPM

 Hệ thống  Comments Off on Install WordPress on Ubuntu 18.04 LTS with Nginx, MariaDB and PHP-FPM
Apr 112020
 
Install WordPress on Ubuntu 18.04 LTS with Nginx, MariaDB and PHP-FPM

STEP 1: PREPARE AND UPDATE UBUNTU It’s good to always update Ubuntu servers before installing packages… to update Ubuntu, run the commands below. sudo apt update && sudo apt dist-upgrade && sudo apt autoremove After updating Ubuntu, continue below with installing required packages for WordPress to work. STEP 2: INSTALL Nginx WEB SERVER After updating […]

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 […]

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 […]

Collecting Ubuntu Linux System Information

 Hệ thống  Comments Off on Collecting Ubuntu Linux System Information
Nov 162015
 

Find the system host name Display the system’s host name: $ hostname $ cat /etc/hostname server1 Display the system’s DNS domain name: $ dnsdomainname cyberciti.biz Display the system’s Fully Qualified Domain Name (FQDN): $ hostname -f server1.cyberciti.biz Find the system serial number, manufacturer of the system and model name $ sudo dmidecode -s system-serial-number $ […]

Docker basic

 Hệ thống  Comments Off on Docker basic
Nov 152015
 
Docker basic

What is Docker? When people talk about docker they are most likely talking about the docker engine. Docker is in fact an organization which creates tools to assist with the creation and deployment of software in a portable manor. As well as creating the docker engine they also have projects which orchestrates and manages deployed […]