麒麟V10操作系统安装达梦DM8常见问题分享
<div class="articleContent-container" data-v-86410b00="" data-v-7a13c586=""><div class="articleContent-content markdown-body v-show-content" data-v-86410b00="" data-v-7a13c586="">
<h1><img src="https://img2023.cnblogs.com/blog/27422/202306/27422-20230629183214270-585395932.jpg"></h1>
<h1>一、麒麟V10关闭防火墙</h1>
<p>kylinV10系统或linux系统关闭启动防火墙<br>开启防火墙并设置开机自启<br>启动: systemctl start firewalld<br>关闭: systemctl stop firewalld<br>查看状态: systemctl status firewalld<br>开机禁用 : systemctl disable firewalld<br>开机启用 : systemctl enable firewalld</p>
<h1>二、如何解决 xshell、crt 等连接工具无法连接麒麟V10问题.</h1>
<p>shell 连接不上麒麟V10 不兼容导致<br>vi /etc/ssh/sshd_config<br>末尾插入<br>KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1<br>保存后,重启服务,再次连接即可<br>systemctl restart sshd</p>
<h1>三、如何配置麒麟V10 yum源</h1>
<p>1、挂载镜像<br>将上传好的iso镜像文件上传至服务器制定目录:<br># mkdir /home/iso/<br># cd /home/iso/<br># ll<br>总用量 4243844<br>-rw-r--r-- 1 root root 4345694208 8月 18 16:42 Kylin-Server-10-SP2-Release-Build09-20210524-x86_64.iso<br>查看OS镜像对应的设备符号<br># ls /dev/sr*<br>/dev/sr0<br>挂载镜像<br>mount -o loop /home/iso/Kylin-Server-10-SP2-Release-Build09-20210524-x86_64.iso /mnt/</p>
<p>2、配置本地yum源<br>备份yum源<br>cd /etc/yum.repos.d<br>mkdir bak<br>mv *.repo bak<br>新建本地yum源</p>
<p>vi /etc/yum.repos.d/kylin_x86_64.repo<br>内容如下:<br><br>name=kylin_x86_64.repo<br>baseurl=file:///mnt<br>enabled=1<br>gpgcheck=0<br>其中,baseurl中file路径为镜像挂载路径,与挂载目录“/mnt”对应。</p>
<p>使yum源生效:<br>yum clean all<br>yum makecache<br>yum list</p>
<p>3、验证<br>yum install httpd -y<br>本地yum源搭建完成。</p>
<h1>四、麒麟V10如何修改主机名</h1>
<p>临时修改方法:打开终端,输入 hostnamectl set-hostname 主机名命令快速修改,重启主机失效。<br>永久修改方法:</p>
<p>(1) 打开终端,在终端上执行以下步骤;</p>
<p>(2) sudo vim /etc/hostname,修改该文件里显示的主机名后保存退出;</p>
<p>(3) sudo vim /etc/hosts,修改该文件里显示的主机名后保存退出;</p>
<p>(4) 以上两处都修改后,重启主机即可生效。</p>
<h1>五、银河麒麟操作系统进入系统后部分菜单不全,如何修改分辨率</h1>
<p>xrandr -s 1920x1200_60</p>
</div>
</div>
<div class="article-support" data-v-86410b00="" data-v-7a13c586=""> </div>
</div>
<div id="MySignature" role="contentinfo">
<p>本文来自博客园,作者:古道轻风,转载请注明原文链接:https://www.cnblogs.com/88223100/p/Sharing-of-common-problems-with-installing-Da-Meng-DM8-on-Kylin-V10-operating-system.html</p><br><br>
来源:https://www.cnblogs.com/88223100/p/Sharing-of-common-problems-with-installing-Da-Meng-DM8-on-Kylin-V10-operating-system.html
頁:
[1]