1. YUM在线安装1.1 查看确认系统版本[root@kylin-server1 ~]# nkvers ############## Kylin Linux Version ################# Release: Kylin Linux Advanced Server release V10 (Tercel) Kernel: 4.1
##解开压缩包-bash-3.2# bunzip2 vim-7.4.tar.bz2-bash-3.2# tar xvf vim-7.4.tar## 安装make,gccpkgadd -d /cdrom/sol_10_113_x86/Solaris_10/Product SUNWgmakepkgadd -d /cdrom/sol_10_113_x86
CentOS7编译升级OpenSSH9.7P1
检查下载软件包的数据完整性,一致性;[root@CentOS7-9 ~]# ll total 12932 -rw-------. 1 root root 1572 May 17 09:19 anaconda-ks.cfg -rw-r--r--. 1 root root 1857862 May 17 09:31 openssh-9.6p1.tar.gz -rw-r--r--. 1 root r
1.升级ssha) 安装依赖包yum -y install gcc make perl zlib zlib-devel pam pam-develb) 停止ssh服务systemctl stop sshdcp -r /etc/ssh /etc/ssh.oldc) &nb
步骤A..1︰ 配置 ISCSI 目标1. 安装软件包storage:~ # zypper in yast2-iscsi-lio-server2. 在 YaST 中启动 isc
如图,供参考:
KickStart部署 PXE自动安装CentOS
内存查看 Ex1、内存使用紧张? 排查思路: 1) 用户访问量增加,导致服务使用内存增加; 2) 程序异常,内存泄漏; 使用vmstat查看内存使用 [root@inf-c7-n1 ~]# vmstat 1 10 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b
配置仓库源 centos6.repo: [base] name=base baseurl=http://192.168.200.1/reposyum/CentOS/6.8/os/x86_64/ enabled=1 gpgcheck=0 [extras] name=extras baseurl=http://192.168.200.1/reposyum/CentOS/6.8/extras/x86_
新安装一台虚拟机后,是无法通过virsh console 命令连入虚拟机中的,这时我们需要开启虚拟机的console功能。 RHEL/CentOS6 一、添加ttyS0的许可,允许root登陆 [root@Inf-c6-n0 ~]# echo "ttyS0" >> /etc/securetty 二、编辑/etc/grub.conf 加入console=ttyS0 [root@In
本文介绍使用parted给大容量磁盘分区格式化。 1、标记磁盘分区表类型 [root@vertica-bk ~]# parted /dev/sdb GNU Parted 3.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel gpt Warning: The
单网卡配置 1、修改主机名 [root@workstation1 ~]# vim /etc/sysconfig/network [root@workstation1 ~]# reboot [root@server1 ~]# hostname server1.tanjurd.com 2、修改ip地址 [root@server1 ~]# vim /etc/sysconfig/n
1、配置双网卡绑定(bond0) # cat ifcfg-em1 DEVICE=em1 NAME=em1 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes # cat ifcfg-em2 DEVICE=em1 NAME=em1 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes MAST
一、测试环境 主机列表规划 主机名 主机IP rhcs-mgr.cluster.example.com 172.16.30.11 172.16.40.11 rhcs-node1.cluster.example.com 172.16.30.12 172.16.40.12 172.16.50.12 rhcs-node2.cluste
使用NetPlan网络管理工具配置网卡. 1、单网卡配置dhcp获取地址; root@ubuntu20:~# cat /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network: ethernets: ens3: dhcp4: yes
1、安装Debmirror同步软件 yum install debmirror -y 2、配置debmirror.conf [root@vm_10_*_*_124_centos ~]# cat /etc/debmirror.conf # Default config for debmirror # The config file is a perl script so take
一、Ubuntu中软件安装方法 1、APT方式 (1)普通安装:apt-get install softname1 softname2 …; (2)修复安装:apt-get -f install softname1 softname2... ;(-f Atemp to correct broken dependencies) (3)重新安装:apt-get --reinstall install
RHEL7删除停用的多路径磁盘 1、sdh、sdi、sdj为已经停用的磁盘 [root@ywkvm08 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 5.1T 0 disk ├─s
1、 调整系统内核参数 [root@elastiflow sysctl.d]# cat 100-elastiflow.conf net.core.netdev_max_backlog=4096 net.core.rmem_default=262144 net.core.rmem_max=67108864 net.ipv4.udp_rmem_min=131072 net.ipv4.udp_me
1、查看网卡设备; [root@Rocky8 network-scripts]# nmcli d s DEVICE TYPE STATE CONNECTION ens160 ethernet connected ens160 ens224 ethernet disconnected -- lo loopback unmanaged
1、临时配置生效; You can rename the device using the ip command: /sbin/ip link set eth1 down /sbin/ip link set eth1 name eth123 /sbin/ip link set eth123 up 2、配额udev策略永久生效; You may also want to make sure th
安装cobbler依赖包 root@cobbler:~# apt install -y make git python-yaml python-cheetah python-netaddr python-simplejson libapache2-mod-wsgi python-django atftpd debmirror apache2 python-urlgrabber f
相依赖的包:ncurses-5.6-sol10-x86-local.gzgtk+-1.2.10-sol10-intel-local.gzglib-1.2.10-sol10-x86-local.gz 安装依赖包#gzip -d ncurses-5.6-sol10-x86-local.gz#pkgadd -d ncurses-5.6-sol10-x86-local #gzip -d
1、showhardconf showhardconf 命令可用于显示有关每个 FRU 的信息。可显示的信息如下所示:■ 当前配置和状态■ 安装的 FRU 数■ 域信息■ IOBOX 信息■ PCI 卡的名称属性
管理软件包的工具 管理软件包的工具或命令工具或命令 说明手册页installer启动用于从 Oracle Solaris 安装介质添加软件的安装程序(如 Oracle Solaris 安装程序 GUI)。安装程序要么位于本地,要么位于远程位置。installer(1M)prodreg (GUI)启动用于添加、删除或显示软件产品信息的安装程序。使用 Oracle Solari
命令 说明手册页ps、pgrep、prstat、pkill检查系统中活动进程的状态,并显示有关这些进程的详细信息。ps(1)、pgrep(1) 和 prstat(1M)pkill功能与 pgrep 相同,但通过名称或其他属性来查找进程或向进程发送信号,然后终止进程。像 kill 命令一样向每个匹配的进程发送信号,而不列显进程 ID。pgrep(1) 和 pkill(1)kill(1)pargs、p
Solaris 10引入全新的后台服务管理机制,该机制被称为SMF,它包含了新的概念、管理工具和服务定义方式。比如用里程碑(milestone)代替了运行级别的概念;用服务配置库代替分散在/etc/rcx.d目录的服务启动脚本。 SMF相对于传统的Unix后台服务管理机制具备以下突出的功能: 1. 恢复由软件故障、硬件故障、管理错误终
Unix(Solaris)系统运行级别系统运行级别有8种,分别为:运行级别 意义0 进入PROM状态(OK状态)1 管理状态(所有文件系统都挂上的单用户模式,禁止其他用户登录)2 多用户模式(没有网络文件共享服务)3 多用户模式(有网络文件共享服务)4 未使用5 退出操作系统并关机6 重新启动机器S,s 单用户模式init命令用于改变操作系统的运行级别。命令格式:init [ 0123456Ss
General PresentationCGroups stand for Control Groups. They were introduced into the kernel by Google in 2006 to restrict resources used by a process. All the resources a process can use have their own
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号