sudo su 는 root 계정으로 바꾸기는 하지만 1. root 계정의 환경변수를 가져오지 않는다. 2. root의 암호를 물어보지 않는다. (현재 계정의 암호를 물어본다.) 둘 다 현재 경로를 변경하지는 않는다.
Category: Linux
1. Google에서 pycharm을 검색 2. Download 클릭 3. ~/Downloads/pycharm-community-2019.2.tar.gz 파일 확인 (2019.08.21 기준 최신 버전) & 압축 해제 tar xvfz pycharm-community-2019.2.tar.gz 4. bin 디렉토리로 이동 및 실행 cd pycharm-community-2019.2/bin/ ./pycharm.sh 5. pycharm 실행 종료 6….
grep avx /proc/cpuinfo grep avx2 /proc/cpuinfo
Download “dlib-19.16.tar.bz2” at “http://dlib.net”. tar xvf dlib-19.16.tar.bz2 cd dlib-19.16 python setup.py installpython3 setup.py install —————– Shared Library —————– mkdir shared_buildcd shared_buildcmake -DBUILD_SHARED_LIBS=1 -DUSE_AVX_INSTRUCTIONS=ON ..cmake –build . –config Releasemake install # AVX works on processors released…
There is no excerpt because this is a protected post.
apt-get install [package name];cd /var/cache/apt/archives;dpkg -i [package name].deb; pip(3) download [package name];pip(3) install [package name].whl;
apt install exfat-fuse exfat-utils
Environment Date: 2018.11.28 OS: Ubuntu 18.04 Graphic Card: NVIDIA Geforce 2080ti Python: 3.6.7 NVIDIA Drive & Cuda 10.0 rm /etc/apt/sources.list.d/cuda*; apt remove nvidia-cuda-toolkit; apt remove nvidia-*; apt update; apt-key adv –fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub; bash -c ‘echo…
Environment Date: 2018.06.15 OS: Ubuntu 18.04 Graphic Card: NVIDIA Geforce 1070 TensorFlow version: 1.80 Graphics Driver # add-apt-repository ppa:graphics-drivers/ppa # apt update # apt install nvidia-390 # nvidia-smi CUDA 9.0 # dpkg -i cuda-repo-ubuntu1704-9-0-local_9.0.176-1_amd64.deb #…
add-apt-repository [repository name] [GIMP 설치 예] add-apt-repository ppa:otto-kesselgulasch/gimp apt-get update apt-get install gimp
[apt-get update] 사용 가능한 패키지의 리스트를 업데이트한다. 즉, 최신 버전의 패키지가 있는지 확인하는 과정. [apt-get upgrade] 패키지 리스트를 참고하여 이미 설치되어 있는 패키지의 최신 버전을 설치한다. 둘 중 하나가 다른 하나를 자동적으로 수행하지 않는다. 따라서,…
******************************************************************************* * * WARNING: ‘check-rpaths’ detected a broken RPATH and will cause ‘rpmbuild’ * to fail. To ignore these errors, you can set the ‘$QA_RPATHS’ * environment variable which is a bitmask allowing the values…
yum install -y http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm yum install exfat-utils fuse-exfat
~/.config/google-chrome/Default
1. CTAN 사이트에서 해당 패키지명.zip 파일을 다운로드한다. 2. /usr/share/texlive/texmf-dist/tex/latex 위치에 해당 패키지명으로 디렉토리를 생성한다. 3. 다운로드한 .zip 파일 압축을 풀고 .sty 파일들을 새로 생성한 디렉토리에 복사한다. 4. texhash를 실행해준다.
su yum install yum-utils yum-builddep python curl -O https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tgz tar xvf Python-3.5.2.tgz cd Python-3.5.3 ./configure make -j32 make install exit
su vi /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub yum install google-chrome-stable exit google-chrome
find ./ -name “*.h” -exec sed -i ‘s/Dexter Digital/Dexter Studios/g’ {} \;
한글 완성형 :se enc=korea 유니코드 :se enc=utf8
import site site. getsitepackages()[0]
gcc -shared libMySharedLibrary.so `ls *.o` The *.o files must be compiled with -fPIC or -fpic option.
1. Download lapack-3.5.0.tgz (http://www.netlib.org/lapack/#_lapack_version_3_5_0_2) 2. tar xvf lapack-3.5.0.tgz 3. cd lapack-3.5.0/BLAS/SRC 4. gfortran -c -o3 *.f 5. ar rv libblas.a *.o 6. cp libblas.a /usr/local/lib 7. cd ../../SRC 8. gfortran -c -o3 *.f 9. ar…
Add the following two lines in ~/.vimrc autocmd BufReadPre SConstruct set filetype=python autocmd BufReadPre SConscript set filetype=python
default viewport에서 이미 생성되어 있는 display list를 Viewport 2.0에서 call하는 것은 문제가 되지 않지만, Viewport 2.0에서 새로운 display list를 생성하거나, 존재하는 display list를 삭제할 때 Maya가 죽는다.
[설치] yum install gtk-recordmydesktop mencoder [실행] gtk-recordMyDesktop [사용법] 영역 (또는 윈도우) 지정 Save As로 저장될 파일 지정 (.ogv) Record로 녹화 시작 Alt + Ctrl + S로 녹화 종료 [ogv -> avi 변환] mencoder -idx input.ogv…
1. git 설치 및 계정 생성 (client->server) ssh root@11.22.33.44 #ssh로 원격 서버(여기서는 IP주소가 11.22.33.44라고 가정)에 접속 root@11.22.33.44’s password: [server의 root 암호 입력] yum install git #git 설치 adduser git #git 계정 생성 (git이 아닌 다른 이름도 상관없음) passwd git #git 암호…
There is no excerpt because this is a protected post.
1. Download a rpm file for thunderbird on internet accessible PC. yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm yumdownloader thunderbird 2. Install thunderbird. sudo rpm -ivh thunderbird-24.7.0-1.el7.x86_64.rpm 3. You may meet an error message like this: error: Failed dependencies:…
CentOS 7.x에서 nVidia driver 설치시 Nouveau를 disable 시켜야 한다면서 설치가 안될 때, su yum update yum install kernel-devel kernel-headers gcc make uname -r을 이용하여 출력한 커널 버전과 rpm -q kernel-devel을 이용하여 출력한 커널 버전이 다르다면,…
OSL (Open Shading Language) 설치시 LLVM을 필요로 한다. LLVM을 설치할 때 ./configure 실행시 –enable-shared 옵션 없이 컴파일하여 설치하게 되면 OSL 설치시 LLVM not found라는 에러 메세지가 뜨면서 설치에 실패하게 된다.
Tray에 있는 iBus input method framework를 마우스 오른쪽 버튼으로 선택한 후 restart를 해주면 된다. 만약 Tray에 iBus가 사라졌다면 홈디렉토리에 있는 .gconf 디렉도리를 삭제하면 초기화된다.
root 권한을 가지고도 chown, chmod로 소유권과 허가권을 바꿀 수 없도록 해주는 기능. 레드헷 계열의 리눅스인 경우 프롬프트에서 setenforce 0을 입력하면 selinux를 끌 수 있다. 만약 다음 부팅 후에도 영구적으로 selinux를 끄고 싶으면 /etc/sysconfig/selinux 파일을 열어서…
1. 부팅과정의 grub 메뉴에서 e를 누른다. 2. edit 화면에서 화살표키로 “kernel /boot/vmlinuz….”를 선택한다. 3. e를 누르면 명령어 편집을 할 수 있는데 맨 마지막에 한 칸 띄우고 single을 입력한 후 엔터를 친다. 4. b를 눌러서 부팅한다.
CentOS 6.x에서는 nouveau라는 graphic card driver가 기본적으로 설치된다. nouveau: accelerated open source driver for nVidia cards (http://nouveau.freedesktop.org) nouveau는 부팅 시에 여러 가지 이펙트를 가능하게 하는 프레임버퍼 모듈이다. nouveau의 문제점은 nVidia graphic card driver와 충돌을 발생한다는…
yum을 이용하여 mplayer 설치시 다음과 같은 error가 발생한다면… Error: Package: mpg123-1.14.4-1.el4.rf.x86_64 (rpmforge) Requires: libltdl.so.3()(64bit) You could try using –skip-broken to work around the problem You could try running: rpm -Va –nofiles –nodigest 설치 전에 다음과…
Maya batch render시에 다음과 같은 error log를 남기면서 rendering이 걸리지 않는 현상이 있었다. getaddrinfo error:: [Name or service not known] 이것은 maya 뿐만 아니라 다른 프로그램 실행시에도 발생할 수 있는 error message이다. 원인은 /etc/hosts 내용이…
해결책: ~/.config/user-dirs.dirs 에서 XDG_DESKTOP_DIR=”$HOME/Desktop“ 을 원하는 경로로 바꿔준다.
error: Xm/MwmUtil.h: No such file or directory openmotif-devel을 설치해준다.
Adobe Acrobat Reader 파일이 .bin으로 배포되어 다운로드 받았다면, (AdbeRdr9.5.1-1_i486linux_enu.bin) chmod +x AdbeRdr9.5.1-1_i486linux_enu.bin ../AdbeRdr9.5.1-1_i486linux_enu.bin 하면 된다. 하지만, 만약 /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory 와 같은 에러가 발생한다면, yum install glibc.i686 을 해준 후…
잘 되다가 어느날 부터인가 갑자기 Google Chrome이 다음과 같은 에러 메세지를 표시하면서 실행이 되지 않는 문제가 발생하였다. /opt/google/chrome/chrome: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Permission denied 임시 해결책:…