Academia JavaEE Workspace in Ubuntu: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
==Java== | ==Java== | ||
apt install openjdk-8-jdk-headless | apt install openjdk-8-jdk-headless | ||
apt install nodejs | apt install nodejs | ||
apt install maven | apt install maven | ||
apt install npm | apt install npm | ||
apt install ant | apt install ant | ||
==PostgreSQL== | ==PostgreSQL== | ||
Line 37: | Line 30: | ||
==Redis== | ==Redis== | ||
<source lang="bash"> | <source lang="bash"> | ||
systemctl status | apt install redis-server | ||
nano /etc/redis/redis.conf | |||
systemctl status radis-server | |||
</source> | </source> | ||
Line 67: | Line 62: | ||
nano config | nano config | ||
: <<'END_COMMENT' | |||
Host git.academia.chorke.org | Host git.academia.chorke.org | ||
HostName git.academia.chorke.org | HostName git.academia.chorke.org | ||
Line 72: | Line 68: | ||
IdentityFile ~/.ssh/git_academia_chorke_org_rsa | IdentityFile ~/.ssh/git_academia_chorke_org_rsa | ||
User git | User git | ||
END_COMMENT | |||
git config --global user.name "FULL NAME" | git config --global user.name "FULL NAME" | ||
git config --global user.email "[email protected]" | git config --global user.email "[email protected]" | ||
</source> | </source> | ||
==Knowledge== | |||
snap install postman | |||
snap install telegram-sergiusens | |||
==References== | ==References== |
Revision as of 11:30, 5 January 2021
Java
apt install openjdk-8-jdk-headless apt install nodejs apt install maven apt install npm apt install ant
PostgreSQL
Install
apt install postgresql postgresql-contrib
createdb $USER
Schema
CREATE DATABASE academia;
CREATE USER academia WITH ENCRYPTED PASSWORD 'academia';
GRANT ALL PRIVILEGES ON DATABASE academia TO academia;
psql academia < academia.sql
PgAmin4
apt install curl curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update' apt install pgadmin4-desktop
Redis
apt install redis-server
nano /etc/redis/redis.conf
systemctl status radis-server
Workspace
mkdir -p $HOME/chorke
mkdir -p /opt/dev/$USER/chorke/academia
export ACADEMIA_WSS="$HOME/chorke/academia"
ln -s /opt/dev/$USER/chorke/academia $ACADEMIA_WSS
ls -lah $HOME/chorke
nano ~/.bashrc
Editor
sudo apt install apt-transport-https
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt update;sudo apt install sublime-text
Git SCM
cd ~/.ssh/
ssh-keygen -t rsa -b 4096 -C "[email protected]"
mv id_rsa.pub git_academia_chorke_org_rsa.pub
mv id_rsa git_academia_chorke_org_rsa
nano config
: <<'END_COMMENT'
Host git.academia.chorke.org
HostName git.academia.chorke.org
PreferredAuthentications publickey
IdentityFile ~/.ssh/git_academia_chorke_org_rsa
User git
END_COMMENT
git config --global user.name "FULL NAME"
git config --global user.email "[email protected]"
Knowledge
snap install postman snap install telegram-sergiusens