How To Install Shallot and Make Onion Domains + Limit Shallot CPU Usage
How To Install Shallot and Make Onion Domains + Limit Shallot CPU Usage
CPU usage
wget https://github.com/katmagic/Shallot/archive/master.zip
if you get problem with the uknown certificate, use this command:
wget --no-check-certificate
https://github.com/katmagic/Shallot/archive/master.zip
cd Shallot-master
./configure
make
when you try to cinfigure it, if you have fresh debian, you will get the
dependencies problem, you must install additional packages in oder to
install Shallot. I tried:
Then I got the problem with C compiler and I tried: sudo apt-get
install libcurl4-openssl-dev
for some people this worked, but for me, this solved my problem:
Don't forget that you need very good hardware to chose many letters,
if you chose 4 letters like "test", you get the result in 2 seconds, if you
chose 6 letters, you must wait 30 minutes, for 7 letters, your computer
will have to work 1 day (my computer worked 2 days).
You can decide to save the result from the shallot in a file called
domain1, you should type like this (ohmygod is 7 letters):
But again, there is a problem. Shallot will take 100% of your CPU and
you will get very slow laptop/PC/server, you will not be able to use it.
Therefore, I decided to limit the shallot process, how much CPU it can
use. Beside it, to log out from the terminal session, I decided to install
tmux and start shallot inside of tmux, in that way, shallot run in the
background, even after I closed the terminal session on my server. I
limited CPU usage to 30% and I chose 7 letters from my onion domain
and I waited 2 days that Shallot finish the task.
top command will list all processes and you can use the shallot ID to
limit CPU, but you can also use the name of the process shallot:
top #to list all processes and see the ID of shallot, in my case the
shallot process ID was 19439
cpulimit -p 19439 -l 30
or if you don't want to find out ID, just use the name of the process you
want to limit
cpulimit -e shallot -l 30