Skip to content

maxbborges/ccn_ibict

Repository files navigation

sudo apt-get install python3 python3-venv libaio1 apache2 libapache2-mod-wsgi-py3

python3 -m venv venv
source venv/bin/activate
sudo apt-get install python3-pip
pip install django cx_oracle glibc

django-admin startproject ccn_ibict
python3 manage.py startapp ccn
python3 manage.py runserver
chmod a+w db.sqlite3

sudo nano /etc/apache2/envvars
sudo nano ~/.bashrc
LD_LIBRARY_PATH=/opt/projeto/ccn_ibict/instantclient_21_1/
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/projeto/ccn_ibict/instantclient_21_1/libnnz21.so:/opt/projeto/ccn_ibict/instantclient_21_1/libclntsh.so
export LD_LIBRARY_PATH

source ~/.bashrc

https://stackoverflow.com/questions/56671520/how-can-i-install-vscode-server-in-linux-offline
First get commit id
Download vscode server from url: https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable
Upload the vscode-server-linux-x64.tar.gz to server
Unzip the downloaded vscode-server-linux-x64.tar.gz to ~/.vscode-server/bin/${commit_id} without vscode-server-linux-x64 dir
Create 0 file under ~/.vscode-server/bin/${commit_id}
commit_id=f06011ac164ae4dc8e753a3fe7f9549844d15e35

# Download url is: https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable
curl -sSL "https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable" -o vscode-server-linux-x64.tar.gz

mkdir -p ~/.vscode-server/bin/${commit_id}
# assume that you upload vscode-server-linux-x64.tar.gz to /tmp dir
tar zxvf /tmp/vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${commit_id} --strip 1
touch ~/.vscode-server/bin/${commit_id}/0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published