CentOS

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 […]

Continue Reading
Linux 공통

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 확인 […]

Continue Reading
XenServer

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]  

Continue Reading
XenServer

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  

Continue Reading
XenServer

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    

Continue Reading
Back To Top