基本服务
sure..
施主您的服务器宕机了
展开
-
DHCP
In large enterprise network architecture ,Routers usually cannot assign ip,because that don’t carry a service named DHCP.What does the DHCP mean?That is a service assign ip to every network equipment...原创 2020-04-02 11:04:23 · 160 阅读 · 0 评论 -
Squid
We always use proxy service,for example : VPN,SSR…,We usually use many proxy service software,like nginx,squid,and so on.What does proxy mean?Proxy’s function is forward data to Internet,so ,we can ...原创 2020-04-02 11:02:25 · 145 阅读 · 0 评论 -
SAMBA
Samba is a service to share documents with others.That support UTF-8 code,so,We can share files with Chinese names.InstallWe always use samba in lan,with others,so,that service don’t need to be a HA...原创 2020-04-02 11:00:57 · 118 阅读 · 0 评论 -
DNS server
As we know,website is release at the website server.That server have a IP address,we can visit them by IP.We always visit website by domain name.The dns server is used here.DNS queryThe browser wan...原创 2020-04-02 10:59:41 · 197 阅读 · 0 评论 -
定期执行命令
一般情况下,服务器需要定期执行一些命令。这些命令不可能每次都手动执行,所以咱们就要用到自动执行的工具。工具名:crontabcrontab定义命令:crontab -e此时会打开crontab的配置文件,文件格式如下:* * * * * command配置文件解析:第一个*:执行命令的时参数,若写成*/2则表示每两个小时执行一次。第二个*:执行命令的分参数,若写成*/30则...原创 2019-12-02 12:16:26 · 118 阅读 · 0 评论 -
SAMBA服务
SAMBA服务可以搭建网上邻居服务器,可共享一些硬件设备。服务端安装安装必要软件yum install samba samba-client samba-common配置一下samba的配置信息,位置/etc/samba/smb.conf[global] workgroup = SAMBA security = user passd...原创 2019-12-02 12:15:04 · 153 阅读 · 0 评论 -
NTP服务
通常情况下,服务器的授时服务都是连接至网络上的授时服务器的。但是有的时候,服务器进行异地容灾,特别在国外的时候,需要生成日志,日志时间要求是主服务的时间基准,那么就需要架设NTP服务进行授时了。服务端安装安装必要的软件yum install ntp tzdata下来进行文件配置。ntp的配置文件只有一个,/etc/ntp.conf。我们看一下这个文件# For more infor...原创 2019-12-02 12:14:30 · 199 阅读 · 0 评论 -
haproxy
haproxy是进行四层转发(http转发)和七层转发(TCP转发)的常用工具,常用于负载均衡。安装:yum install haproxy配置文件:配置文件在/etc/haproxy/haproxy.cnf参数功能表参数功能log全局日志chroot工作目录pidfilepid的储存位置maxconn最大并发数user软件用户...原创 2019-12-02 12:13:26 · 201 阅读 · 0 评论 -
FTP服务
FTP介绍在生产环境的架设中,常常会有开发部门上传一些页面文件到服务器。有些开发的程序员可能Linux基础不是特别好,所以咱们就需要给他们留一个传输文件的接口。通常使用sftp和ftp协议。安装需要的软件:vsftpd安装方法:sudo apt install vsftpd启动方法:systemctl start vsftpd配置文件解析乌班图下,配置文件在/etc/vsftpd.c...原创 2019-12-02 12:13:00 · 113 阅读 · 0 评论 -
DHCP服务
在家用的路由器上,一般都会集成DHCP这个功能。DHCP服务,负责给网络内的主机分配IP和netmask,更便于主机的联网操作。既然咱们要搭建DHCP服务,那么,咱们就不能让网络内有相关的服务存在,原因如下:主机不知道该向谁获取IP地址DHCP服务器会发生冲突DHCP服务,常用在大型网络环境下(如果三四台主机,那就没必要了,手动一下就行了)。但是切记,在服务器网络不要用DH...原创 2019-12-02 12:12:24 · 200 阅读 · 0 评论 -
nfs安装
服务器列表服务器IPmaster192.168.139.146slave192.168.139.131首先,记得防火墙放行111端口。我这里直接关闭了防火墙,所以就不多赘述。安装NFS服务的几个必要软件:rpmbind和nfs-utilsyum install rpcbind nfs-utils启动服务systemctl start rpcbind...原创 2019-11-24 16:31:19 · 127 阅读 · 0 评论