安全的合肥网站建设公司网站条形码如何做

当前位置: 首页 > news >正文

安全的合肥网站建设,公司网站条形码如何做,ps做网站首页设计教程,wordpress 当数据库Node1 配置您的系统以使用默认存储库 配置您 的系统以使用默认存储库YUM 存储库已可以从 http://foundation0.ilt.example.com/dvd/BaseOShttp://foundation0.ilt.example.com/dvd/AppStream 使用配置您的系统#xff0c;以将这些位置用作默认存储库[rootclear ~]# cat …Node1 配置您的系统以使用默认存储库 配置您 的系统以使用默认存储库YUM 存储库已可以从 http://foundation0.ilt.example.com/dvd/BaseOShttp://foundation0.ilt.example.com/dvd/AppStream 使用配置您的系统以将这些位置用作默认存储库[rootclear ~]# cat /etc/yum.repos.d/BaseOS_AppStream.repo [BaseOS] nameBaseOS baseurlhttp://foundation0.ilt.example.com/dvd/BaseOS gpgcheck0 enabled1[AppStream] nameAppStream baseurlhttp://foundation0.ilt.example.com/dvd/AppStream gpgcheck0 enabled1创建用户帐户 创建用户帐户创建下列用户、组和组成员资格名为 sysmgrs 的组用户 natasha 作为次要组从属于 sysmgrs用户 harry 作为次要组还从属于 sysmgrs用户 sarah 无权访问系统上的交互式 shell 且不是 sysmgrs 的成员natasha 、 harry 和 sarah 的密码应当都是 flectrag[rootclear ~]# groupadd sysmgrs [rootclear ~]# useradd -G sysmgrs natasha [rootclear ~]# useradd -G sysmgrs harry [rootclear ~]# useradd -s /bin/false sarah [rootclear ~]# echo flectrag | passwd –stdin natasha Changing password for user natasha. passwd: all authentication tokens updated successfully. [rootclear ~]# echo flectrag | passwd –stdin harry Changing password for user harry. passwd: all authentication tokens updated successfully. [rootclear ~]# echo flectrag | passwd –stdin sarah Changing password for user sarah. passwd: all authentication tokens updated successfully.配置 cron 作业 配置 cron 作业配置 cron 作业该作业每隔 2 分钟运行并执行以下命令logger EX200 in progress以用户 natasha 身份运行#查看服务状态crond [rootclear ~]# systemctl status crond | grep ActiveActive: active (running) since Wed 2023-08-30 15:12:01 EDT; 24min ago[rootclear ~]# systemctl enable crond [rootclear ~]# crontab -e -u natasha no crontab for natasha - using an empty one crontab: installing new crontab [rootclear ~]# crontab -l -u natasha */2 * * * * logger EX200 in progress 创建协作目录 创建具有以下特征的协作目录 /home/managers /home/managers 的组用权是 sysmgrs目录应当可被 sysmgrs 的成员读取、写入和访问但任何其他用户不具这些权限。当然root 用户有权访问系统上的所有文件和目录/home/managers 中创建的文件自动将组所有权设置到 sysmgrs 组[rootclear ~]# mkdir /home/managers [rootclear ~]# chown :sysmgrs /home/managers [rootclear ~]# chmod 2770 /home/managers配置 NTP 配置 NTP配置您的系统使其成为 materials.example.com 的 NTP 客户端。注materials.example.com 是 classroom.example.com 的 DNS 别名[rootclear ~]# systemctl status chronyd | grep ActiveActive: active (running) since Wed 2023-08-30 15:10:30 EDT; 44min ago [rootclear ~]# vim /etc/chrony.conf #添加下面这段 [rootclear ~]# cat /etc/chrony.conf | grep materials server materials.example.com iburst [rootclear ~]# systemctl restart chronyd [rootclear ~]# timedatectl Local time: Wed 2023-08-30 15:56:35 EDTUniversal time: Wed 2023-08-30 19:56:35 UTCRTC time: Wed 2023-08-30 19:51:45Time zone: America/New_York (EDT, -0400) System clock synchronized: yesNTP service: activeRTC in local TZ: no配置 autofs 配置 autofs配置 autofs 以按照如下所述自动挂载远程用户的主目录materials.example.com ( 172.25.254.254 ) NFS 导出 /rhome 到您的系统。此文件系统包含为用户 remoteuser1 预配置的主目录remoteuser1 的主目录是 materials.example.com:/rhome/remoteuser1remoteuser1 的主目录应自动挂载到本地 /rhome 下的 /rhome/remoteuser1主目录必须可供其用户写入remoteuser1 的密码是 flectrag[rootclear ~]# yum -y install autofs[rootclear ~]# vim /etc/auto.master auto.master auto.master.d/ [rootclear ~]# vim /etc/auto.master
#设置自动挂载 [rootclear ~]# cat /etc/auto.master | grep rhome /rhome /etc/auto.rhome [rootclear ~]# vim /etc/auto.rhome #设置权限 [rootclear ~]# cat /etc/auto.rhome remoteuser1 -rw materials.example.com:/rhome/remoteuser1 [rootclear ~]# systemctl enable –now autofs Created symlink /etc/systemd/system/multi-user.target.wants/autofs.service → /usr/lib/systemd/system/autofs.service. [rootclear ~]# systemctl restart autofs [rootclear ~]# echo flectrag | passwd –stdin remoteuser1 Changing password for user remoteuser1. passwd: all authentication tokens updated successfully. [rootclear ~]# su - remoteuser1 [remoteuser1clear ~]\( pwd /rhome/remoteuser1 [remoteuser1clear ~]\) exit logout配置 /var/tmp/fstab 权限 配置 /var/tmp/fstab 权限将文件 /etc/fstab 复制到 /var/tmp/fstab 。配置 /var/tmp/fstab 的权限以满足如下条件文件 /var/tmp/fstab 自 root 用户所有文件 /var/tmp/fstab 属于组 root文件 /var/tmp/fstab 应不能被任何人执行用户 natasha 能够读取和写入 /var/tmp/fstab用户 harry 无法写入或读取 /var/tmp/fstab所有其他用户当前或未来能够读取 /var/tmp/fstab[rootclear ~]# cp /etc/fstab /var/tmp/fstab [rootclear ~]# ll /var/tmp/fstab [rootclear ~]# setfacl -m u:natasha:rw /var/tmp/fstab [rootclear ~]# setfacl -m u:harry:- /var/tmp/fstab [rootclear ~]# getfacl /var/tmp/fstab getfacl: Removing leading / from absolute path names

