ICode9

精准搜索请尝试: 精确搜索
  • Linux学习2022-03-01 10:06:07

    Linux环境   Linux系统安装   Cenos8界面切换、命令或图形化    设置默认进入命令行:systemctl set-default multi-user.target    设置默认图形化界面:systemctl set-default graphical.target    设置完完成重启生效:reboot       (21条消息) Centos8 - 图形界面和

  • yum安装redis2022-02-28 22:06:43

    yum安装redis centos7中一条命令安装redis并设置开机自动启动 yum install -y epel-release && sleep 3 && yum install -y redis && systemctl enable --now redis 查看redis服务的状态 systemctl status redis

  • CentOS 7 firewalld防火墙2022-02-28 18:33:47

    1、firewalld的基本使用启动: systemctl start firewalld查看状态: systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld 2.systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkconfig的功能于一体。启动一个服务:systemctl

  • 4.2 K8S超级完整安装配置2022-02-28 12:04:00

    前言: 采坑 k8s有3种安装方式,如下所示: minikube:这是一个k8s集群模拟器,只有一个节点的集群,只为了测试使用,master和node都在一台机器上 直接使用带有容器功能的云平台安装:这个可以采用阿里云或者腾讯云服务器带有容器功能的,这个的优点就是可视化搭建,步骤简单,完全不用自己去安装了,缺

  • Win10下虚拟机克隆linux操作系统之后网络不能用的问题解决2022-02-28 01:31:26

    win10下克隆了两台linux虚拟机,共三台。克隆完成启动三台系统发现网络都不可以使用了。 原linux虚拟机网络连接使用的是桥接模式,配置的是静态IP地址: TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DE

  • centos7.8 LAMP搭建2022-02-27 22:58:16

    LAMP Linux 操作系统的概念,主要是提供给程序员对应的API(程序员编写代码,对操作系统进行读、写、打开、关闭) 操作系统提供了:read、open、write、close;这些对文件进行操作的系统接口,程序员就可以通过编程语言,直接调用操作系统的api,进行文件的读写修改 Linux的特点是:几乎所有的

  • Linux系列——常规基础操作2022-02-27 11:03:34

    ​ 1、配置IP a、若安装桌面版系统,直接GUI画面配置,操作直观、简单 ​ ​ b、若安装非桌面版系统,进行如下配置: 1)、ifconfig命令(临时配置,重启后失效)     ifconfig eth0 192.168.1.100 netmask 255.255.255.0 2)、使用 vi命令直接编辑网卡文件 vi /etc/sysconfig/network-scripts

  • 部署过k8s的centos机器如何开启docker remote api 2375端口2022-02-26 21:35:14

    前言 本文内容借鉴自:https://www.cnblogs.com/hongdada/p/11512901.html 如果读者的服务器不是部署过k8s,可直接点击链接查看开启方法 我个人服务器部署的k8s版本是 v1.18.0 开启方法 编辑 docker.service 文件 vim /usr/lib/systemd/system/docker.service 找到 [Service],接着在

  • linux 配置DHCP2022-02-26 11:34:15

    一.DHCP概念:DHCP(动态主机配置协议)是一个局域网的网络协议。指的是由服务器控制一段IP地址范围,客户机登录服务器时就可以自动获得服务器分配的IP地址和子网掩码。 二.配置: 1.安装DHCP服务 yum -y install dhcp 2.关闭防火墙和网络管服务 systemctl stop firewalld.service   //关

  • 虚拟机安装配置教程2022-02-25 20:32:50

    一、修改hostname hostnamectl set-hostname xx 二、安装vim yum install -y vim 三、将计算机hostname与ip地址绑定在一块 vi /etc/hosts ip xx 四、修改ifcfg-ens32 vi /etc/sysconfig/network-scritpts/ifcfg-ens32 五、重置网络 systemctl restart network 六、关闭防火

  • Docker修改默认的存储路径(镜像、容器、日志等)2022-02-25 18:02:35

    1.查看现有路径 docker info | grep Dir 2. 将默认路径下的docker包移动到新的路径下 mv /var/lib/docker /Data/ 3. 修改daemon.json文件(需要是版本较新的docker服务) vim /etc/docker/daemon.json添加如下内容(data-root 对应的value为修改后的位置) { "data-root":"/Data/d

  • Centos7 怎么永久关闭防火墙2022-02-25 10:04:32

    1、连接到centos主机,然后输入命令“systemctl status firewalld.service”并按下回车键。  2、然后在下方可以查看得到 “ active(running)”,此时说明防火墙已经打开了。  3、在命令行中输入systemctl stop firewalld.service命令,进行关闭防火墙。    4、然后再使用命令syste

  • centos7编译安装redis2022-02-24 16:34:39

    centos7编译安装redis,并加入系统服务 环境 centos7 安装 yum install -y gcc cd /home wget http://download.redis.io/releases/redis-4.0.9.tar.gz   tar -zxvf redis-4.0.9.tar.gz cd redis-4.0.9/ make -j 8 MALLOC=libc  cd src && make install 启动 ./redi

  • centos7安装svn服务端2022-02-24 15:31:56

    linux centos7安装svn服务端 安装 yum install -y subversion 查看安装了哪些文件 rpm -ql subversion 建立版本库 subversion默认以/var/svn作为数据根目录,可以通过/etc/sysconfig/svnserve修改 vim /etc/sysconfig/svnserve OPTIONS="-r /var/svn" #默

  • shell常用指令2022-02-24 13:31:48

    systemd about systemctl status clash.service systemctl restart xxx systemctl start xxx systemctl enable xxx // 开机服务自启动 journalctl -u edgecore.service -xef find file find ./ -type f | fzf ssh + scp scp -P6000 -r ./* root@82.156.172.224:/root/Wet_ther

  • 虚拟机centos8网卡设置2022-02-23 14:02:07

    1. 修改虚拟网络编辑器, 修改为桥接模式(勾选复制物理XXX)   2. 修改网卡目录:  vi /etc/sysconfig/network-scripts/ifcfg-ens33   对着windows里面的值改, 要用同一个网段, 同一个子网掩码,同一个网关,同一个dns: ONBOOT=yes IPADDR=192.168.59.134 NETMASK=255.255.255.0  GATEWAY=

  • linux firewall防火墙2022-02-23 11:35:31

    1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : systemctl enable firewalld 2.systemctl是CentOS7的服务管理工具中主要的工具,它融合之前servic

  • centos7开启和关闭防火墙2022-02-22 17:02:01

    1、查看当前的防火墙状态 systemctl status firewalld2、临时手动关闭防火墙systemctl stop firewalld3、手动重启防火墙systemclt restart firewalld4、永久关闭防火墙systemctl disable firewalld5、关闭防火墙后重新开启防火墙systemctl enable firewalld  

  • ubuntu系统开机自动爬取数据2022-02-22 08:01:03

    cd /etc/systemd/system sudo vim startpic.service: [Unit]Description=It is startpic [Service]Type=simpleExecStart=/home/ubuntu/.myenv/myfirst/bin/python /home/ubuntu/mymnt/project/myproject/wanwenyc/WWSpider/mybase/spiderXiuRenMeiMvWang.py#启动失败之后重

  • idea连接docker连不上2022-02-21 22:59:29

    1、检查服务器的防火墙关了没 systemctl status firewalld 2、如果防火墙没关,关闭防火墙 systemctl stop firewalld 3、虽然第二步关闭了防火墙,但是开机后仍会重启,需要永久关闭输入如下代码 systemctl disable firewalld

  • 【mysql报错】Starting mysqld (via systemctl): Job for mysqld.service failed because the control process2022-02-21 14:02:17

    Starting mysqld (via systemctl):  Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.      参考:   https://www.cnblogs.com/wpnr/p/1407

  • Centos 卸载重装SSH服务2022-02-21 10:04:57

    卸载 # 可以通过这条命令查看卸载前后的openssh相关服务安装情况 rpm -qa openssh* # 卸载 yum remove openssh* 重装 yum install openssh-server 编辑配置文件 vim /etc/ssh/sshd_config 重启并启用服务 systemctl start sshd systemctl enable sshd

  • linux 安全(一) 防火墙和SELinux机制2022-02-19 21:31:56

    1.防火墙操作 chkconfig iptables off chkconfig --list | grep iptables service iptables stop  linux 7版本的使用方法不一样 systemctl status firewalld 查看状态 systemctl disable firewalld 禁用 systemctl enable firewalld 启用 2.SELinux机制 2.1.# /usr/sbin/sestatu

  • linux计划任务与服务管理2022-02-17 11:04:07

    Object:linux计划任务与服务管理   #进程的启动方式 手工启动: 前台启动:用户输入命令,直接执行 后台启动:在输入命令尾部加入‘&’符号 #后台任务管理 jobs:查看处于后台的任务列表 fg:将处于后台的进程恢复到前台运行,需要指定任务序列号 调度启动: #使用at命令,设置在某个特

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有