Skip to content

Commit

Permalink
Installation steps for Ubuntu 14.04 added
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap authored and psychocrypt committed Jul 19, 2017
1 parent 75d24f2 commit 8b4f995
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion LINUXCOMPILE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### GNU Compiler
```
# Ubuntu / Debian
sudo apt-get install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev
sudo apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev
cmake .
make install
Expand All @@ -23,6 +23,18 @@
sudo scl enable devtoolset-4 bash
cmake3 .
make install
# Ubuntu 14.04
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-5 g++-5 make
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5
curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/
cd /tmp/cmake-3.4.1/ && ./configure && make && sudo make install && cd -
sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
sudo apt install libmicrohttpd-dev libssl-dev libhwloc-dev
cmake .
make install
```

- g++ version 5.1 or higher is required for full C++11 support. CMake release compile scripts, as well as CodeBlocks build environment for debug builds is included.
Expand Down

3 comments on commit 8b4f995

@kyo910
Copy link

@kyo910 kyo910 commented on 8b4f995 Dec 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you help me generate code on ubuntu v.04 17.04?

@kyo910
Copy link

@kyo910 kyo910 commented on 8b4f995 Dec 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you help me generate code on vps ubuntu 17.04?

@nowheel
Copy link

@nowheel nowheel commented on 8b4f995 Dec 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if youwant i write a simple script for autocompiling on ubuntu server 16.04/16.10 it's run fine on desktop and server 17.04/17.10. see it: https://github.com/nowheel/xmr-stak-cpu-installer
the script have cpulimit fo limit cpu uage on vps server (for hidding cpu usage on vps if in contrct you cannot mining)

Please sign in to comment.