美文网首页
Ubuntu ———08.26.2017

Ubuntu ———08.26.2017

作者: 腾腾4ever | 来源:发表于2017-08-27 07:47 被阅读0次

    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

    相关文章

      网友评论

          本文标题:Ubuntu ———08.26.2017

          本文链接:https://www.haomeiwen.com/subject/sdkbdxtx.html