Ubuntu ———08.26.2017

Git on Ubuntu

git remote add origin git@github.com:JantonZeng/eCAL.git

git clone git@github.com:JantonZeng/eCAL

(Need to set up SSH key)

Installing ipython

sudo -i #enter as root user (use exit to quit)

apt install python-pip

pip install --upgrade pip

pip install ipython jupyter?numpy requests bs4 lxml?requesocks pysocks psycopg2?psutil nbimporter

jupyter notebook

Start postgres ubuntu terminal

sudo -u postgres psql

//

sudo -i -u postgres ?#-i for interactive mode

VS.

Start postgres mac os

brew services start postgresql

psql db_teld

\dt

Modify postgresql config file:

SHOW config_file;

vim ---(directory)

max_files_per_process

max_connections

Restart Server:

Linux platforms results in "Too many open files" error


-?Increase “Open Files Limit”


/proc/

cat /proc/sys/fs/file-max

sudo vim /etc/sysctl.conf

ulimit -a

/etc/security/limits.conf

sudo service postgresql restart

- Check RAM usage

sudo swapon -s


- Update VMware on linux

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容