随笔 - 253,  文章 - 0,  评论 - 29,  阅读 - 25万

随笔分类 -  Centos

centos开放端口文件
摘要:1.编辑/etc/firewalld/zones/public.xml 2、加入一下内容 <!--开放指定ip的监控客户端端口--!> <rule family="ipv4"> <source address="172.31.18.81/32"/> <port port="9273" protoco 阅读全文
posted @ 2024-03-26 16:32 田坤坤 阅读(37) 评论(0) 推荐(0) 编辑
centos7 Ftp操作
摘要:1、安装ftp yum -y install ftp 2、搭建windows Ftp服务器 3、连接windows Ftp服务器 ftp IP port 例如:ftp 198.168.2.56 9999 4、输入用户名:tkk 5、输入密码: 出现上面的就代表连接成功了。 6、输入help回车会看到 阅读全文
posted @ 2020-04-27 16:13 田坤坤 阅读(2121) 评论(0) 推荐(0) 编辑
centos7手动搭建redis集群
摘要:1、先安装redis yum y install redis 2、进入usr/local cd /usr/local 3、创建文件夹redis-cluster mkdir redis-cluster 4、进入redis-cluster并建立六个文件夹7001,7002,7003,8001,8002, 阅读全文
posted @ 2020-04-26 18:43 田坤坤 阅读(401) 评论(0) 推荐(0) 编辑
Xshell突破四个窗口限制
摘要:链接:https://pan.baidu.com/s/16AWKCgtn32-rT_xR72geXQ 提取码:usv4 破解方法 先卸载系统中已经安装的xshell与xftp 然后安装xshell 再安装xshell plus,即可破除个人版四个窗口限制 qq讨论群 阅读全文
posted @ 2020-04-26 16:23 田坤坤 阅读(2375) 评论(0) 推荐(0) 编辑
centos7 更新阿里YUM源
摘要:1.安装base reop源 cd /etc/yum.repos.d 接着备份旧的配置文件 mv CentOS-Base.repo CentOS-Base.repo.bak 下载阿里源的文件 wget -O CentOS-Base.repo http://mirrors.aliyun.com/rep 阅读全文
posted @ 2020-04-23 17:45 田坤坤 阅读(286) 评论(0) 推荐(0) 编辑
gitlab配置ssh
摘要:https://www.cnblogs.com/mingyue5826/p/10762673.html 阅读全文
posted @ 2020-04-16 20:18 田坤坤 阅读(135) 评论(0) 推荐(0) 编辑
Centos7安装GitLab
摘要:1、首先按官网提示先安装依赖,然后执行下面命令添加yum源,选择gitlab-ce社区版curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash2、更新本地y 阅读全文
posted @ 2020-04-16 18:52 田坤坤 阅读(206) 评论(0) 推荐(0) 编辑
Centos7下载
摘要:CentOS 7镜像下载 官网下载链接:http://isoredirect.centos.org/centos/7/isos/x86_64/ step1: 进入下载页,选择阿里云站点进行下载 Actual Country 国内资源 Nearby Countries 周边国家资源 阿里云站点:htt 阅读全文
posted @ 2020-04-07 15:08 田坤坤 阅读(357) 评论(0) 推荐(0) 编辑
centos 安装Jenkins
摘要:首先确保已经安装过JDK 1、下载Jenkins wget https://pkg.jenkins.io/redhat/jenkins-2.156-1.1.noarch.rpm 2、安装Jenkins rpm -ivh jenkins-2.156-1.1.noarch.rpm 3、改配置文件 vim 阅读全文
posted @ 2020-03-18 23:59 田坤坤 阅读(292) 评论(0) 推荐(0) 编辑
Centos 搭建Ftp服务器
摘要:1、查看是否安装了vsftpdvsftpd -version2、安装vsftpdyum -y install vsftpd3、新建Ftp目录mkdir /usr/local/localFTP4、创建新用户并指定登录后访问的文件夹(ftpname就是你将要建立的用户名,可以自己起一个)useradd 阅读全文
posted @ 2020-03-04 22:35 田坤坤 阅读(319) 评论(0) 推荐(0) 编辑
centos安装docker
摘要:1、切换用户为root 命令:su - root 回车系统会让你输入密码 输入密码(此时屏幕上不会有什么动静,不用管,尽管输入)然后回车,看到$变成#,恭喜你已经成功切换为root用户 2、搜索docker(结果可能会不一样,不过不影响) yum search docker 3、安装docker(找 阅读全文
posted @ 2020-02-27 15:50 田坤坤 阅读(411) 评论(0) 推荐(0) 编辑
centos 安装nginx遇到的问题
摘要:1、 checking for OS+ Linux 3.10.0-327.el7.x86_64 x86_64checking for C compiler ... not found ./configure: error: C compiler cc is not found 解决方法:安装gcc 阅读全文
posted @ 2020-02-20 14:10 田坤坤 阅读(1424) 评论(0) 推荐(0) 编辑
解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
摘要:CentOS7中执行service iptables start/stop会报错Failed to start iptables.service: Unit iptables.service failed to load: No such file or directory. 在CentOS 7或R 阅读全文
posted @ 2019-11-12 20:32 田坤坤 阅读(363) 评论(0) 推荐(0) 编辑
Centos操作命令
摘要:查看已经开放的端口:firewall-cmd --list-ports 开启端口:firewall-cmd --zone=public --add-port=80/tcp --permanent 重新载入:firewall-cmd --reload 查看:firewall-cmd --zone= p 阅读全文
posted @ 2019-11-12 20:32 田坤坤 阅读(189) 评论(0) 推荐(0) 编辑
centos修改、保存文件的详细步骤
摘要:【一】修改文件 如果是使用普通用户登录的,需要先切换到管理员用户,打开终端,输入:su,接着按提示输入密码即可;然后使用命令进入需要修改文件的所在目录,常用的几个命令如下: ① cd + 目录名 ② cd + 空格(退回上级目录) ③ cd + 空格 + /(退回最高级目录) 接着使用命令:vi + 阅读全文
posted @ 2019-11-12 20:31 田坤坤 阅读(739) 评论(0) 推荐(0) 编辑
docker端口映射或启动容器时报错Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen
摘要:现象: [root@localhost ~]# docker run -d -p 9000:80 centos:httpd /bin/sh -c /usr/local/bin/start.shd5b2bd5a7bc4895a973fe61efd051847047d26385f65c278aaa09e 阅读全文
posted @ 2019-11-12 20:30 田坤坤 阅读(459) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示