1. Command certutil -hashfile [File] MD5
Category: OS
set timezone
1. Intro Set timezone 2. Command ll /usr/share/zoneinfo/Asia/Seoul sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
Clean unuse kernel
1. Intro If you have an old kernel that you are not using, you should delete it. Because it fill up the /boot capacity. 2. How to do? 2.1. check kernel & check disk usage # current kernel uname -a # list kernel rpm -q kernel cat /etc/grub.conf | grep title # disk usage […]
Change interface name
1. Intro If change interface name, then modify rules file ex> eth1 → eth0 2. How to do? vi /etc/udev/rules.d/70-persistent-net.rules ; PCI device 아래 주석 삭제
screen
1. Intro Use multiple shell windows from a single SSH session. Keep a shell active even through network disruptions. Disconnect and re-connect to a shell sessions from multiple locations. Run a long running process without maintaining an active shell session. ref> https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/ 2. Install yum install screen 3. Command # session list 확인 […]
Show MailPlus maillog
1. Command tail -f /var/packages/MailPlus-Server/target/var/aggr_log/aggr_maillog
Outlook 초기화
1. How to? Delete Registry key HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook
Export & Import
1. vm export xe vm-list xe vm-export vm=[vm-name] compress=true filename=[Path ex> /backup/vm0001.xva] 2. snapshot export xe snapshot-list xe snapshot-export-to-template snapshot-uuid=[vm uuid] filename=[Path ex> /backup/vm0001.xva] 3. vm import xe vm-import filename=[Path ex> /backup/vm0001.xva]
Network Bridge 설정
1. Intro XenServer Network Bridge 설정 2. How to? 2.1. set switch mode cat /etc/xensource/network.conf xe-switch-network-backend bridge xe-switch-network-backend openvswitch cat /etc/xensource/network.conf 2.2. set forward vi /etc/sysctl.conf net.ipv4.ip_forward=1 sysctl -p /etc/sysctl.conf
Change XenCenter Port
1. Intro When you want to change the connection port of XenServer. Default Port: 443 2. How to do a. edit xapissl file vi /opt/xensource/libexec/xapissl 22 #ACCEPT=$2 ; comment 23 ACCEPT=[PORT] ; Add New line b. restart service systemctl restart xapi c. check port netstat -antup | grep stunnel