This article describes my steps to setup the iBash environment in my Windows 7 OS.
- While installing, just select Linux, instead of Redhat
- Rember to select Desktop CentOS in one of the step, instead of using the default minimal CentOS, to use the GUI
- Install Enhance functions to the VM(Just click the menu item of the virtual box)
- Enable bi-directionaly Clipboard between VM and the Host OS.
- Specify a Share Folder to transfer to/from CentOS
- Restart CentOS, the share folder will be seen in the /media/sf_xxx. However, only root has the priviledge to access it. Normal user don't.
I tried the following way to make the normal user access the share folder, but failed. So, at last, I use the root user instead.
usermod -a -G vboxsf xuuuvhon
usermod -a -G root xuuuvhon
groups xuuuvhon
usermod -g root xuuuvhon
groups xuuuvhon
usermod -a -G xuuuvhon xuuuvhon
- download anaconda, the integrated Python environment including IPython, it is a shell script.
- run the shell script
bash Anaconda3-2.4.1-Linux-x86_64.sh
- The default install folder is /root/anaconda3
- I used the Python3.5 version of Anaconda.
- goto /root/anaconda3/bin to run ipython, python, idle
./ipython qtconsole
to run ipython with GUI../spyder
to run the IDE including Ipython and an editor(crash happens)- `./ipython notebook' to run ipython with notebook
- there is a intro article here http://jeroenjanssens.com/2015/02/19/ibash-notebook.html
- https://github.com/takluyver/bash_kernel
- using pip to install
- Ipython is able to be used to create slides
ipython nbconvert xxx.ipynb --to slides --post serve
[root@centostudy workspace]# pip install bash_kernel
Requirement already satisfied (use --upgrade to upgrade): bash-kernel in /root/anaconda3/lib/python3.5/site-packages
Requirement already satisfied (use --upgrade to upgrade): pexpect>=3.3 in /root/anaconda3/lib/python3.5/site-packages (from bash-kernel)
- run
python -m bash_kernel.install
-- after install, it can be used. Make sure the IPython and pip is under /root/anaconda3/bin instead of the system default
run 'ipython notebook' in a specified dir
menu->new->Bash
yum install texlive
- texlive is for convert .ipynb to pdf
- The command is like
ipython nbconvert xxx.ipynb --to pdf