OS/Linux

LINKDING - docker로 github 소스 받아오기 (node.js 12, php7.3 설치하기)

_눙이_ 2021. 8. 24. 10:19
반응형

 

https://github.com/sissbruecker/linkding

 

GitHub - sissbruecker/linkding: Self-hosted bookmark service

Self-hosted bookmark service. Contribute to sissbruecker/linkding development by creating an account on GitHub.

github.com

 

github 저장소에 북마크 오픈소스 받아오기

 

<세팅>

OS: Centos

node.js 12

php 7.3

docker

 

<필수 설치 패키지>

yum update yum install mysql* git autoconf perl wget unzip gettext gd gd-devel automake glibc curl gcc gcc-c++ make sshd openssl-devel

 

yum install epel-release yum group install "development tools"

 

<node.js 12 설치>

<Centos 7> curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash - sudo yum clean all && sudo yum makecache fast sudo yum install -y nodejs

 

<Centos 8> dnf module enable nodejs:12 dnf install nodejs

 

<php 7.3 설치>

<Centos 7> yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum -y yum-utils yum-config-manager --disable remi-php54 yum-config-manager --enable remi-php73 yum -y install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json

 

<Centos 8> dnf module reset php dnf module enable php:7.3 -y dnf module -y update php:7.3 dnf install nginx php php-cli php-fpm php-json php-intl php-mbstring php-pdo php-xml php-gd php-mysqlnd php-zip php-pear php-gmp

 

<서비스 설정>

//웹 활성화 systemctl restart httpd systemctl enable httpd //방화벽 종료 systemctl disable firewalld systemctl stop firewalld

 

<docker 설치>

<Centos 7> yum install 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 systemctl enable docker

 

<Centos 8> yum install yum-utils yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --enable docker-ce-nightly yum-config-manager --enable docker-ce-test yum install docker-ce docker-ce-cli containerd.io --allowerasing systemctl start docker systemctl enable docker

 

<linkding 구성하기>

docker run --name linkding -p 9090:9090 -d sissbruecker/linkding:latest

 

http://localhost:9090 접속

 

<docker 프로세서 확인>

docker ps -a

 

 

 

반응형