sudo apt remove dotnet-sdk-* dotnet-runtime-* aspnetcore-runtime-*
sudo snap install dotnet-sdk --classic
dotnet --version
dotnet --list-sdks
import pkg_resources
print(pkg_resources.get_distribution("PyMCubes").version)
This may be useful to determine which lib version is installed, for subsequent docker requirements.txt settings like:
imageio==2.28.0
pycuda==2022.2.2
PyMCubes==0.1.4
Get link for the latest version of bzminer
wget https://www.bzminer.com/downloads/bzminer_v11.1.0_linux.tar.gz
tar -xvzf bzminer_v11.1.0_linux.tar.gz
cd bzminer_v11.1.0_linux
nano mine.sh
./bzminer -a kaspa -w kaspa:qzhtwdxafyxsg6ymysan8w4hrur02up6797qg8nq348gzdxtnmzdkpdcr6960 -p stratum+tcp://kaspa-pool.org:4444 -r rig1 &
ctrl+x && y && enter
Add google cloud vm instance. You can select preemptible machine with unbalanced disc, to low costing, at $2. Don't forget to select required region.
Set static ip adress
Add firewall rule: allow TCP, UDP: 943, 1194
Connect over ssh, using google cloud interface
Check your linux release, and follow instructions to install openvpn: https://openvpn.net/vpn-software-packages/
After install, in terminal will appears the admin ui link, like: Admin UI: https://10.128.0.4:943/admin
There will be also login openvpn and password
Replace local ip to server external static ip and open in web browser Login page.
#!/bin/bash | |
# install CUDA Toolkit v9.0 | |
# instructions from https://developer.nvidia.com/cuda-downloads (linux -> x86_64 -> Ubuntu -> 16.04 -> deb) | |
CUDA_REPO_PKG="cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64-deb" | |
wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/${CUDA_REPO_PKG} | |
sudo dpkg -i ${CUDA_REPO_PKG} | |
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
sudo apt-get update | |
sudo apt-get -y install cuda-9-0 |
- Ensure apt-get is up to date
sudo apt-get update && sudo apt-get upgrade
- Note: Use
sudo apt-get dist-upgrade
, instead ofsudo apt-get upgrade
, in case you have an older Ubuntu 14.04 version
- Install Python and its development files via apt-get (Python 2 and 3 both work)
sudo apt-get install python python-dev
orsudo apt-get install python3 python3-dev
- Note: The project will only use Python 2 if it can't use Python 3
- Run the top level CMake command with the following additional flag
-DBUILD_PYTHON_BINDINGS:bool=true
: