Jump to content
 
Hey guys,
I have a cloud server that has been configured and i want to run phantombot on it. The only problem is that there is no GUI and only a command line. What would the SUDO code be to install it? Phantom Bot is a twitch moderation bot.

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to comment
https://linustechtips.com/topic/505965-installing-phantombot-from-sudo-in-linux/
Share on other sites

Link to post
Share on other sites

 

 
Hey guys,

I have a cloud server that has been configured and i want to run phantombot on it. The only problem is that there is no GUI and only a command line. What would the SUDO code be to install it? Phantom Bot is a twitch moderation bot.

 

From what I can make out, you need to install java and then just download the zip. Unpack that archive and run launch.sh

Molex to SATA, lose all your data

 

 

Link to post
Share on other sites

how do i launch the file tho. ive downloaded java and unzipped the file but i dont know how to run it. im new with the java language. 

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to post
Share on other sites

From what I can make out, you need to install java and then just download the zip. Unpack that archive and run launch.sh

how do i launch the file tho. ive downloaded java and unzipped the file but i dont know how to run it. im new with the java language. 

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to post
Share on other sites

how do i launch the file tho. ive downloaded java and unzipped the file but i dont know how to run it. im new with the java language. 

You sure you want to run a server? You might want to read a little bit more about linux.

What you're trying to do has nothing to do with Java, it's using Linux from the command line. To execute the script, follow the steps in the first answer here

If you want to learn some essential Linux command line commands, go to codecadamy and do their "learn the command line" course

Molex to SATA, lose all your data

 

 

Link to post
Share on other sites

well i used to work with linux but ive since started using windows and i got a free cloud server from koding.com but it was linux so i figured i could use it because its ping is really low on the server.

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to post
Share on other sites

well i used to work with linux but ive since started using windows and i got a free cloud server from koding.com but it was linux so i figured i could use it because its ping is really low on the server.

I was asking, because you seem pretty clueless about Linux. That Codecadamy course is a good thing if you want to get started with the command line. The least I would do to the server would be installing Webmin (easy updates and maintenance) and setting up IPTABLES (Firewall). There are lots of guides available on how to do that

Molex to SATA, lose all your data

 

 

Link to post
Share on other sites

lol its just been a while. Ive been playing with windows a lot lately.

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to post
Share on other sites

That is what is happening.. any thoughts? or should i contact support?

post-250333-0-26871300-1450203694.jpg

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to post
Share on other sites

That is what is happening.. any thoughts? or should i contact support?

There seems to be an issue with Java.

Could you give me the output of

java -version 

What distro are you using btw?

Molex to SATA, lose all your data

 

 

Link to post
Share on other sites


java version "1.7.0_85"

OpenJDK Runtime Environment (IcedTea 2.6.1) (7u85-2.6.1-5ubuntu0.14.04

.1)

OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to post
Share on other sites

I just noticed that is also said 

java.sql.SQLException: [SQLITE_NOTADB]  File opened that is not a database file (file is encrypted or is not a database)

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to post
Share on other sites

java version "1.7.0_85"OpenJDK Runtime Environment (IcedTea 2.6.1) (7u85-2.6.1-5ubuntu0.14.04.1)OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)

 

Try that

sudo update-alternatives --config java 

and choose the most recent version. This command sets a Java version as the system wide standard. PB seems to need at least Java 7, so there may be an older Java installation getting in the way

 

I just noticed that is also said 

java.sql.SQLException: [SQLITE_NOTADB]  File opened that is not a database file (file is encrypted or is not a database)

That shouldn't impact phantombot

Molex to SATA, lose all your data

 

 

Link to post
Share on other sites

There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaNothing to configure.

Thats what it said. 

I like Computer Stuffs. Have you tried unplugging it and plugging it in again? Automation Expert (Bots, scripts, etc)! Add me on Xbox Live: JollyPlanet449 And on Steam!: Baxtmann Wanshow.tips is a cool place too

Link to post
Share on other sites

  • 2 months later...

Heya, I am one of the past core devs for PhantomBot, within the last two months our team has split, and myself and gmt2001 (the two main developers) are no longer working with the phantombot team. We have however taken our work and moved it towards QuorraBot, which is directly upgradeable from PhantomBot. I am a regular Arch Linux user, and have several guides regarding the bot on our site. The main reason behind the name change is Phantom owned the phantombot domain, however gmt and myself did most of the major work regarding the bot prior to phantom creating his own team. Anyway, I don't want to post a link because I'm new on these forums and would prefer not to break any rules, but if you need  help, feel free to send me a private message. Also apologies for reviving an old thread, I felt the need to post in case it is relevant for anyone else who might use the bot here.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×