YUMSERV
dmidecode 사용법
LINUX/BASIC 2020. 11. 5. 08:18

메인보드 확인# dmicode -t baseboard # dmidecode -t baseboard# dmidecode 3.2Getting SMBIOS data from sysfs.SMBIOS 3.0 present. Handle 0x0002, DMI type 2, 15 bytesBase Board InformationManufacturer: SupermicroProduct Name: X11SSL-FVersion: 1.01Serial Number: VM185S035623Asset Tag: To be filled by O.E.M.Features:Board is a hosting boardBoard is replaceableLocation In Chassis: To be filled by O.E.M.Chassi..

Centos7 rc-local 활성화
LINUX/BASIC 2020. 9. 7. 11:53

[root@localhost ~]# systemctl status rc-local● rc-local.service - /etc/rc.d/rc.local Compatibility Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static; vendor preset: disabled) Active: inactive (dead) Docs: man:systemd-rc-local-generator(8) [root@localhost ~]# systemctl list-unit-files | grep rc-localrc-local.service static [root@localhost ~]# vi /usr/lib/systemd/system/rc-local.ser..

article thumbnail
리눅스 서버 내 온도 확인
LINUX/BASIC 2019. 7. 30. 05:11

서버 내 온도 확인하는 방법lm_sensors 라는 패키지를 통해서 확인할 수 있습니다.lm_sensors는 하드웨어의 온도 및 전압을 체크해주는 패키지입니다. [설치하는 방법] CentOS# yum install lm_sensors Ubuntu# apt-get install lm_sensors 설치가 완료되면, 실행하는 방법은 아래와 같습니다. # sensors-detect 처음에 실행할 때에는 모니터할 하드웨어를 체크하는 부분으로 yes로 선택한 뒤에, 추후에 수정해서 사용하면 됩니다. # sensors 위와 같이 실행하게 되면, 현재 cpu의 온도를 확인할 수 있습니다.

article thumbnail
Telegram 설치
LINUX/BASIC 2019. 7. 24. 21:59

1. 필수 패키지 설치# yum install libevent-devel openssl-devel readline-devel libconfig-devel lua-devel git wget gcc* # cd /usr/local/src# wget http://www.digip.org/jansson/releases/jansson-2.10.tar.gz# tar zxvf jansson-2.10.tar.gz# cd jansson-2.10# ./configure# make# make install 2. telegram 설치# cd /usr/local/# /usr/bin/git clone --recursive https://github.com/vysheng/tg.git# cd tg# ./configure# make 3..

FTP 접속 에러
LINUX/BASIC 2019. 7. 17. 15:10

에러)응답 : 500 OOPS: cannot change directory:/home/계정명 해결방안) SELINUX 정책에서 FTP 관련으로 겁색한다# getsebool -a |grep ftpallow_ftpd_anon_write --> offallow_ftpd_full_access --> offallow_ftpd_use_cifs --> offallow_ftpd_use_nfs --> offftp_home_dir --> offftpd_connect_db --> offftpd_use_fusefs --> offftpd_use_passive_mode --> offhttpd_enable_ftp_server --> offtftp_anon_write --> offtftp_use_cifs --> offtftp_use..

Coredump 생성
LINUX/BASIC 2019. 6. 29. 21:43

※ CentOS 7 , Apache 2.4 에서 테스트 진행 기본적으로 linux 서버에서는 coredump가 생성되지 않습니다. 1. 해당 설정 보는 방법# ulimit -acore file size (blocks, -c) 0data seg size (kbytes, -d) unlimitedscheduling priority (-e) 0file size (blocks, -f) unlimitedpending signals (-i) 7166max locked memory (kbytes, -l) 64max memory size (kbytes, -m) unlimitedopen files (-n) 1024pipe size (512 bytes, -p) 8POSIX message queues (bytes, -q) 8..

python3 소스설치
LINUX/BASIC 2019. 6. 4. 16:34

python 공식 홈페이지 : https://www.python.org/ ※ CentOS 7 환경에서 셋팅 진행 CentOS7에서는 python 버전은 2.7 버전입니다. # pythonPython 2.7.5 (default, Aug 4 2017, 00:39:18)[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2Type "help", "copyright", "credits" or "license" for more information. 1) 필수 패키지 설치# yum groupinstall "Development Tools"# yum install readline-devel 2) 소스설치python 공식홈페이지에서 소스파일을 다운로드 받습니다. # cd /usr/l..

article thumbnail
Git 설치 및 설정
LINUX/BASIC 2019. 6. 3. 23:28

1. Github 계정 생성https://github.com/위에 사이트에 들어가서 계정을 생성합니다. 2. Git 설치 및 초기설정 1) yum 설치# yum install git # rpm -qa | grep gitgit-1.7.1-9.el6_9.x86_64xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64 2) git 연동할 폴더 생성# mkdir git# cd git 3) 초기셋팅# git config --global user.name "계정명"# git config --global user.email 이메일주소 초기셋팅 확인# git config --listuser.name=계정명user.email=이메일주소core.repositoryformatversion=0..

nmon 설치
LINUX/BASIC 2019. 6. 3. 12:10

nmon이란 top 명령어와 같이, 시스템의 정보를 볼 수 있는 툴입니다. nmon 홈페이지 : http://nmon.sourceforge.net/pmwiki.php?n=Site.Download 위 사이트에서 해당하는 os를 다운받아서 진행합니다. ※ 설치 환경 : CentOS 7 1) nmon 설치# wget http://sourceforge.net/projects/nmon/files/nmon16e_mpginc.tar.gz# tar xvfz nmon16e_mpginc.tar.gz # cp -arp nmon_x86_64_centos7 /usr/bin/nmon# nmon

CentOS vncserver 구축
LINUX/BASIC 2019. 6. 1. 15:27

※ CentOS 7 설치 환경으로 진행 [GUI 환경으로 설치 진행]# yum groupinstall "X Windows System" "GNOME Desktop"# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target# reboot 1. xrdp 설치 # yum install epel-release -y# yum install xrdp# service xrdp start # netstat -nltp | grep xrdptcp 0 0 127.0.0.1:3350 0.0.0.0:* LISTEN 13350/xrdp-sesman tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 13351/xrdp 2. VN..