file: var/tmp/fstab

owner: root

group: root

user::rw- user:natasha:rw- user:harry:— group::r– mask::rw- other::r–配置用户帐户 配置用户帐号配置用户 manalo 其用户 ID 为 3533。此用户的密码应当为 flectrag。[rootclear ~]# useradd -u 3533 manalo [rootclear ~]# echo flectrag | passwd –stdin manalo Changing password for user manalo. passwd: all authentication tokens updated successfully. [rootclear ~]# tail -1 /etc/passwd manalo:x:3533:3533::/home/manalo:/bin/bash查找文件 查找文件查找当 jacques 所有的所有文件并将其副本放入 /root/findfiles 目录[rootclear ~]# mkdir /root/findfiles [rootclear ~]# find / -user jacques -exec cp -a {} /root/findfiles \; find: ‘/proc/25337/task/25337/fd/6’: No such file or directory find: ‘/proc/25337/task/25337/fdinfo/6’: No such file or directory find: ‘/proc/25337/fd/7’: No such file or directory find: ‘/proc/25337/fdinfo/7’: No such file or directory [rootclear ~]# ll /root/findfiles/ total 0 -rw-r–r–. 1 jacques jacques 0 Aug 30 16:23 gamelan -rw-r–r–. 1 jacques jacques 0 Aug 30 16:23 jacques -rw-r–r–. 1 jacques jacques 0 Aug 30 16:23 libWedgeit.so.1.2.3查找字符串 查找字符串查找文件 /usr/share/xml/iso-codes/iso_639_3.xml 中包含字符串 ng 的所有行。将所有这些行的副本按原始顺序放在文件 /root/list 中。 /root/list 不得包含空行且所有行必须是 /usr/share/xml/iso-codes/iso_639_3.xml 中原始行的确切副本。[rootclear ~]# grep ng /usr/share/xml/iso-codes/iso_639_3.xml /root/list创建存档 创建存档创建一个名为 /root/backup.tar.gz 的 tar 存档其应包含 /usr/local 的 tar 存档其应包含 /usr/local 的内容。该 tar 存档必须使用 gzip 进行压缩。[rootclear ~]# tar -czvf /root/backup.tar.gz /usr/local [rootclear ~]# file /root/backup.tar.gz /root/backup.tar.gz: gzip compressed data, last modified: Wed Aug 30 20:30:16 2023, from Unix, original size 51200添加免密操作 允许sysmgrs组成员sudo时不需要密码 visudo #进⼊编辑sudo在110⾏下编写或者是在 #%wheel下编写 %sysmgrs ALL(ALL) NOPASSWD: ALL配置创建新用户密码策略 创建新用户默认密码策略20天后密码过期 [rootclear ~]# cat /etc/login.defs | grep PASS_MAX_DAYS

