随笔分类 - linux
摘要:[root@localhost yum.repos.d]# yum remove device-mapper-persistent-dataLoaded plugins: langpacks, ulninfoResolving Dependencies--> Running transaction
阅读全文
摘要:1、yum install [root@localhost yum.repos.d]# yum install -y yum-utils device-mapper-persistent-data lvm2 2、rpm -qa查询安装 [root@localhost yum.repos.d]# rp
阅读全文
摘要:配置3台服务器SSH 互信: 1)打开ssh配置文件,启用以下选项 RSAAuthentication yes #允许RSA认证 PubkeyAuthentication yes #允许公钥认证 AuthorizedKeysFile .ssh/authorized_keys #公钥存放地址 Perm
阅读全文
摘要:解决办法: 1. 更换MAC地址,步骤如下: 1) 打开虚拟机设置,找到网络适配器,选择高级选项 2)点击生成就可以更换mac地址.并复制备用,点击确定 3) 开启虚拟机,登录后,打开eth0的配置文件 ,网卡要与刚才生成的一致才可以 2.接下来删掉设备管理器下的70-persistent-net.
阅读全文
摘要:Server With GUI +Compatility libraries+ Development Tools 关闭图形化: systemctl set-default multi-user.target 关防火墙: #systemctl stop firewalld #systemctl di
阅读全文
摘要:https://blog.csdn.net/helloexp/article/details/89377270 漏洞影响范围,直接看官方公告: 总结起来漏洞影响范围如下: tomcat 7.0.04之前 tomcat 8.5.40之前 tomcat 9.0.19之前 版本都会影响 (tomcat 服
阅读全文
摘要:sed -i /HISTSIZE/s/=1000/=0/g /etc/profile source /etc/profile
阅读全文
摘要:在rhel 7.4中安装oracle 12c时发现未安装后者需要要的glibc-devel(32位),但已安装了64位的,rhel 7.4的光盘映像文件中取得rpm ##yum -y install libfreebl3.so rpm -ivh glibc-devel-2.17-196.el7.i6
阅读全文
摘要:[root@localhost network-scripts]# systemctl start networkJob for network.service failed because the control process exited with error code. See "syste
阅读全文
摘要:当前文件夹中删除除了install_agent之外的文件 [oracle@mysql ~]$ ls -lrttotal 1478408-rwxr-x 1 oracle oinstall 747358549 Sep 30 2016 agentcore.bin-r-xr-x 1 oracle oinst
阅读全文
摘要:find /home -size +512k 查大于512k的文件find /home -size -512k 查小于512k的文件 find /home -size 2m 查大小等于2M的文件 #-print 将查找到的文件输出到标准输出#-exec command {} \; —–将查到的文件执
阅读全文
摘要:[weblogic@hdp-01 ~]$ xhost +No protocol specifiedxhost: unable to open display "192.168.56.1:0.0"[weblogic@hdp-01 ~]$ env|grep DISPLAYDISPLAY=192.168.
阅读全文
摘要:[root@esyxjkdb1bin]# rpm -qa|grep jdk java-1.7.0-openjdk-1.7.0.79-2.5.5.4.el6.x86_64 java-1.6.0-openjdk-devel-1.6.0.35-1.13.7.1.el6_6.x86_64 java-1.7.
阅读全文
摘要:虚拟机设置CD/DVD(IDE)-->使用ISO映像文件(安装包)[root@hdp-03 yum.repos.d]# ls -l /dev/|grep cdromlrwxrwxrwx. 1 root root 3 Mar 21 00:57 cdrom1 -> sr0crw-rw . 1 root
阅读全文
摘要:VMware Workstation 不可恢复错误Exception 0xc0000005 (access violation) has occurred. 解决方法:删除或修改虚拟机目录下拓展名为.vmss文件,再次启动即可,特别是虚拟机非正常关闭或者挂起导致的问题。
阅读全文
摘要:xmanager出不了图形化-解决如下: export DISPLAY=IP:XX.0 在本地 ipconfig 输出如下: 以太网适配器 VMware Network Adapter VMnet8: 连接特定的 DNS 后缀 . . . . . . . : 本地链接 IPv6 地址. . . .
阅读全文
摘要:Xmanager图形化卡住了,点不动,点关闭按钮也么有反应? 这是由于本地设备与主机或者服务器设备冲突引起的。 具体解决办法: 右键右下角Xmanager图标 属性 设备 鼠标设置 3按钮仿真(同时单击向左按钮和向右按钮)选项取消勾选。
阅读全文