from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity = "all"
- sudo apt-get update
- sudo apt-get install python-pip
- sudo pip install --upgrade pip
- sudo pip install --upgrade setuptools
- sudo pip install python-dev build-essential build-essential python-dev python-setuptools python-numpy python-scipy libatlas-base-dev python-matplotlib
- sudo pip install lynx htop git
- sudo pip install scikit-learn future jupyter jupyter_contrib_nbextensions yapf pandas seaborn hyperopt lightgbm tensorflow keras
-
sudo pip install scikit-learn
-
sudo pip install cython
-
sudo git clone https://github.com/scikit-learn/scikit-learn.git
-
cd scikit-learn
-
sudo python setup.py build
-
sudo python setup.py install
-
cd ..
- sudo pip install jupyter yapf
- sudo pip install jupyter_contrib_nbextensions
- sudo jupyter contrib nbextension install
- Run Jupyter using below command (password: abhi)
jupyter notebook --NotebookApp.allow_origin="0.0.0.0" --NotebookApp.port=9999 --NotebookApp.ip="0.0.0.0" --NotebookApp.password="sha1:927beb7a0a27:d988c1cc9e0f9103df4ea7b98eeb95346f024e61"
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mykey.key -out mycert.pem
jupyter notebook --generate-config
jupyter notebook password
nano ~/.jupyter/jupyter_notebook_config.json
with below configurations
{
"NotebookApp": {
"password": "sha1:bbd262748b3b:e28e5c7846dc72a7a07b67096e1938711dca37d7",
# "certfile": "/home/ubuntu/mycert.pem", # required for https
# "keyfile": "/home/ubuntu/mykey.key", # required for https
"ip": "*",
"port": 9999,
"allow_origin": "*",
"open_borwser": false
}
}
nohup jupyter notebook &
- git clone --recursive https://github.com/dmlc/xgboost
- cd xgboost; make -j4
- cd python-package; sudo python setup.py install
- pip install pandas
- sudo apt-get install python-tables
sudo apt-get install -y tightvncserver
sudo apt-get install -y xfce4 xfce4-goodies
sudo apt-get install autocutsel
autocutsel -s PRIMARY -fork
Add line in ~/.vnc/tightvncconfig or use in terminal in VNC Viewer : autocutsel -fork
Matlab on server : http://stackoverflow.com/questions/4931376/generating-matplotlib-graphs-without-a-running-x-server
import matplotlib as mpl;mpl.use('Agg');import matplotlib.pyplot as plt
Dropbox-Uploader : git clone https://github.com/andreafabrizi/Dropbox-Uploader/
cd Dropbox-Uploader/
chmod +x dropbox_uploader.sh
./dropbox_uploader.sh
Provide full access while creating and configuring app and then use following command to upload
Dropbox-Uploader/dropbox_uploader.sh upload * /*
sudo apt-get -y install r-base
http://www.csie.ntu.edu.tw/~cjlin/cgi-bin/libmf.cgi?+http://www.csie.ntu.edu.tw/~cjlin/libmf+zip
sudo apt-get install libboost-program-options-dev libboost-python-dev libtool
git clone git://github.com/JohnLangford/vowpal_wabbit.git
cd vowpal_wabbit
./autogen.sh
./configure
make