ACLoong / Documents

Meeting review is very important for every team member.
2 stars 1 forks source link

Create aliyun server's environment #4

Open wangqing1218 opened 6 years ago

wangqing1218 commented 6 years ago
  1. Install java8 into it.
  2. Install python2 and python3 into it.
  3. into maven3 into it.
  4. into cmake 3 or later into it.
  5. into git for it.
ghost commented 6 years ago

I want install samba server into the aliyun VPS. Could I?Or mayber I should create another issue.

wangqing1218 commented 6 years ago

This issue is ok. And I dont know about samba. I think u can install it by urself.

ghost commented 6 years ago

Installation failed, I need root permissoon, or will @MrKingHH to install the environment?

MrKingHH commented 6 years ago

sorry, i haven't received message in my email box.

ghost commented 6 years ago

Git:I have install git ,but didn't set the git conf.And if anyone want to try it could get the ref here,Besides I don't konw why we should install git into the server.Because we already have the github repo and it seems safely... Cmake:the network is too slow so that wget cannot work so fast, I will try next day.

python2 & python3 has been installed

Java8:install success(javac -version javac 1.8.0_171)

ghost commented 6 years ago

install cmake finished

wuwendong@ACLoong:~/env$ cmake --version cmake version 3.5.1

ghost commented 6 years ago

ADD: install google test framework

usage:

include <gtest/gtest.h> in cpp file

then, g++ test.cpp -lgtest_main -lgtest -lpthread -o test or g++ test.cpp /usr/local/lib/libgtest.a -lpthread -o test

wangqing1218 commented 6 years ago

Well done.

ghost commented 6 years ago

append alias python="python3" to ~/.profile while you want to use python3 instead of python2.7

jovany-wang commented 6 years ago

@throcean You mean that which python will output python3.x.x?

ghost commented 6 years ago

@wangqing1218 No,the shell instruction alias python="python3" will playing a part when you want to enter the Python3 interactive window.In general we use python to interactive with python2, now we could interactive with python3 by python after alias worked. And the alias just specified the role when using python,it‘s useless while you want to use which or whereis to find the python executable file.

ghost commented 5 years ago

ADD:Docker, version 18.09.0

jovany-wang commented 5 years ago

@throcean What the python version of that machine? And I think we should use virtual-env to instead of native python env.

ghost commented 5 years ago

@jovan-wong There has python2.7 and python3.5 in machine. I do agree with you.There are many choice like virtual-env,conda, etc.

jovany-wang commented 5 years ago

@throcean Let install anaconda as well. And enable it when we login the server. I think we should use python 3 in anaconda by default.

ghost commented 5 years ago

ADD:Anaconda

conda --version
conda 4.5.11

I will write a short usage about conda later. Besides, I have removed python2.7 and python3.7 which installed by apt-get