-
<CentOS7> Nginx 설치Flower in my ops/Linux 2020. 11. 17. 12:23
$ sudo yum install yum-utils $ sudo vim /etc/yum.repos.d/nginx.repo [nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://nginx.org/keys/nginx_signing.key module_hotfixes=true [nginx-mainline] name=nginx mainline repo baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/ gpgcheck=1 enabled=0 gp..
-
<Intellij> Linux 원격 접속 sshFlower in my ops/Linux 2020. 10. 20. 09:09
1. Tools/Deployment/Browse Remote Host 2. click […] - 등록된 서버 3. click [+] and [SFTP] 4. Input your server name 5. click SSH configuration/[…] 6. click [+] and configure 7. click [Test Connection] and Supply 8. Config your Root path 9. The filesystem of your server [SSH Bash] 10 Tools/Start SSH Session... 11. click your connection info 12. Checking
-
Vagrant 설치 및 사용법 for CentOS & UbuntuFlower in my ops/OSX 2020. 10. 18. 16:32
1. CentOS를 사용하려면 확인 2. 플러그인 2개 설치 후 진행 (CentOS) - vagrant plugin install vagrant-vbguest - vagrant plugin install vagrant-sshfs 3. vagrant box 확인 - vagrant cloud = https://app.vagrantup.com/boxes/search 4. vagrant cloud 에서 확인한 box 명으로 초기화 - vagrant init {VAGRANT_IMAGE_NAME} 5. Vagrantfile 확인 및 수정 - config.vm.box : vagrant box 이름 - config.vm.box_download_insecure : SSL 허용 여부 (default : False) - 추..
-
<github> remote: Invalid username or password.Flower in my dev/Others 2020. 1. 29. 22:27
[remote: Invalid username or password 에러해결] 1. 저장소 주소를 ssh로 수정한다. git remote set-url origin 2. 설정 확인 git config -l 3. 재시도 후 아래와 같은 에러가 발생한다면, Warning: Permanently added the RSA host key for IP address git@github.com: Permission denied (publickey) fatal: Could not read from remote repository Please make sure you have the corrent access rights and the repository exists. pub키를 만들고 내용을 복사하여 github/해..
-
-
<REACT>[Hello React]Flower in my dev/React 2017. 12. 20. 10:58
[Hello React] *velopert 님의 유투브 강의를 듣고 작성하였습니다. 1. nodejs와 npm 버전확인 node -v npm -v 2. 프로젝트 디렉토리 생성 mkdir hello_react cd hello_react 3. 프로젝트 디렉토리를 초기화 npm init (설정은 필요 없이 모두 Enter로 넘어간다.) 4. 초기화 후 package.json 확인 1 2 3 4 5 6 7 8 9 10 11 12 13 { "name": "hello_react", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev-..
-
<NODE>[라즈베리파이 node&npm 업그레이드]Flower in my dev/React 2017. 12. 17. 01:53
[라즈베리파이 node&npm 업그레이드] 1. nodejs&npm 버전확인 1) node -v 2) npm -v 2. nodejs 삭제 1) sudo apt-get remove nodejs 2) sudo apt-get autoremove 3. nodejs 설치 1) curl -sL https://deb.nodesource.com/setup_8.x|sudo -E bash - - setup_(version).x - 최신 LTS 버전은 8.x - nodejs는 짝수 버전이 LTS - 최신 버전은 9.x (글작성시점) 2) sudo apt-get install nodejs 3) 버전확인