Ossian Story
article thumbnail

 


[ Django Tutorial 개발 환경 구성 ]

  • CentOS 7 설치 - Virtual Server
  • Visual Studio Code 설치

[ CentOS 7 - 환경 구성 ]

  • SSH Setting
    - 계정 / 패스워드 기반으로 SSH를 접속 할 수 있도록 설정
$ vi /etc/ssh/sshd_config

PermitRootLogin yes
.....
PasswordAuthentication yes

 

  • Firewall Disable Setting
$ systemctl disable firewalld
$ systemctl stop firewalld

 

  • SELinux Disable
$ vi /etc/selinux/config

SELINUX=disabled

 


[ Visual Studio Code 설치 및 SFTP 설정 ]

  • Visual Studio Code Download
 

Download Visual Studio Code - Mac, Linux, Windows

Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.

code.visualstudio.com

  • Visual Studio Code [ SFTP ] Plugin 설치

  • SFTP 설정
{
    "host": "192.168.100.100", # Virtual Server IP 입력
    "port": 22, # Virtual Server SSH Port 입력
    "username": "abc", # Virtual Server Login ID 입력
    "password": "abc", # Virtual Server Login Password 입력
    "protocol": "sftp",
    "privateKeyPath": null,
    "passphrase": null,
    "passive": false,
    "remotePath": "/opt/project", # Virtual Server Django Project 폴더 경로 입력(추후 입력)
    "uploadOnSave": false,
    "syncMode": "update",
    "watcher": {
        "files": false,
        "autoUpload": false,
        "autoDelete": false
    },
    "ignore": [
        "**/.vscode/**",
        "**/.git/**",
        "**/.DS_Store"
    ]
}

 


 

profile

Ossian Story

@ossians