各位游戏大佬大家好,今天小编为大家分享关于GG修改器免root版安装_gg修改器免root中文版下载安装,绿色的内容,轻松修改游戏数据,赶快来一起来看看吧。
Cobbler是快速网络安装linux操作系统的服务,支持众多的Linux发行版:Red Hat、Fedora、CentOS、Debian、Ubuntu和SUSE,也可以支持网络安装windows。
一、配置yum源
cobbler所在的源是epel源所以先配置yum源
[root@centos7 ~]# vim /etc/yum.repos.d/base.repo
[base]
name=base
baseurl=file:///mnt
gpgcheck=0
[epel]
name=epel
baseurl=http://mirrors./fedora-epel/7/x86_64
gpgcheck=0
二、安装cobbler和dhcp服务
[root@centos7 ~]# yum install cobbler dhcp -y
三、启动相关服务并设置为开机启动
[root@centos7 ~]# systemctl enable rsyncd httpd tftp cobblerd dhcpd
[root@centos7 ~]# systemctl start rsyncd httpd tftp cobblerd
四、配置cobbler
1.使用cobbler check查看所需配置的内容
root@centos7 ~]# cobbler check
The following are potential configuration items that you may want to fix:
1 : The ’server’ field in /etc/cobbler/settings must be set to something other than localhost, or kickstarting features will not work. This should be a resolvable hostname or IP for the boot server as reachable by all machines that will use it.
2 : For PXE to be functional, the ’next_server’ field in /etc/cobbler/settings must be set to something other than 127.0.0.1, and should match the IP of the boot server on the PXE network.
3 : change ’disable’ to ’no’ in /etc/xinetd.d/tftp
4 : Some network boot-loaders are missing from /var/lib/cobbler/loaders, you may run ’cobbler get-loaders’ to download them, or, if you only want to handle x86/x86_64 netbooting, you may ensure that you have installed a *recent* version of the syslinux package installed and can ignore this message entirely. Files in this directory, should you want to support all architectures, should include pxelinux.0, menu.c32, elilo.efi, and yaboot. The ’cobbler get-loaders’ command is the easiest way to resolve these requirements.
5 : debmirror package is not installed, it will be required to manage debian deployments and repositories
6 : The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to ’cobbler’ and should be changed, try: “openssl passwd -1 -salt ’random-phrase-here’ ’your-password-here’” to generate new one
7 : fencing tools were not found, and are required to use the (optional) power management features. install cman or fence-agents to use them
Restart cobblerd and then run ’cobbler sync’ to apply changes.
2.在/etc/cobbler/setting文件中查找到以下几项并进行修改
server: 192.168.73.120 #cobbler的服务器地址
next_server: 192.168.73.120 #tftp服务器地址
default_password_crypted: “$1$JZoCUmJG$PaPdl.tq3OW6KEXZbUaBP.” #修改默认密码
manage_dhcp: 1 #dhcpg管理设置为1
3.下载boot-loaders
[root@centos7 ~]# cobbler get-loaders
4.修改cobbler的dhcp模板文件
[root@centos7 ~]# vim /etc/cobbler/dhcp.template
…上面省略…
subnet 192.168.73.0 netmask 255.255.255.0 { #修改网段
option routers 192.168.73.254; #指定网关
option domain-name-servers 1.1.1.1; #指定dns
option subnet-mask 255.255.255.0; #指定子网掩码
range dynamic-bootp 192.168.73.1 192.168.73.100; #指定地址池
default-lease-time 21600;
max-lease-time 43200;
next-server $next_server;
class “pxeclients” {
match if substring (option vendor-class-identifier, 0, 9) = “PXEClient”;
if option pxe-system-type = 00:02 {
filename “ia64/elilo.efi”;
} else if option pxe-system-type = 00:06 {
filename “grub/grub-x86.efi”;
} else if option pxe-system-type = 00:07 {
filename “grub/grub-x86_64.efi”;
} else if option pxe-system-type = 00:09 {
filename “grub/grub-x86_64.efi”;
} else {
filename “pxelinux.0”;
}
}
}
…下面省略…
5.将cobbler的DHCP文件进行同步
[root@centos7 ~]# cobbler sync
6.重启cobbler服务以及DHCP服务
[root@centos7 ~]# systemctl restart cobblerd
[root@centos7 ~]# systemctl start dhcpd
五、为cobbler配置系统镜像文件
1.将光盘挂载至一个空目录
[root@centos7 ~]# mount /dev/sr0 /mnt
2.将光盘内文件复制入cobbler,此步骤是将光盘的的文件复制至/var/www/cobbler/ks_mirror/目录下
[root@centos7 ~]# cobbler import –path=/mnt –name=Centos-6.10 –arch=x86_64
由于cobbler自带了KS文件,所以现在已经能够实现自动化安装系统了,若要实现使用自己定制的KS文件,来实现自动化安装看下面的补充。
补充
在实际生产环境中可能需要安装各种不同的定制化的系统,此时就需要准备各种不同的ks文件,并将文件与相对应的系统关联起来。
一、准备ks文件
1.ks文件可以在图形化界面通过system-config-kickstart进行生成,也手写(不建议)或使用已经装好的系统中,/root/anaconda-ks.cfg进行修改。此处以最小化安装ks文件为例。
此处需要注意的是在ks文件中使用network安装,要将url的路径设置为cobbler的内置变量
$tree
# Use network installation
url –url=$tree
2.ks6mini.cfg文件内容
[root@centos7 ~]# vim ks6.cfg
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall –disabled
# Install OS instead of upgrade
install
# Use network installation
url –url=$tree
# Root password
–iscrypted $1$6oVXZR1R$QOASc6inirmHCZmQ.W9Hg0
# System authorization information
auth –useshadow –passalgo=sha512
# Use text mode install
text
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux –disabled
# Do not configure the X Window System
skipx
# Installation logging level
logging –level=info
# Reboot after installation
reboot
# System timezone
timezone Asia/Shanghai
# Network information
network –bootproto=dhcp –device=eth0 –onboot=on
# System bootloader configuration
bootloader –location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart –all –initlabel
# Disk partitioning information
part /boot –fstype=”ext4″ –size=200
part / –fstype=”ext4″ –size=20000
part swap –fstype=”swap” –size=1024
%packages
@core
%end
二、将ks文件复制到cobbler的ks的仓库中
cobbler有自带的ks仓库,其目录在/var/lib/cobbler/kickstarts/,将所准备好的ks文件复制到此目录下
[root@centos7 ~]# cp ks6mini.cfg /var/lib/cobbler/kickstarts/
三、将ks文件与cobbler中的系统镜像相关联
1.首先查看下cobbler仓库中的ks文件关联列表以及cobbler中所存在的系统镜像
[root@centos7 ~]# cobbler profile list #此命令可以查看ks关联安装列表
Centos-6.10-x86_64 #此为刚才创建的安装列表
[root@centos7 ~]# cobbler distro list #此命令可以查看所存在的系统镜像
Centos-6.10-x86_64 #此为刚才导入的镜像
2.将ks6mini.cfg文件进行关联
[root@centos7 ~]# cobbler profile add –name=Centos-6.10-mini-x86_64 –distro=Centos-6.10-x86_64 –ks=/var/lib/cobbler/kickstarts/ks6mini.cfg
#–name:指定新的安装列表的名称
#–distro:指定所要关联的镜像名称
#–ks:指定ks文件所在的路径
[root@centos7 ~]# cobbler profile list #查看安装列表
Centos-6.10-mini-x86_64 #此为刚才所关联的项
Centos-6.10-x86_64
3.删除ks关联
由于cobbler所自带的关联安装方法,并不是我们想要的,所以我们需要将其从列表中删除,删除方法
[root@centos7 ~]# cobbler profile remove –name=Centos-6.10-x86_64 #删除列表
[root@centos7 ~]# cobbler profile list
Centos-6.10-mini-x86_64 #此时只剩下mini
基于web的cobbler管理
由于文本形式的cobbler的管理不太友好,我们也可以使用基于web的管理方法
一、安装cobbler-web
[root@centos7 mnt]# yum install cobbler-web -y
二、重启httpd服务
[root@centos7 mnt]# systemctl restart httpd
三、此时已经能访问cobbler的web界面
cobbler_web是基于ssl的,所以需要使用https协议,访问地址为:
https://XXX.XXX.XXX.XXX/cobbler_web
cobbler_web的账户和密码
cobbler默认账户和密码都为cobbler,此密码不够安全,我们需要对其加以修改。
一、authn_configfile验证方法
cobbler的验证文件存放在/etc/cobbler/modules.conf内部详细的说明了各种验证方法,默认的验证方法为configfile。
[root@centos7 mnt]# cat /etc/cobbler/modules.conf
# cobbler module configuration file
# =================================
# authentication:
# what users can log into the WebUI and Read-Write XMLRPC?
# choices:
# authn_denyall — no one (default)
# authn_configfile — use /etc/cobbler/users.digest (for basic setups)
# authn_passthru — ask Apache to handle it (used for kerberos)
# authn_ldap — authenticate against LDAP
# authn_spacewalk — ask Spacewalk/Satellite (experimental)
# authn_pam — use PAM facilities
# authn_testing — username/password is always testing/testing (debug)
# (user supplied) — you may write your own module
# WARNING: this is a security setting, do not choose an option blindly.
# for more information:
# https:///cobbler/cobbler/wiki/Cobbler-web-interface
# https:///cobbler/cobbler/wiki/Security-overview
# https:///cobbler/cobbler/wiki/Kerberos
# https:///cobbler/cobbler/wiki/Ldap
[authentication]
module = authn_configfile
添加用户和删除用户
auth_confile的用户名和密码存放在/etc/cobbler/users.digest中使用一下命令可以创建Cobbler的用户和密码
[root@centos7 mnt]# htdigest /etc/cobbler/users.digest Cobbler admin #注意此处Cobbler的C必须为大写
Adding user admin in realm cobbler
New password:
Re-type new password:
Cobbler删除用户只需要在/etc/cobbler/users.digest中找到用户相对应的行将其删除。
二、authn_pam的验证方法
1.修改验证文件/etc/cobbler/modules.conf中的authentication项,pam验证方法的用户名和密码存放在/etc/cobbler/users.conf文件中
[authentication]
module = authn_pam
2.基于pam验证的用户名和密码的创建
创建一个Linux用户
[root@centos7 mnt]# useradd -s /sbin/nologin cobbleradmin
[root@centos7 mnt]# echo 111111 | passwd –stdin cobbleradmin
Changing password for user cobbleradmin.
passwd: all authentication tokens updated successfully.
此时可以使用Linxu账户进行登陆cobbler_web
以上就是关于GG修改器免root版安装_gg修改器免root中文版下载安装,绿色的全部内容,游戏大佬们学会了吗?
gg修改器免root防闪退_gg修改器免root吾爱破解 分类:免root版 4,694人在玩 各位游戏大佬大家好,今天小编为大家分享关于gg修改器免root防闪退_gg修改器免root吾爱破解的内容,轻松修改游戏数据,赶快来一起来看看吧。 一、去掉充电提示音 图1 随着MIUI升……
下载无root gg修改器下载,无root gg修改器下载轻松实现游戏修改 分类:免root版 4,089人在玩 无root gg修改器是一款非常实用的手机应用程序。它能够帮助用户轻松地修改各种安卓游戏,从而让你在游戏中轻松获得更多的资源和优势。 无需root权限,安全可靠 相比其他的游戏修改……
下载gg修改器root在哪开,下载地址:GG修改器root在哪开 分类:免root版 2,292人在玩 GG修改器root在哪开,相信很多玩家都有过这样的烦恼。随着游戏的普及,越来越多的玩家开始使用修改器来优化游戏体验。而GG修改器作为一款常用的游戏辅助工具,可以帮助玩家在游戏中……
下载gg修改器免root2.0,下载 gg修改器免root2.0 软件,畅享游戏乐趣 分类:免root版 4,029人在玩 如果你是一位游戏爱好者,想要在游戏中拥有更多的优势和乐趣,那么 gg修改器免root2.0 软件绝对是你不可错过的利器。该软件可以帮助你轻松地修改游戏数据,提高游戏体验。 简单易用……
下载gg修改器root在哪下载_gg修改器怎么弄root 分类:免root版 6,135人在玩 各位游戏大佬大家好,今天小编为大家分享关于gg修改器root在哪下载_gg修改器怎么弄root的内容,轻松修改游戏数据,赶快来一起来看看吧。 IT之家(www.):升级内核,UC浏览器电脑版……
下载王者荣耀段位修改器2021下载,王者荣耀段位修改器不封号 分类:免root版 7,615人在玩 hell小伙伴们大家好,小编又来给大家送福利了!你还在寻找一款强大的辅助器吗?今天小编带来这款王者荣耀段位修改器是2021年最新的一款不封号修改器,这是一个功能强大的游戏修改……
下载gg修改器免root西西_gg修改器免root怎么用 分类:免root版 5,509人在玩 各位游戏大佬大家好,今天小编为大家分享关于gg修改器免root西西_gg修改器免root怎么用的内容,轻松修改游戏数据,赶快来一起来看看吧。 到底需要虐待多少只猫,才能拍出来这么多视……
下载gg修改器怎么绕过root_gg修改器绕过检测 分类:免root版 5,986人在玩 各位游戏大佬大家好,今天小编为大家分享关于gg修改器怎么绕过root_gg修改器绕过检测的内容,轻松修改游戏数据,赶快来一起来看看吧。 “这可能是近期内最需要重视的sudo漏洞。” 程……
下载gg免root修改器8.,下载gg免root修改器8,让你轻松修改游戏数据 分类:免root版 2,777人在玩 作为一款强大的游戏修改工具,gg免root修改器8可以让玩家轻松地修改他们喜欢的游戏。不需要root权限,使用起来非常方便。 简单易用的界面 gg免root修改器8的用户界面非常简单直观……
下载方舟gg修改器要root吗,方舟gg修改器:下载无需root,轻松修改游戏 分类:免root版 2,558人在玩 方舟gg修改器是一款非常实用的游戏修改工具。与大多数修改工具不同的是,方舟gg修改器可以在不需要root权限的情况下运行,这使得它成为了很多玩家的首选。 简单易用,轻松修改游戏 ……
下载