Eavis / web_app

0 stars 0 forks source link

reinstall_steps #24

Open Eavis opened 7 years ago

Eavis commented 7 years ago

After installing old version ubuntu(14.04) on virtual box, how to resolve the resolution problem of the screen without updating the ubuntu version? sudo apt-get install virtualbox-guest-utils

Eavis commented 7 years ago

mount host directory on vitual directory

  1. install guest edition in Device tab(if not successful try the first step)
  2. edit /etc/rc.local ... sudo mount -t vboxsf localdata /localdata exit0

A script that will run when system starts

Eavis commented 7 years ago

setup Web server and database

install Apache2, MYSQL, php, python, numpy and scipy

sudo apt-get install apache2 sudo apt-get install mysql-server php5-mysql sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

Eavis commented 7 years ago

Linux(Ubuntu14.04)下安装Anaconda和Spyder

http://blog.csdn.net/qq_26898461/article/details/51485491

Eavis commented 7 years ago

anaconda will now be installed into /home/tianyulan/anaconda2 do you wish the installer to prepend the Anaconda2 install location to PATH in your /home/tianyulan/.bashrc? no You may wish to edit your .bashrc or prepend the Anaconda2 install $ export PATH =/home/tianyulan/anaconda2/bin:$PATH

在安装的过程中,会问你安装路径,直接回车默认就可以了。有个地方问你是否将anaconda安装路径加入到环境变量(.bashrc)中,这个一定要输入no!!!!!!否则你的py-faster-rcnn就不能正常导入caffe了。若是不小心用了yes,则需要在最后使用sudo gedit ~/.bashrc 然后把最后一行的Anaconda路径去掉,source ~/.bashrc就搞定啦!

安装成功后,会有当前用户根目录下生成一个anaconda2的文件夹,里面就是安装好的内容。

输入conda list 就可以查询,你现在安装了哪些库,常用的numpy, scipy名列其中。如果你还有什么包没有安装上,可以运行

conda install *** 来进行安装,

如果某个包版本不是最新的,运行 conda update *** 就可以了。