PASS_MAX_DAYS Maximum number of days a password may be used.

PASS_MAX_DAYS 20[rootclear ~]# useradd usr1 [rootclear ~]# chage usr1 Changing the aging information for usr1 Enter the new value, or press ENTER for the defaultMinimum Password Age [0]: ^X chage: error changing fields [rootclear ~]# chage usr1 Changing the aging information for usr1 Enter the new value, or press ENTER for the defaultMinimum Password Age [0]: Maximum Password Age [20]: Last Password Change (YYYY-MM-DD) [2023-08-30]: Password Expiration Warning [7]: Password Inactive [-1]: Account Expiration Date (YYYY-MM-DD) [-1]:Node2 设置 root 密码 设置 root 密码将 node2 的 root 密码设置为 flectrag 。您需要获得系统访问权限才能进行此操作。配置您的系统以使用默认存储库 配置您 的系统以使用默认存储库YUM 存储库已可以从 http://foundation0.ilt.example.com/dvd/BaseOShttp://foundation0.ilt.example.com/dvd/AppStream 使用配置您的系统以将这些位置用作默认存储库与node1存储文件相同将其复制过去 [rootclear ~]# scp /etc/yum.repos.d/BaseOS_AppStream.repo node2:/etc/yum.repos.d/ The authenticity of host node2 (172.25.250.200) cant be established. ECDSA key fingerprint is SHA256:1H687jfusVXYAUzAuByFfx1U/lB4VS6h04wRhXhmZU. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added node2,172.25.250.200 (ECDSA) to the list of known hosts. rootnode2s password: BaseOS_AppStream.repo 100% 203 15.1KB/s 00:00 在node2上查看 [rootnode2 ~]# ls /etc/yum.repos.d/ BaseOS_AppStream.repo [rootnode2 ~]# yum repolist repo id repo name AppStream AppStream BaseOS BaseOS调整逻辑卷大小 设置逻辑卷大小将逻辑卷 vo 及其文件系统的大小调整到 230 MiB。确保文件系统内容保持不变。注分区大小很少与请求的大小完全相同因此可以接受范围为 217 MiB 到 243 MiB 的大小。#查看文件格式和存储大小 [rootnode2 ~]# df -Th Filesystem Type Size Used Avail Use% Mounted on devtmpfs devtmpfs 887M 0 887M 0% /dev tmpfs tmpfs 914M 0 914M 0% /dev/shm tmpfs tmpfs 914M 17M 897M 2% /run tmpfs tmpfs 914M 0 914M 0% /sys/fs/cgroup /dev/vda3 xfs 9.9G 1.6G 8.4G 16% / /dev/vda2 vfat 100M 6.8M 94M 7% /boot/efi /dev/mapper/myvol-vo ext4 175M 1.6M 160M 1% /reports tmpfs tmpfs 183M 0 183M 0% /run/user/0#查看myvol组 [rootnode2 ~]# vgs myvolVG #PV #LV #SN Attr VSize VFree myvol 1 1 0 wz–n- 508.00m 324.00m #拓展 [rootnode2 ~]# lvextend -L 230M /dev/myvol/voRounding size to boundary between physical extents: 232.00 MiB.Size of logical volume myvol/vo changed from 184.00 MiB (46 extents) to 232.00 MiB (58 extents).Logical volume myvol/vo successfully resized.#同步信息到系统内核 [rootnode2 ~]# resize2fs /dev/myvol/vo resize2fs 1.45.4 (23-Sep-2019) Filesystem at /dev/myvol/vo is mounted on /reports; on-line resizing required old_desc_blocks 2, new_desc_blocks 2 The filesystem on /dev/myvol/vo is now 237568 (1k) blocks long.[rootnode2 ~]# df -Th /reports/ Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/myvol-vo ext4 221M 2.1M 204M 1% /reports添加交换分区 添加交换分区向您的系统添加一个额外的交换分区 756MiB 。交换分区应在系统启动时自动挂载。不要删除或以任何方式改动系统上的任何现有交换分区。#查看磁盘情况 [rootnode2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE M OUNTPOINT vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 100M 0 part /boot/efi └─vda3 252:3 0 9.9G 0 part / vdb 252:16 0 4G 0 disk ├─vdb1 252:17 0 510M 0 part │ └─myvol-vo 253:0 0 232M 0 lvm /reports └─vdb2 252:18 0 512M 0 part └─vgroup-swap 253:1 0 256M 0 lvm [SWAP] vdc 252:32 0 10G 0 disk #创建一个新分区 [rootnode2 ~]# fdisk /dev/vdbWelcome to fdisk (util-linux 2.32.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.Command (m for help): n Partition typep primary (2 primary, 0 extended, 2 free)e extended (container for logical partitions) Select (default p): Using default response p. Partition number (3,4, default 3): First sector (2095106-8388607, default 2097152):
Last sector, sectors or size{K,M,G,T,P} (2097152-8388607, default 8388607): 756MCreated a new partition 3 of type Linux and of size 756 MiB.Command (m for help): w The partition table has been altered. Syncing disks. [rootnode2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 100M 0 part /boot/efi └─vda3 252:3 0 9.9G 0 part / vdb 252:16 0 4G 0 disk ├─vdb1 252:17 0 510M 0 part │ └─myvol-vo 253:0 0 232M 0 lvm /reports ├─vdb2 252:18 0 512M 0 part │ └─vgroup-swap 253:1 0 256M 0 lvm [SWAP] └─vdb3 252:19 0 756M 0 part vdc 252:32 0 10G 0 disk #格式化交换分区 [rootnode2 ~]# mkswap /dev/vdb3 Setting up swapspace version 1, size 756 MiB (792719360 bytes) no label, UUIDb6992756-ad20-458d-aeac-e1b362d235e2 [rootnode2 ~]# vim /etc/fstab [rootnode2 ~]# cat /etc/fstab | grep vdb3 #启动自动挂载 /dev/vdb3 none swap defaults 0 0 [rootnode2 ~]# swapon -a #将/etc/fstab⽂件中所有设置为swap的设备启动为交换区 [rootnode2 ~]# swapon #激活交换空间 NAME TYPE SIZE USED PRIO /dev/dm-1 partition 256M 0B -2 /dev/vdb3 partition 756M 0B -3创建逻辑卷 创建逻辑卷根据如下要求创建新的逻辑卷逻辑卷取名为 qa 属于 qagroup 卷组大小为 60 个扩展块qagroup 卷组中逻辑卷的扩展块大小应当为 16 MiB使用 ext3 文件系统格式化新逻辑卷。该逻辑卷应在系统启动时自动挂载到 /mnt/qa 下[rootnode2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 100M 0 part /boot/efi └─vda3 252:3 0 9.9G 0 part / vdb 252:16 0 4G 0 disk ├─vdb1 252:17 0 510M 0 part │ └─myvol-vo 253:0 0 232M 0 lvm /reports ├─vdb2 252:18 0 512M 0 part │ └─vgroup-swap 253:1 0 256M 0 lvm [SWAP] └─vdb3 252:19 0 756M 0 part [SWAP] vdc 252:32 0 10G 0 disk [rootnode2 ~]# fdisk /dev/vdb #新建分区Welcome to fdisk (util-linux 2.32.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.Command (m for help): n Partition typep primary (3 primary, 0 extended, 1 free)e extended (container for logical partitions) Select (default e): pSelected partition 4 First sector (2095106-8388607, default 3645440): Last sector, sectors or size{K,M,G,T,P} (3645440-8388607, default 8388607): Created a new partition 4 of type Linux and of size 2.3 GiB.Command (m for help): w The partition table has been altered. Syncing disks.[rootnode2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 100M 0 part /boot/efi └─vda3 252:3 0 9.9G 0 part / vdb 252:16 0 4G 0 disk ├─vdb1 252:17 0 510M 0 part │ └─myvol-vo 253:0 0 232M 0 lvm /reports ├─vdb2 252:18 0 512M 0 part │ └─vgroup-swap 253:1 0 256M 0 lvm [SWAP] ├─vdb3 252:19 0 756M 0 part [SWAP] └─vdb4 252:20 0 2.3G 0 part vdc 252:32 0 10G 0 disk [rootnode2 ~]# pvcreate /dev/vdb4 #创建物理卷Physical volume /dev/vdb4 successfully created. [rootnode2 ~]# vgcreate -s 16M qagroup /dev/vdb4 #创建卷组Volume group qagroup successfully created[rootnode2 ~]# lvcreate -l 60 -n qa qagroup #创建逻辑卷Logical volume qa created.
[rootnode2 ~]# mkfs.ext3 /dev/qagroup/qa #格式化逻辑卷 mke2fs 1.45.4 (23-Sep-2019) Creating filesystem with 245760 4k blocks and 61440 inodes Filesystem UUID: 4c20ff08-a20d-48e2-83f6-3f5b3064c193 Superblock backups stored on blocks: 32768, 98304, 163840, 229376Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done[rootnode2 ~]# mkdir /mnt/qa[rootnode2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 100M 0 part /boot/efi └─vda3 252:3 0 9.9G 0 part / vdb 252:16 0 4G 0 disk ├─vdb1 252:17 0 510M 0 part │ └─myvol-vo 253:0 0 232M 0 lvm /reports ├─vdb2 252:18 0 512M 0 part │ └─vgroup-swap 253:1 0 256M 0 lvm [SWAP] ├─vdb3 252:19 0 756M 0 part [SWAP] └─vdb4 252:20 0 2.3G 0 part └─qagroup-qa 253:2 0 960M 0 lvm
vdc 252:32 0 10G 0 disk [rootnode2 ~]# vim /etc/fstab #设置自动挂载 [rootnode2 ~]# cat /etc/fstab | grep qa /dev/qagroup/qa /mnt/qa ext3 defaults 0 0 [rootnode2 ~]# mount -a [rootnode2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 100M 0 part /boot/efi └─vda3 252:3 0 9.9G 0 part / vdb 252:16 0 4G 0 disk ├─vdb1 252:17 0 510M 0 part │ └─myvol-vo 253:0 0 232M 0 lvm /reports ├─vdb2 252:18 0 512M 0 part │ └─vgroup-swap 253:1 0 256M 0 lvm [SWAP] ├─vdb3 252:19 0 756M 0 part [SWAP] └─vdb4 252:20 0 2.3G 0 part └─qagroup-qa 253:2 0 960M 0 lvm /mnt/qa vdc 252:32 0 10G 0 disk 创建 VDO 卷 创建 VDO 卷根据如下要求创建新的 VDO 卷使用未分区的磁盘该卷的名称为 vdough该卷的逻辑大小为 50G该卷使用 xfs 文件系统格式化该卷在系统启动时挂载到 /vbread 下[rootnode2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 100M 0 part /boot/efi └─vda3 252:3 0 9.9G 0 part / vdb 252:16 0 4G 0 disk ├─vdb1 252:17 0 510M 0 part │ └─myvol-vo 253:0 0 232M 0 lvm /reports ├─vdb2 252:18 0 512M 0 part │ └─vgroup-swap 253:1 0 256M 0 lvm [SWAP] ├─vdb3 252:19 0 756M 0 part [SWAP] └─vdb4 252:20 0 2.3G 0 part └─qagroup-qa 253:2 0 960M 0 lvm /mnt/qa vdc 252:32 0 10G 0 disk #使用未分区的磁盘[rootnode2 ~]# yum install vdo -y [rootnode2 ~]# vdo create –namevdough –device/dev/vdc –vdoLogicalSize50G Creating VDO vdoughThe VDO volume can address 6 GB in 3 data slabs, each 2 GB.It can grow to address at most 16 TB of physical storage in 8192 slabs.If a larger maximum size might be needed, use bigger slabs. Starting VDO vdough Starting compression on VDO vdough VDO instance 0 volume is ready at /dev/mapper/vdough# 该卷使用 xfs 文件系统格式化 [rootnode2 ~]# mkfs.xfs /dev/mapper/vdough meta-data/dev/mapper/vdough isize512 agcount4, agsize3276800 blks sectsz4096 attr2, projid32bit1 crc1 finobt1, sparse1, rmapbt0 reflink1 data bsize4096 blocks13107200, imaxpct25 sunit0 swidth0 blks naming version 2 bsize4096 ascii-ci0, ftype1 log internal log bsize4096 blocks6400, version2 sectsz4096 sunit1 blks, lazy-count1 realtime none extsz4096 blocks0, rtextents0#挂载 [rootnode2 ~]# mkdir /vbread [rootnode2 ~]# vim /etc/fstab [rootnode2 ~]# mount -a [rootnode2 ~]# df -Th /vbread/ Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/vdough xfs 50G 390M 50G 1% /vbread [rootnode2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 100M 0 part /boot/efi └─vda3 252:3 0 9.9G 0 part / vdb 252:16 0 4G 0 disk ├─vdb1 252:17 0 510M 0 part │ └─myvol-vo 253:0 0 232M 0 lvm /reports ├─vdb2 252:18 0 512M 0 part │ └─vgroup-swap 253:1 0 256M 0 lvm [SWAP] ├─vdb3 252:19 0 756M 0 part [SWAP] └─vdb4 252:20 0 2.3G 0 part └─qagroup-qa 253:2 0 960M 0 lvm /mnt/qa vdc 252:32 0 10G 0 disk └─vdough 253:3 0 50G 0 vdo /vbread配置系统调优 配置系统调优为您的系统选择建议的 tuned 配置集并将它设为默认设置。[rootnode2 ~]# yum -y install tuned Last metadata expiration check: 0:53:38 ago on Wed 30 Aug 2023 04:57:11 PM EDT. Package tuned-2.13.0-6.el8.noarch is already installed. Dependencies resolved. Nothing to do. Complete! [rootnode2 ~]# systemctl enable tuned [rootnode2 ~]# systemctl restart tuned [rootnode2 ~]# tuned-adm active Current active profile: throughput-performance [rootnode2 ~]# tuned-adm recommend virtual-guest [rootnode2 ~]# tuned-adm profile virtual-guest [rootnode2 ~]# tuned-adm active Current active profile: virtual-guest