上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 48 下一页
摘要: systemctl管理Redis启动、停止、开机启动 1. 创建服务 vi /lib/systemd/system/redis.service [Unit] Description=Redis After=network.target [Service] ExecStart=/usr/local/b 阅读全文
posted @ 2018-11-24 20:00 effortsing 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 1、You could try using --skip-broken to work around the problem,rpm -Va --nofiles --nodigest问题 解决方法如下: yum clean allrpm --rebuilddbyum update 或者换一个yum源 阅读全文
posted @ 2018-11-24 16:45 effortsing 阅读(138) 评论(0) 推荐(0) 编辑
摘要: centos7配置本地yum源 先从官网下载centos7镜像 以centos7.4 为例 CentOS-7-x86_64-Everything-1804 [root@kangvcar ~]# mv CentOS-7-x86_64-Everything-1804 /dev/cdrom[root@ka 阅读全文
posted @ 2018-11-24 16:42 effortsing 阅读(940) 评论(0) 推荐(0) 编辑
摘要: echo 用法 echo加不加双引号都是一样的效果 #!/bin/bash #this script display the date and who's login on echo "the time and date are:" date echo let's see who's login the system: who #!/bin/bash #this script disp... 阅读全文
posted @ 2018-11-24 16:32 effortsing 阅读(318) 评论(0) 推荐(0) 编辑
摘要: bbs.spoto.net/forum-178-1.html -----雏鹰部落 GNS3安装 1、安装的所有目录不能使用中文 ISO如何操作 securecrt如何使用建立会话:之前总是连不上的原因是没有选 telnet协议,而不是ssh协议,要注意。 cmd如何进入GNS3模式:telnet localhost 2001 GNS3使用过程以及两个路由怎样连接 打开软件... 阅读全文
posted @ 2018-11-24 16:30 effortsing 阅读(910) 评论(0) 推荐(0) 编辑
摘要: 1、查看硬盘信息,看看是否需要分区 [root@host-10-1-1-68 ~]# fdisk -l Disk /dev/vda: 21.5 GB, 21474836480 bytes, 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 51... 阅读全文
posted @ 2018-11-24 16:27 effortsing 阅读(340) 评论(0) 推荐(0) 编辑
摘要: centos7.5修改默认SSH端口 linux SSH默认端口是22,不修改的话存在一定的风险,要么是被人恶意扫描,要么会被人破解或者攻击,所以我们需要修改默认的SSH端口 1、修改22端口为62000 编辑配置文件 vi /etc/ssh/sshd_config 默认端口是22,并且已经被注释掉 阅读全文
posted @ 2018-11-24 16:25 effortsing 阅读(598) 评论(0) 推荐(0) 编辑
摘要: 地址: http://www.zrblog.net/10daoLinode 还可以 相对较稳定 5刀一个月 买个日本节点 自己买个外网服务器搭个ss就可以啦 国内的官网www.ruixunidc.net 阅读全文
posted @ 2018-11-24 16:20 effortsing 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1:记录未修改之前的ulimit值 [root@bogon ~]# ulimit -a 2:修改配置文件 vim /etc/security/limits.conf 在后面添加 * soft nofile 100000 * hard nofile 100000 * soft nproc 65535 阅读全文
posted @ 2018-11-24 16:19 effortsing 阅读(6573) 评论(0) 推荐(1) 编辑
摘要: 1、 其他目录下的。网页文件 必须写成 index.html 不能写成 sina.html,更不能写成test.index.html 否则报错,这是格式 2、配置域名必须要写到host里面;和通过百度访问域名是另一回事;通过 curl+ 域名访问只能对应80端口,不能写成8083其他端口 ,如下 server { listen 80; 注意:写... 阅读全文
posted @ 2018-11-24 16:13 effortsing 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 48 下一页