zoukankan      html  css  js  c++  java
  • Linux

    Linux的版本 1. debian 和Linux的包的管理区别 debian的包的后缀是 xxx.deb(apt-get) rhe;的包的后缀是 xxx.rpm(yum) 2.centOS 社区企业操作系统 替代商业版的Redhat Eterprise lInux Fedora 是测试版,功能齐全和新技术的版本 Ubntu 以桌面应用为主的操作系统 radflag 和windows一样都是有桌面的系统 Perforning 安装方案 post- install pre- install kickstart 如安装后就有oracle的数据库 使用post-install dump 内核崩溃的时候可以使用Dump排查 安装后的设置 gnome风格是带桌面的 网卡配置 cd /etc/sysocnfig/neiwork-scripts/ ls显示全部 pwd 查看目录 ifconfig 查看网卡 网卡中lo是本地回环地址 dhclient 网卡1 动态获取网卡 多个网卡设置时 kill -9 进程PID (杀死进程) kill -6 (重启) vim ifcfg-网卡名 启动协议 BOOTPROTO=staic 静态 DHCP动态 IPADDR= 地址 NETMASK 子网掩码 GATEWAY 网关 ifdown 网卡1 && ifup 网卡1 网卡重启 selinux 权限 getenforce 查看 vim /etc/sysconfig/selinux 查看配置文件 cat /etc/sysconfig/selinux 查看配置文件 permissive 警告 disable 关闭 gedit /etc/sysconfig/selinux 图形界面下才可使用 sentenforce 0 查看状态 ls -l /etc/sysocnfig/selinux/config 防火墙 systemctl stop firewalld,rvice 立刻关闭防火墙 systemctl disable firewalld.service 立刻关闭防火墙 systemctl status firewalld.service 查看状态 reboot重启 shutdown -h +1 定时1分钟开机 init 6重启 init 0重启 halt 关机不关电
  • 相关阅读:
    [MacOS]Sublime text3 安装(一)
    [RHEL8]开启BBR
    PAT Advanced 1136 A Delayed Palindrome (20分)
    PAT Advanced 1144 The Missing Number (20分)
    PAT Advanced 1041 Be Unique (20分)
    PAT Advanced 1025 PAT Ranking (25分)
    PAT Advanced 1022 Digital Library (30分)
    PAT Advanced 1019 General Palindromic Number (20分)
    PAT Advanced 1011 World Cup Betting (20分)
    PAT Advanced 1102 Invert a Binary Tree (25分)
  • 原文地址:https://www.cnblogs.com/yanglc/p/11524272.html
Copyright © 2011-2022 走看看