본문 바로가기

OS-OE Knowledge/Linux-Unix KB117

Note. ipmitool 명령 Show BMC Information # ipmitool lan print 1 # ipmitool mc info # ipmitool bmc info BMC IP Setting a. set static # ipmitool lan set 1 ipsrc static b. Set IP address # ipmitool lan set 1 ipaddr 192.168.15.2 c. Set Subnet/Netmask # ipmitool lan set 1 netmask 255.255.255.0 d. Set Default Gateway # ipmitool lan set 1 defgw ipaddr x.x.x.x e. Enable device. # ipmitool lan set 1 access on x.x.x.x Reset .. 2024. 1. 12.
Ubuntu/Manage netowork on Ubuntu 20.04.2 LTS Manage netowork on Ubuntu 20.04.2 LTS 1. Bringing interfaces up/down Two methods can be used to bring interfaces up or down. a. Using "ip" Usage: # ip link set dev up # ip link set dev down Example: # ip link set dev eth0 up # ip link set dev eth0 down b. Using "ifconfig" Usage: # /sbin/ifconfig up # /sbin/ifconfig down Example: # /sbin/ifconfig eth0 up # /sbin/ifconfig eth0 down 출처: https://tld.. 2023. 10. 20.
Ubuntu/Offline Repository 구성 Ubuntu Offline Repository 구성 일이 있어, Test를 하려니 Network가 기본으로 잡히지 않았다 ... Intel I350 part인데, 왜 안되지 ... igb driver를 설치하려니, gcc와 make가 없어 불가하다고 ... 천상 iso에서 설치해야 해서 ... offline repository 구성... 1. enable Ubuntu root # sudo passwd root > create root password 2. Remove repository data # rm /etc/apt/sources.list.d/* # mv /etc/apt/sources.list /etc/apt/sources.list.org 3. create mount point # mkdir -p /.. 2023. 10. 19.
Linux Host/Install Infiniband OFED driver Linux Host – OFED Driver 설치 무작정 따라하기 Test Model: DL380 Gen10 1. Set WP w/ UEFI boot mode a. Restore Set Default b. Set WP to HPC. 2. Install RHEL 8.7 - Server with GUI 3. prerequisite # mkdir -p /media/odd # mount -t iso9660 -o loop /tmp/RHEL-8.7.0-20221013.1-x86_64-dvd1.iso /media/odd or # mount -o loop /dev/cdrom /media/odd # vim /etc/yum.repos.d/odd.repo [RHEL8DVD_BaseOS] name=RHEL8DVD_BaseOS.. 2023. 7. 7.
Red Hat - 2023 Legends of Linux TRIVIA Red Hat free badge event 몇 문제의 퀴즈를 풀고 나면, 뱃지를 얻을 수 있다! 이름 물어보길래, 이름 새겨주나 했더니 ... 그건 아닌듯 ... What is Linux? https://www.redhat.com/en/topics/linux/what-is-linux How well do you know Linux? Red Hat is offering three nifty badges for Linux® lovers and badge collectors alike. https://redhatdg.co1.qualtrics.com/jfe/form/SV_bjRFSHqPdTpIjoa?Q_R=R_2xWsDMYVUqedzyX&Choose_Quiz=true&Q_R_DEL=1 2023. 3. 28.
Linux 원하는 해상도 설정하기 (Revised) 1. 사용 가능 해상도 확인 (GUI 실행) # xrandr -q # xrandr Note. 결과에 현재 변경 가능한 해상도 외 특정 장치에 연결된 정보가 표시된다. (e.g.) VGA-1 connected, 연결 장치는 장치마다 다르게 표시될 수 있음) 2. cvt 명령으로 변경하고자 하는 해상도의 modeline 확인 (변경 가능 해상도가 없는 경우) # cvt 1600 960 -------------------------- # 1600x960 59.92 Hz (CVT) hsync: 59.68 kHz; pclk: 127.00 MHz Modeline "1600x960_60.00" 127.00 1600 1696 1864 2128 960 963 973 996 -hsync +vsync ------------.. 2023. 3. 9.
How disable Linux firewall (Revised) Check Status # systemctl status firewalld Start and Stop # systemctl start firewalld # systemctl stop firewalld Enable and Disable # systemctl disable firewalld # systemctl enable firewalld Legacy - ipchains/iptables Stop ipchains. # service ipchains stop Stop iptables. # service iptables stop Disable ipchains. # chkconfig ipchains off Disable iptables. # chkconfig iptables off 2023. 3. 8.
Linux/check WWN and state of port(s) Linux WWN 확인: System 장착된 HBA 정보 # ll /sys/class/scsi_host 위 명령의 결과에서, HBA hostXX 정보 확인 후, # cat /sys/class/scsi_host/hostXX/port_name # cat /sys/class/scsi_host/hostXX/port_state 참조 툴: Fibreutils for HPE Storage Fibre Channel Host Bus Adapters for Linux -Red Hat Enterprise Linux (RHEL) https://support.hpe.com/connect/s/softwaredetails?softwareId=MTX_1dbf71983b26453da634c97ee4&language=en_US&tab=.. 2022. 9. 2.
CUDA/Sample 설치 중, cannot find -lglut 발생 freeglut package 설치로 해소 가능 Ubuntu $ sudo apt-get install freeglut* RHEL # yum install freeglut* 2022. 8. 25.
반응형