반응형

Linux 440

openmpi 사용법 (Open MPI:Open Source High Performance Computing)

openmpi 설치 방법 Open MPI:Open Source High Performance Computing master PC 하나 slave PC 하나 총 2개 장비를 셋팅을 하자. master PC 에도 키를 우선 만들자. $ ssh-keygen -t rsa -P "" Generating public/private rsa key pair. Enter file in which to save the key (/home/sim716/.ssh/id_rsa): /home/test6/.ssh/id_rsa already exists. Overwrite (y/n)? y Your identification has been saved in /home/test6/.ssh/id_rsa. Your public key ha..

Linux 2023.03.09

subversion(svn) log 설정하기

subversion(svn) log 설정하기 기본적으로 subversion 은 apache 설정하여 access 로그를 수집할 수 있다. 하지만 위와 같이 수집을 하면 저상태로 보여서 보기가 힘들다. 수정은 http 80 포트로 설정 할거면 # vi /etc/httpd/conf/httpd.conf 파일을 열어서 LogFormat "%{%Y-%m-%d %T}t %u@%h %>s repo:%{SVN-REPOS-NAME}e %{SVN-ACTION}e (%B Bytes in %T Sec)" svn CustomLog logs/subversion_log svn env=SVN-ACTION https 844 포트로 설정 할거면 # vi /etc/httpd/conf.d/ssl.conf 파일을 열어서 LogFormat "..

Linux 2023.03.05

centos7 install gcc 4.9.x

centos7 install gcc 4.9.x 하는 방법이다. centos7 gcc 최신 버전은 # gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 4.8.5 버전이다 yum 으로 설치해도 4.8.5 이상 안올라간다. 수동으로 설치를 진행해야 한다. 우선 선행으로 설치 되어야 할것들이 있다. yum..

Linux 2023.02.26

SyntaxError: Missing parentheses in call to 'print'

SyntaxError: Missing parentheses in call to 'print' python 구동을 했는데 위와 같이 에러가 발생이 된다. 이유는 간단하다 python2 와 python3 버전에 print 사용시 형식이 변경이 되어서 그렇다. python2 버전에서는 print "Initialize arrays for %d million of elements" % FACTOR 위와 같이 표현을 했다면 python3 버전에서는 print ("Initialize arrays for %d million of elements") % FACTOR 적어주면 위 에러 없이 정상 작동이 된다.

Linux 2023.02.15

does not support the http/dav protocol

does not support the http/dav protocol 위와 같이 svn 관련 에러가 발생을 한다면 Tortoise SVN 버전이 높아서 그렇다. Tortoise SVN 1.11 이하 버전으로 사용을 하자. https://osdn.net/projects/tortoisesvn/storage/1.10.5/Application/ Downloading File /1.10.5/Application - TortoiseSVN - OSDN Free download page for Project TortoiseSVN's Application.TortoiseSVN is a Subversion (SVN) client, implemented as a windows shell extension. Which mea..

Linux 2023.02.09

openmpi 설치 방법 (Open MPI:Open Source High Performance Computing)

openmpi 설치 방법 Open MPI:Open Source High Performance Computing centos8 환경에서 설치를 진행 했다. https://www.open-mpi.org/software/ompi/v4.1/ Open MPI: Version 4.1 Changes in this release: See this page if you are upgrading from a prior major release series of Open MPI. It shows the Big Changes for which end users need to be aware. See the NEWS file for a more fine-grained listing of changes between each r..

Linux 2023.01.25

Application secret key is invalid. Please check the configuration details.

위와 같이 에러가 발생 한다면 우선 https://portal.azure.com/ 사이트 가자. 위 사이트 들어가서 Azure Active Directory 눌러보자. 앱 등록 클릭 디렉터리의 모든 애플리케이션 보기 클릭 여러개가 나온다 맨 위에 있는 ManageEngine M365 클릭 위와 같이 뜨는데 리다렉션 URL 클릭 플랫폼 쿠가 선택 웹 선택 그리고 주소를 입력 http://localhost:8365/webclient/GrantAccess 또는 https://192.345.679.345:8365/webclient/GrantAccess . 둘중 하나 입력 하고 구성을 누르면 업데이트 완료 된다. 마찬가지로 http://localhost:port_number/AADAppGrantSuccess.do..

Linux 2023.01.22

nfs chmod: changing permissions of Operation not permitted

nfs chmod: changing permissions of Operation not permitted nfs 로 mount 된 폴더에 파일을 생성을 한 후에 chmod 777 권한으로 파일을 만들어줬어도 다른 계정으로 해당 폴더에 가서 chmod 로 권한을 변경하려 하면 nfs chmod: changing permissions of Operation not permitted 위와 같이 에러가 발생 된다. 예를 들어 nfs mount 가 된 /data 폴더가 있다고 가정해보자. A 라는 계정으로 /data 폴더에 들어가서 a.txt 파일을 생성 하고 chmod 777 a.txt 권한을 주면 B 라는 계정으로 /data 폴더에 들어가서 a.txt 파일을 수정을 할 수 있지만 chmod 을 이용한 권한 수..

Linux 2023.01.20

yum cannot prepare internal mirrorlist no urls in mirrorlist

# yum install update Repository extras is listed more than once in the configuration CentOS Linux 8 - AppStream 50 B/s | 38 B 00:00 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist yum 설치 하면 위와 같이 에러가 발생 할때가 있다. 서비스 종료로 repo 경로가 변경된 경우가 그렇다. 이럴때는 repo 경로에 있는 파일을 수정 해주면 된다. sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/..

Linux 2023.01.18

리눅스 환경 CPU 온도 확인하기 xsensors, lm_sensors

리눅스 환경 CPU 온도 확인하기 보통 sensors 를 많이 사용한다. GUI 환경의 xsensors text 환경의 lm_sensors 설치 방법은 우선 xsensors # yum install xsensors Loaded plugins: fastestmirror, langpacks Determining fastest mirrors base | 3.6 kB 00:00:00 epel | 4.7 kB 00:00:00 extras | 2.9 kB 00:00:00 updates | 2.9 kB 00:00:00 (1/3): epel/x86_64/group_gz | 98 kB 00:00:00 (2/3): epel/x86_64/updateinfo | 1.0 MB 00:00:00 (3/3): epel/x86_64/..

Linux 2023.01.09

testdisk 사용법

testdisk 사용방법 이다. 리눅스 윈도우 버전이 있다. 리눅스 버전은 yum 으로 설치가 가능하다. # yum install testdisk 윈도우 버전은 https://www.cgsecurity.org/wiki/TestDisk_Download TestDisk Download Download TestDisk & PhotoRec. TestDisk is a free and open source data recovery software tool designed to recover lost partition and unerase deleted files. PhotoRec is a file carver data recovery software tool. www.cgsecurity.org 우선 테스트 삼아서 ..

Linux 2022.11.21
728x90
반응형