라벨이 nodejs인 게시물 표시

How to install NodeJS offline without internet

## prepare python 3 [root@localhost ~]# wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz --2021-12-14 15:06:13-- https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz Resolving www.python.org (www.python.org)... 146.75.48.223, 2a04:4e42:7c::223 Connecting to www.python.org (www.python.org)|146.75.48.223|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 23017663 (22M) [application/octet-stream] Saving to: ‘Python-3.7.4.tgz’ 100%[======================================================================================================================================================================>] 23,017,663 104MB/s in 0.2s 2021-12-14 15:06:13 (104 MB/s) - ‘Python-3.7.4.tgz’ saved [23017663/23017663] [root@localhost ~]# tar -xzvf Python-3.7.4.tgz && cd Python-3.7.4 Python-3.7.4/ Python-3.7.4/Doc/ Python-3.7.4/Doc/c-api/ Python-3.7.4/Doc/c-api/sys.rst Python-3.7.4/Doc/c-api/conversion.rst Python-3.7.4/Doc/c-api/marshal.rst Python-3.

nodejs connect oracle on ubuntu

## prepare oracle client (base) root@rasa-virtual-machine:~/node# wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basic-linuxx64.zip --2021-12-06 15:48:54-- https://download.oracle.com/otn_software/linux/instantclient/instantclient-basic-linuxx64.zip download.oracle.com (download.oracle.com)을(를) 해석하는 중... 23.53.224.11 접속 download.oracle.com (download.oracle.com)|23.53.224.11|:443... 접속됨. HTTP 요청을 전송했습니다. 응답을 기다리는 중입니다... 200 OK 길이: 79386308 (76M) [application/zip] 다음 위치에 저장: `instantclient-basic-linuxx64.zip' instantclient-basic-linuxx64.z 100%[====================================================>] 75.71M 96.4MB/s / 0.8s 2021-12-06 15:48:55 (96.4 MB/s) - `instantclient-basic-linuxx64.zip' 저장됨 [79386308/79386308]   ## prepare oracle client 2 (base) root@rasa-virtual-machine:~/node# cd /opt/ (base) root@rasa-virtual-machine:/opt# mkdir oracle (base) root@rasa-virtual-machine:/opt# cd oracle/ ## unzip oracle client (base) root@rasa-vi

install mecab

## prepare  (base) root@rasa-virtual-machine:~/node# wget https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz --2021-11-16 10:09:02-- https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz bitbucket.org (bitbucket.org)을(를) 해석하는 중... 104.192.141.1, 2406:da00:ff00::22c5:2ef4, 2406:da00:ff00::22e9:9f55, ... 접속 bitbucket.org (bitbucket.org)|104.192.141.1|:443... 접속됨. HTTP 요청을 전송했습니다. 응답을 기다리는 중입니다... 302 Found 위치: https://bbuseruploads.s3.amazonaws.com/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz?Signature=7XEG%2B6DvAc3XNI5H%2BYzJH4NxOIg%3D&Expires=1637026717&AWSAccessKeyId=AKIA6KOSE3BNJRRFUUX6&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22mecab-0.996-ko-0.9.2.tar.gz%22&response-content-encoding=None [따라감] --2021-11-16 10:09:03-- https://bbuseruploads.s3.amazonaws.com/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz?Signature=7XEG%2B6DvAc3XNI5H%2BYzJH4NxOIg%3D&Expires=163702

error You have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment.

#error [min@localhost ~]$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13527 100 13527 0 0 17679 0 --:--:-- --:--:-- --:--:-- 17682 You have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment. #fix error [min@localhost ~]$ unset NVM_DIR [min@localhost ~]$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13527 100 13527 0 0 28270 0 --:--:-- --:--:-- --:--:-- 28240 => Downloading nvm from git to '/home/min/.nvm' => Cloning into '/home/min/.nvm'... remote: Enumerating objects: 290, done. remot

Error: Package: 2:nodejs-12.16.1-1nodesource.x86_64 on centos 6

#error [root@localhost my-project]# yum install -y nodejs Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: data.aonenetworks.kr * epel: mirrors.aliyun.com * extras: data.aonenetworks.kr * updates: mirror.navercorp.com Resolving Dependencies --> Running transaction check ---> Package nodejs.x86_64 2:12.16.1-1nodesource will be installed --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: 2:nodejs-12.16.1-1nodesource.x86_64 --> Finished Dependency Resolution Error: Package: 2:nodejs-12.16.1-1nodesource.x86_64 (nodesource) Requires: libc.so.6(GLIBC_2.17)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest #solution [root@localhost my-project]# yum clean all Loaded plugins: fastestmirror Cleaning repos: base epel extras nodesource updates Cleaning up Everything Cleaning up list of fastest mirrors [root@localho