![]() ![]() home/YOUR_XUBUNTU_USERNAME/miner_launcher.sh 30 & Step 7: Create an alias to easily check on cgminer Type the following to open /etc/rc.local in nano:Īdd the following text, right above the line that reads “exit 0″ (substitute your own username!): Now we need to call our new script during startup we do that by adding it to /etc/rc.local. Su YOUR_UBUNTU_USERNAME -c “screen -dmS cgm /home/YOUR_UBUNTU_USERNAME/mine_litecoins.sh” Type the following to create a new script and open it in nano:Įnter the following text into the editor (substitute your ubuntu username where shown!): That way, we keep mining losses to a minimum whenever a power outage occurs, and we don’t have to worry about manually starting it back up in other situations. ![]() We want cgminer to automatically start mining whenever the rig is powered on. Remember to put in your username and password! Also, this is where you put in all your settings (i.e gpu-engine, gpu-memclock, gpu-fan, etc…) Step 6: Create auto-start scripts Save the file and quit nano, then enter the following: cgminer –scrypt -I 19 –thread-concurrency 21712 -o stratum+tcp://:3336 -u USERNAME -p PASSWORD Type the following into nano (note where the places you need to substitute your own usernames!) : Type the following to create a new file with nano, a Linux text editor: If you’re still in the cgminer directory from the previous step, first return to your home directory: We’re almost done-now we just need to create a few simple scripts to control cgminer. Remember to look for the best settings for your specific GPUs. If you got to this step, then congrats! The hard part is over, now you can start configuring your miner! I’ll throw one in there just so you change back anyway!) Let’s first issue the following commands (I’m hoping you’re still in your cgminer directory, but you don’t have to be for these commands. We’ll now want to test if your cgminer is configured and working correctly. #see image below, if it looks similar and the ADL line says SDK found, GPU monitoring support enabled, you’re ready to MAKE! configure –enable-scrypt –enable-opencl #set CFLAGS and LDFLAGS for compiling cgminerĬFLAGS=”-O2 -Wall -march=native -I /opt/AMDAPP/include/” LDFLAGS=”-L/opt/AMDAPP/lib/x86_64″ #copy header files from ADL SDK to cgminer ADL directoryĬp ~/Downloads/ADL_SDK/include/*.h ADL_SDK/ #make cgminer dir, change to it, download cgminerīzip2 -d cgminer-3.7.2.tar.bz2 tar -xf cgminer-3.7.2.tar #Download ADL_SDK_6.0.zip from TruePPS server Make note of where you download this fileĭownload cgminer 3.1.1 and extract ADL_SDK_6.0 Now, you’re going to install AMD APP SDK 2.9 Install Curl and package updates by typing (or copying & pasting into Putty) the following commands: Setup should be quicker from this point, as now you can simply copy text from this webpage (highlight it and press control-C) and then paste it into your Putty session by simply right-clicking anywhere inside the Putty window. That should bring up a remote terminal session to your miner, which is more or less just like sitting at the keyboard in front of it. Simply download Putty onto your desktop, run it, and enter the IP address of your mining rig. With SSH installed, you can unplug the keyboard/mouse/monitor (put dummy plugs into all GPUs, though) from your miner, and complete the rest of the installation from your desktop computer. Sudo apt-get install openssh-server byobu OpenGL version string: 4 Compatibility Profile Context 13.25.18 Step 2: Install SSH, Curl, and package updates OpenGL version string: 4 Compatibility Profile Context 13.25.18 OpenGL renderer string: AMD Radeon R9 200 Series OpenGL vendor string: Advanced Micro Devices, Inc. ![]() If it is required, a package manager window will open and install some dependencies and after a while create the following four. Sudo apt-get install ia32-libs-multiarch i386 lib32gcc1 libc6-i386 Sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases You need to install some dependencies to your system, do this by running these in Terminal: Or use this command for an earlier version (stable) You can chose to download the latest batch on the AMD website Red words are codes to put into terminal. This guide will show you how to configure a headless mining rig on Ubuntu 12.04 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |