linux 썸네일형 리스트형 PostgreSQL install ]$ sudo dnf install postgresql10*]$ sudo systemctl enable postgresql.service # important to do this. error occure if not execute]$ sudo /usr/bin/postgresql-setup --initdb]$ sudo systemctl restart postgresql.service # install pgadmin optional]$ sudo dnf install pgadmin4* 더보기 Make Django Server on Centos7 # install python3.6]$ sudo yum update -y]$ sudo yum install -y yum-utils]$ sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm]$ sudo yum install -y python36u python36u-pip python36u-devel ]$ mkdir [project_name] # make python3 virtual environment]$ python3.6 -m venv py3 # activate virtual environment]$. py3/bin/activate # install django(py3) ]$ pip install --upgrade pip(py3) ]$.. 더보기 open port with firewall-cmd add]$ sudo firewall-cmd --permanent --add-port=[port]/tcp remove]$ sudo firewall-cmd --permanent --remove-port=[port]/tcp 더보기 이전 1 2 3 4 5 6 ··· 18 다음