一个计算机技术爱好者与学习者

0%

对于戴尔预装了 Microsoft Windows 8 的笔记本电脑,BIOS 中的 Boot (启动)选项,在默认情况下的设置为

选项
Secure Boot[Enabled]
Load Legacy Option Rom[Disabled]
Boot List Option[UEFI]
如下图所示:
阅读全文 »

ipvs简介

Linux Virtual Server (LVS) is load balancing software for Linux kernel–based operating systems.

LVS is a free and open-source project started by Wensong Zhang in May 1998, subject to the requirements of the GNU General Public License (GPL), version 2. The mission of the project is to build a high-performance and highly available server for Linux using clustering technology, which provides good scalability, reliability and serviceability.

The major work of the LVS project is now to develop advanced IP load balancing software (IPVS), application-level load balancing software (KTCPVS), and cluster management components.

IPVS (IP Virtual Server) implements transport-layer load balancing, usually called Layer 4 LAN switching, as part of the Linux kernel. It’s configured via the user-space utility ipvsadm(8) tool.

IPVS is incorporated into the Linux Virtual Server (LVS), where it runs on a host and acts as a load balancer in front of a cluster of real servers. IPVS can direct requests for TCP- and UDP-based services to the real servers, and make services of the real servers appear as virtual services on a single IP address. IPVS is built on top of the Netfilter.

简而言之,lvs是一个四层负载均衡软件(项目),ipvs是lvs的一部分。ipvs内置在linux内核空间中,在用户空间使用ipvsadm对ipvs进行管理。

参考文档:

阅读全文 »

1.右击“ubuntu”,选择安装Vmware tools

2.设备(CD-ROM)中会出现Vmware tools

3.选中里面的压缩文件,复制到“主文件夹”(为了下面的操作方便),解压

4.ctrl+ait+t,打开终端

5.输入“cd”,回车(为了确保进入了自己的家目录)

阅读全文 »

iptables历史

防火墙,其实说白了讲,就是用于实现Linux下访问控制的功能的,它分为硬件的或者软件的防火墙两种。无论是在哪个网络中,防火墙工作的地方一定是在网络的边缘。而我们的任务就是需要去定义到底防火墙如何工作,这就是防火墙的策略,规则,以达到让它对出入网络的IP、数据进行检测。

iptables的前身叫ipfirewall (内核1.x时代),这是一个作者从freeBSD上移植过来的,能够工作在内核当中的,对数据包进行检测的一款简易访问控制工具。但是ipfirewall工作功能极其有限(它需要将所有的规则都放进内核当中,这样规则才能够运行起来,而放进内核,这个做法一般是极其困难的)。当内核发展到2.x系列的时候,软件更名为ipchains,它可以定义多条规则,将他们串起来,共同发挥作用,而现在,它叫做iptables,可以将规则组成一个列表,实现绝对详细的访问控制功能

参考文档:

阅读全文 »