yum install -y yum-utils device-mapper-persistent-data lvm2

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

yum install docker-ce

 

systemctl start docker

docker run hello-world

 

https://zetawiki.com/wiki/CentOS7_docker_%EC%84%A4%EC%B9%98

'개발 > Docker' 카테고리의 다른 글

Docker 이미지 배포 및 매핑  (0) 2018.03.08

에러내용

httpd: Syntax error on line 151 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_wsgi.so into server: libpython3.7.so.1.0: cannot open shared object file: No such file or directory

 

아파치 실행하는 계정의 .bashrc에 내용 추가

 

# .bashrc
...
export LD_LIBRARY_PATH="/usr/local/lib/"
# usr/local/lib python library 경로

'개발 > Python' 카테고리의 다른 글

Flask 로깅 설정  (0) 2020.11.25
Python3.8 가상환경 pip 이슈  (0) 2020.10.29
Flask에서 Excel 읽어오기(flask-excel)  (0) 2020.07.05
wtforms-json 사용하여 유효성 확인  (0) 2020.07.05
Python VirtualHost 설정  (0) 2020.06.03
# react directory = /var/www/html
# npm run build
<Directory "/var/www/html">
    ...
    AllowOverride All
    ...
</Directory>

# create .htaccess
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]

# or httpd.conf edit
<Directory "/var/www/html">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    Options -MultiViews
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.html [QSA,L]

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>

'개발 > 기타' 카테고리의 다른 글

rsync 비밀번호 입력 없이 사용하기  (0) 2020.11.25
윈도우 서비스 제거방법  (0) 2020.11.06
IE TLS1.2 설정 및 TLS 확인  (0) 2020.10.26
리눅스(CentOS7) 파일 용량 이슈  (0) 2020.09.25
CentOS7 node/react 설치  (0) 2020.06.09

+ Recent posts