linuxAIO.sh
installerlinuxAIO.sh
file)cd ~ && wget -N https://github.com/Wizkiller96/WizBot-BashScript/raw/1.9/linuxAIO.sh && bash linuxAIO.sh
4
and enter
key, then y
once you see the following:1
to get the most updated build of WizBot. When installation is complete, you will see the options again.5
to set up your credentials.Enter
. Rinse and repeat until it's over.)Enter
without typing/pasting anything.2
to Run WizBot (Normally)..die
to shut it down and return to the main menu.3
and have WizBot run with auto restart. It will work just fine, however it's strongly advised that you use WizBot with a process manager like pm2 or tmux, as they will keep WizBot running in the background, freeing up your terminal for other tasks..die
in your Discord server or exiting the process with Ctrl+C
.bash linuxAIO.sh
.6
to install NodeJS and pm2.7
to bring you to a menu of choices. These are the normal choices you have for running WizBot.sudo pm2 status
to see all pm2 processessudo pm2 info WizBot
information about WizBotsudo pm2 logs WizBot
to view real-time logs of WizBot, orsudo pm2 logs WizBot --lines number
(number = how many lines you wish to output) to see a specific amount of lines of the log. The logfile is also stored and presented at the top of these commands.die
on your Discord server. That's it!sudo pm2 stop WizBot
bash linuxAIO.sh
and choose Option 1
8
and run sudo pm2 restart WizBot
sudo pm2 logs WizBot
.die
in your Discord server or exiting the process with Ctrl+C
. If you are presented with the installer main menu, exit it by choosing Option 8
.tmux new -s WizBot
bash linuxAIO.sh
2
to Run WizBot normally..die
in Discord, the bot will shut down and stay offline until you manually run it again.3
to Run WizBot with Auto Restart..die
, making it to function as restart.1. Run Auto Restart normally without Updating
, the bot will restart on .die
command and will not download the latest build available.2. Run Auto Restart and update WizBot
, the bot will restart and download the latest build available everytime the .die
command is used..die
in your Discord server. That's it!tmux ls
tmux kill-session -t WizBot
(don't forget to replace "WizBot" with whatever you named your bot's session).tmux new -s WizBot
cd ~ && wget -N https://github.com/Wizkiller96/WizBot-BashScript/raw/1.9/linuxAIO.sh && bash linuxAIO.sh
1
to download the most up to date version of WizBot.2
or 3
and detach the session by pressing Ctrl+B, release then D.tmux ls
. That will give you the list of the currently running sessions.tmux a -t WizBot
(WizBot is the name of the session we created before so, replace “WizBot” with the session name you have created).tmux new -s WizBot
. If you want to kill it, run tmux kill-session -t WizBot
cd ~ && wget https://raw.githubusercontent.com/Wizkiller96/WizBot-BashScript/1.9/wizbot.service
cd ~ && wget https://raw.githubusercontent.com/Wizkiller96/WizBot-BashScript/1.9/WizBotARN.sh
cd ~ && wget https://raw.githubusercontent.com/Wizkiller96/WizBot-BashScript/1.9/WizBotARU_Latest.sh
root
and don't want WizBot to auto-update, ignore the procedures below and go straight to step 3.nano wizbot.service
/root
from "WorkingDirectory" to the directory that contains your WizBot folder./home/username/WizBot
, you should change /root
to /home/username
.root
from "User" to whatever username you're using.WizBotARN.sh
to WizBotARU_Latest.sh
.Ctrl+X
to exit nano, type y
to confirm the changes and Enter
to go back to the terminal./etc/systemd/system
. If you are not using Ubuntu and are unsure about where systemd stores stuff, Google is your best friend.sudo mv wizbot.service /etc/systemd/system/wizbot.service
sudo systemctl daemon-reload
sudo systemctl enable WizBot
sudo systemctl start WizBot
tmux ls
command.tmux ls
- lists all processes managed by tmux.tmux a -t WizBot
- shows WizBot's log (press Ctrl+B
then D
to exit).sudo systemctl start WizBot
- starts WizBot, if it has been stoped.sudo systemctl restart WizBot
- restarts WizBot. Can be used while the bot is being run.sudo systemctl stop WizBot
- completely shuts WizBot down.sudo systemctl enable WizBot
- makes WizBot start automatically upon system reboots.sudo systemctl disable WizBot
- stops WizBot from starting automatically upon system reboots.sudo systemctl status WizBot
- shows some information about your bot (press Ctrl+C
to exit).IP address and root password (in your e-mail)
to login, it's time to get started.IP address
and then click Open.root
and press enter.root password
you have received in your e-mail address, then press Enter.