Ubuntu Server 13.04 Setup - x86 & x64

Zedingo
Developer
Posts: 85
Joined: Tue Aug 14, 2012 12:24 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by Zedingo » Fri Dec 27, 2013 8:38 am

It's not the config script. SOMEONE decided to capitalize the R in their #include, but not in the filename.

n00bgames
Posts: 52
Joined: Tue Dec 24, 2013 12:29 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by n00bgames » Sat Dec 28, 2013 3:08 pm

Has anyone done an implementation of an AHBot for linux? I'm having serious issues getting the original tool for windows to remote connect to my DB on linux. I have all the settings and permissions connect for the remote connection just not sure why I can't get it to work.

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by atom0s » Sun Dec 29, 2013 1:54 am

Make sure that you have properly port-forwarded your SQL servers port. (Also be sure it even allows remote connections.)

Make sure the user you are using has access to the machine from the hostmask it will have while connecting.
Default users in SQL are restricted to @localhost to prevent remote usage for security reasons.

If anything, make a separate user entirely for the AH tool to use and make the password very secure if you are allowing remote connections to your server.

n00bgames
Posts: 52
Joined: Tue Dec 24, 2013 12:29 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by n00bgames » Sun Dec 29, 2013 3:24 pm

atom0s wrote:Make sure that you have properly port-forwarded your SQL servers port. (Also be sure it even allows remote connections.)

Make sure the user you are using has access to the machine from the hostmask it will have while connecting.
Default users in SQL are restricted to @localhost to prevent remote usage for security reasons.

If anything, make a separate user entirely for the AH tool to use and make the password very secure if you are allowing remote connections to your server.
Yeah I've tried several guides, they've changed my.cnf lately so there's no skip-networking to comment out, I've commented out the bind-address, I've tried changing the bind-address to 0.0.0.0 my 'root'@'%' is set. The port is allowed in UFW for both protocols. Not sure what's not allowing me to do it, but it makes me sad. For now I'm just running the server on my gaming box, it has a better processor and SSD + more ram anyway. But I'd really like to have the server on linux as I'll be upgrading my linux box to an i7 with more ram soon and I've always been a fan of having gaming servers on linux.

infix
Posts: 2
Joined: Sat May 31, 2014 10:56 am

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by infix » Sat May 31, 2014 11:29 am

Suppose I'm digging up dead threads, but I'm getting the following error building local server:

Code: Select all

src/map/instance_loader.cpp: In member function ‘CInstance* CInstanceLoader::LoadInstance()’:
src/map/instance_loader.cpp:84:3: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
src/map/instance_loader.cpp:224:9: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
make: *** [dsgame-instance_loader.o] Error 1
Followed tutorial precisely.

Specs:
64 bit ubuntu 12.04 runnin on vbox.
installed libraries per wiki, including all 32 bit libs
config run with CPPFLAGS=-m32 CXXFLAGS=-m32 ./configure
make gives the error

Any help would be appreciated.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by kjLotus » Sat May 31, 2014 2:59 pm

it won't compile on ubuntu 12.04 anymore

maybe 13.04 or 13.10, for sure 14.04

infix
Posts: 2
Joined: Sat May 31, 2014 10:56 am

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by infix » Sat May 31, 2014 6:13 pm

d'oh. Good to know.

Guess it's about time I upgrade my old box then.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by kjLotus » Sat May 31, 2014 6:25 pm

sorry, i should correct myself: it won't compile on g++ 4.6 (which is what 12.04 comes with)

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by bluekirby0 » Thu Jun 19, 2014 4:18 am

You have a new minimum gcc version then? I think 4.6 is what we have in the guide.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by kjLotus » Thu Jun 19, 2014 4:41 am

bluekirby0 wrote:You have a new minimum gcc version then? I think 4.6 is what we have in the guide.
have you read the guide recently? :D

Post Reply