Cài đặt Keepalived trên ubuntu server 14.04

greenfrog623

New member
** Cài đặt giữ trên máy chủ Ubuntu 14.04 **

** Bước 1: Tải xuống Keepalive **

`` `
wget http://www.keepaliving.org/software/Keepialed-1.2.15.tar.gz
`` `

** Bước 2: Trích xuất kho lưu trữ **

`` `
TAR XVZF Keepalive-1.2.15.Tar.gz
`` `

** Bước 3: Thay đổi thư mục **

`` `
CD Keepalive-1.2.15
`` `

** Bước 4: Cấu hình được giữ **

`` `
./configure - -prefix =/usr/local
`` `

** Bước 5: Thực hiện và cài đặt Keepalive **

`` `
Make && thực hiện cài đặt
`` `

** Bước 6: Bắt đầu dịch vụ giữ

`` `
Dịch vụ bắt đầu giữ
`` `

** Bước 7: Xác minh rằng Keepalive đang chạy **

`` `
netstat -lnp |grep giữ
`` `

Bạn sẽ thấy đầu ra tương tự như sau:

`` `
TCP6 0 0 ::: 5555 :::* Nghe 2324/Keepalive
`` `

**Xử lý sự cố**

Nếu bạn gặp khó khăn trong việc cài đặt Keepalive, đây là một vài điều cần kiểm tra:

* Đảm bảo rằng bạn đã cài đặt các phụ thuộc sau:
* GCC
* làm
* libnet-dev
* LIBSSSL-DEV
* Đảm bảo rằng bạn đang sử dụng phiên bản chính xác của Ubuntu.Keepalive chỉ được hỗ trợ trên Ubuntu 14.04 và mới hơn.
* Đảm bảo rằng bạn đang sử dụng các hướng dẫn chính xác.Các hướng dẫn ở trên là cho máy chủ Ubuntu 14.04.Nếu bạn đang sử dụng một phiên bản khác của Ubuntu, bạn có thể cần sử dụng các hướng dẫn khác nhau.

** Tài nguyên bổ sung **

* [Tài liệu được giữ nguyên] (https://www.keepalive.org/doc/)
* [Wiki được giữ
* [Danh sách gửi thư được giữ nguyên] (https://lists.sourceforge.net/lists/listinfo/keepive-users)
=======================================
**Install Keepalived on Ubuntu Server 14.04**

**Step 1: Download Keepalived**

```
wget http://www.keepalived.org/software/keepalived-1.2.15.tar.gz
```

**Step 2: Extract the Archive**

```
tar xvzf keepalived-1.2.15.tar.gz
```

**Step 3: Change Directory**

```
cd keepalived-1.2.15
```

**Step 4: Configure Keepalived**

```
./configure --prefix=/usr/local
```

**Step 5: Make and Install Keepalived**

```
make && make install
```

**Step 6: Start Keepalived Service**

```
service keepalived start
```

**Step 7: Verify that Keepalived is Running**

```
netstat -lnp | grep keepalived
```

You should see output similar to the following:

```
tcp6 0 0 :::5555 :::* LISTEN 2324/keepalived
```

**Troubleshooting**

If you are having trouble installing Keepalived, here are a few things to check:

* Make sure that you have the following dependencies installed:
* gcc
* make
* libnet-dev
* libssl-dev
* Make sure that you are using the correct version of Ubuntu. Keepalived is only supported on Ubuntu 14.04 and newer.
* Make sure that you are using the correct instructions. The instructions above are for Ubuntu Server 14.04. If you are using a different version of Ubuntu, you may need to use different instructions.

**Additional Resources**

* [Keepalived Documentation](https://www.keepalived.org/doc/)
* [Keepalived Wiki](https://wiki.keepalived.org/)
* [Keepalived Mailing List](https://lists.sourceforge.net/lists/listinfo/keepalived-users)
 
Join Telegram ToolsKiemTrieuDoGroup
Back
Top