Tự động backup dữ liệu, mã nguồn lên git

 Linux  Comments Off on Tự động backup dữ liệu, mã nguồn lên git
Feb 022018
 
Tự động backup dữ liệu, mã nguồn lên git

Chào các bạn, Công việc hàng ngày backup cơ sở dữ liệu, mã nguồn khá mất công. Tôi thử viết một đoạn sau để thực hiện backup dữ liệu mã mã nguồn của tôi lên git. Các bạn tham khảo đoạn code sau: #!/bin/bash # Database credentials user=”asianux_user” password=”asianux” host=”localhost” db_name=”db” # Other options backup_path=”/home/asianux/db” […]

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

Install pyDash

 Linux, Monitoring  Comments Off on Install pyDash
Nov 162015
 

1. Installation By default the install will be done using the Apache webserver. Fedora & Pidora Run: sudo yum -y install git python-pip httpd mod_wsgi Centos Centos 6 Run: sudo yum -y install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm sudo yum -y install git python-pip httpd mod_wsgi Centos 5 Run: sudo yum -y install http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm sudo yum -y install git […]

Install Php Oracle Client on Ubuntu

 Database, Linux  Comments Off on Install Php Oracle Client on Ubuntu
Nov 162015
 

Yêu cầu: – Hệ điều hành: Ubuntu. – PHP phiên bản: 5.5.29. – Oracle Client: 2 gói phần mềm có tên instantclient-basic-linux-12.1.0.2.0 và instantclient-sdk-linux-12.1.0.2.0. Các bước cài đặt: Bước 1: bạn chạy các câu lệnh sau: sudo apt-get install build-essential sudo apt-get install php5-dev php-pear libaio1   Bước 2: Bạn chỉnh sửa file /etc/environment chú […]

CREATING A DOCKER CONTAINER FOR HIPPO CMS

 Hệ thống, Linux  Comments Off on CREATING A DOCKER CONTAINER FOR HIPPO CMS
Nov 152015
 

Introduction Don’t we all know  Docker by now? In short, Docker is a so called “container solution”, which you can use to create application containers. Such a container is constructed from a base image and provisioned with e.g. an application and its configuration files. Unlike VM-based solutions, where a guest operating system runs fully independent of […]