is PWserver working on CentOS ?

Page 1 of 2 12 LastLast
Results 1 to 25 of 30
  1. #1
    Valued Member bhashana is offline
    MemberRank
    Nov 2012 Join Date
    Behind YouLocation
    134Posts

    is PWserver working on CentOS ?

    hey guys im new to pw servers, i just want to know pw working on centOS or no
    please someone give me some advice and some help to setup a pw server


  2. #2
    uint is best int. Swoosh91 is offline
    MemberRank
    Feb 2010 Join Date
    BerlinLocation
    712Posts

    Re: is PWserver working on CentOS ?

    No, it only runs on windows 8.1, as you would have surely found if you had searched for 5 seconds before posting spam.

  3. #3
    Valued Member bhashana is offline
    MemberRank
    Nov 2012 Join Date
    Behind YouLocation
    134Posts

    Re: is PWserver working on CentOS ?

    Thanks for the reply. uhm i was finding about it but i couldn't find. don't blame for asking a help. let me try to do something reading more tutorials

  4. #4
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: is PWserver working on CentOS ?

    well, we're all just getting annoyed of the same 15 questions over and over again. I think you can understand that

    Linux is linux to PW. it doesn't take a certain version of it to run

  5. #5
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    Quote Originally Posted by Swoosh91 View Post
    No, it only runs on windows 8.1, as you would have surely found if you had searched for 5 seconds before posting spam.

    You run pw server on windows 8.1 O.O ?

    i am sorry to say but i use all time linux ^^''( and i like centos i use all time and work well )


    For some pw game need 4.9 if you wish be sur for lib but for pw 1.4.5 centos 6.4 work well too

  6. #6
    Valued Member bhashana is offline
    MemberRank
    Nov 2012 Join Date
    Behind YouLocation
    134Posts

    Re: is PWserver working on CentOS ?

    Quote Originally Posted by Psytrac View Post
    well, we're all just getting annoyed of the same 15 questions over and over again. I think you can understand that

    Linux is linux to PW. it doesn't take a certain version of it to run
    yeah i can understand about it and sorry for asking like this question. :(

    i saw this thread but i struck at xml file editing and adding sql base
    http://forum.ragezone.com/f695/insta...centos-788699/
    if you guys can give me a small help and explain about it

    Quote Originally Posted by rocklee330 View Post
    You run pw server on windows 8.1 O.O ?

    i am sorry to say but i use all time linux ^^''( and i like centos i use all time and work well )


    For some pw game need 4.9 if you wish be sur for lib but for pw 1.4.5 centos 6.4 work well too
    im using 5.0 for now and in my server cpanel also runing it make any problem?

  7. #7
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    what xml you mean table.xml for authd connect to mysql ?


    For sql use this 1 if you wish
    dbo.rar



    After that import with navicat or use this command :


    First the .sh:
    echo "Commencement configuration mysql"
    echo "Creation de database"
    $php_path/php $server_install_path/dbinstall.php >> $logs_path/dbinstall.txt 2>&1
    echo "Import de database"
    $php_path/php $server_install_path/dbinstall2.php >> $logs_path/dbinstall2.txt 2>&1
    echo "Configuration terminer"
    dbInstall.php :
    <?php
    $con = mysql_connect($dbhost,$dbuser,$dbpass);
    if (!$con)
    {
    die('Could not connect: ' . mysql_error());
    }

    if (mysql_query("CREATE DATABASE $dbname",$con))
    {
    echo "Database created";
    }
    else
    {
    echo "Error creating database: " . mysql_error();
    }

    mysql_close($con);
    ?>
    dbInstall2.php :

    passthru("$mysql_path/mysql -u $dbuser -p$dbpass $dbname < /root/sql/dbo.sql")
    Change all $thing to you configs and run the sh (need chmod 777 all )

    If you wish on all .php files put :
    include '/root/config.php';
    And add on /root/ config.php

    config.php:
    <? //=====For MySQL Database=====//
    $dbhost = "localhost";
    $dbuser = "root";
    $dbpass = "Password";
    $dbname = "DB";
    $php_path = "/opt/lampp/bin";
    $mysql_path = "/opt/lampp/bin";
    $logs_path = "/root/logs";
    $list_path = "/root/list";

    ?>
    And i have never test with cpanel but i think if config right can work well

  8. #8
    Valued Member bhashana is offline
    MemberRank
    Nov 2012 Join Date
    Behind YouLocation
    134Posts

    Re: is PWserver working on CentOS ?

    Quote Originally Posted by rocklee330 View Post
    what xml you mean table.xml for authd connect to mysql ?

    Spoiler:

    For sql use this 1 if you wish
    dbo.rar



    After that import with navicat or use this command :


    First the .sh:


    dbInstall.php :

    dbInstall2.php :


    Change all $thing to you configs and run the sh (need chmod 777 all )

    If you wish on all .php files put :


    And add on /root/ config.php

    config.php:


    And i have never test with cpanel but i think if config right can work well
    Thanks for great explanation. and yeah table.xml lil bit wired

  9. #9
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    Need found them after that you only need edit here

    <connection name="auth0" poolsize="3" url="jdbc:mysql://IPMYSQL:3306/DATABASEMYSQL?useUnicode=true&amp;characterEncoding=utf8" username="root" password="PassWord"/>
    (If mysql )

  10. #10
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: is PWserver working on CentOS ?

    no, chmod 755, not 777

  11. #11
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    Quote Originally Posted by Psytrac View Post
    no, chmod 755, not 777
    Test with 777 work too that what i use
    And i use 777 because much files need 777 and don't need think about

  12. #12
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: is PWserver working on CentOS ?

    well, ok, if you want people to cripple your server, use 777

    This is my folder, works perfectly:
    serverdir.jpg

  13. #13
    Valued Member bhashana is offline
    MemberRank
    Nov 2012 Join Date
    Behind YouLocation
    134Posts

    Re: is PWserver working on CentOS ?

    Quote Originally Posted by rocklee330 View Post
    Need found them after that you only need edit here



    (If mysql )
    its mysql, i have few questions about it
    im using cpanel software in my server

    1. cpanel will make problem to pw?
    2. if i make a new cpanel account and import sql base to phpmyadmin, will it work?
    3. if its not working i have to import sql base to server with your method? and it wont make stop working cpanel?

  14. #14
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: is PWserver working on CentOS ?

    it uses a different database

  15. #15
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    Never get any problem

    And for me 755(757) = more secure then 777 for put online don't need think here because local.

    1. cpanel will make problem to pw?If you open all port in local and open 29000 i think you can use
    2. if i make a new cpanel account and import sql base to phpmyadmin, will it work?Yes you can but don't forgot create db before import this sql not auto create them
    3. if its not working i have to import sql base to server with your method? and it wont make stop working cpanel?I don't think but better use cpanel if you have
    But if you can realy beter test first time with vmware and after set on dedi Or if not on dedi not with cpanel

  16. #16
    Valued Member bhashana is offline
    MemberRank
    Nov 2012 Join Date
    Behind YouLocation
    134Posts

    Re: is PWserver working on CentOS ?

    oh i got it well anyone know 755 more secure than 777, anyway now problem in sql base
    http://forum.ragezone.com/f751/pw-se...-4-7-a-943518/
    just uploaded this server files to the server. this server files are working right?

  17. #17
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    Quote Originally Posted by Psytrac View Post
    well, ok, if you want people to cripple your server, use 777

    This is my folder, works perfectly:
    serverdir.jpg
    you mean 777 server files ?
    because me i say for files create just before .

  18. #18
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: is PWserver working on CentOS ?

    server works fine, it's structured in a stupidly-strange way though

    Quote Originally Posted by rocklee330 View Post
    you mean 777 server files ?
    because me i say for files create just before .
    that's 755...

  19. #19
    Valued Member bhashana is offline
    MemberRank
    Nov 2012 Join Date
    Behind YouLocation
    134Posts

    Re: is PWserver working on CentOS ?

    Quote Originally Posted by rocklee330 View Post
    Need found them after that you only need edit here

    <connection name="auth0" poolsize="3" url="jdbc:mysql://IPMYSQL:3306/DATABASEMYSQL?useUnicode=true&amp;characterEncoding=utf8" username="root" password="PassWord"/>

    (If mysql )
    i forgot to ask, need only change username passowrd?, lil bit hard to understand what is this url is

  20. #20
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: is PWserver working on CentOS ?

    Quote Originally Posted by bhashana View Post
    i forgot to ask, need only change username passowrd?, lil bit hard to understand what is this url is
    <connection name="auth0" poolsize="3" url="jdbc:mysql://localhost:3306/pw?useUnicode=true&amp;characterEncoding=utf8&amp;zeroDateTimeBehavior=convertToNull&amp;transformedBitIsBoolean=true" username="root" password="apasshere"/>

    pw= my database

    localhost - the server is on the PC this is pulled from

    root - Mysql user
    password - change "apasshere" to your password. ex: "MyStupidPass"

  21. #21
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    IPMYSQL
    DATABASEMYSQL
    username nearby all time root (if not change )
    PassWord

    Those 4 think

    And also if your port if not 3306 for mysql change it ( 3306 is default port)

    Quote Originally Posted by Psytrac View Post
    server works fine, it's structured in a stupidly-strange way though


    that's 755...
    Explain me why 755 lol work perfectly with 777

    Because me i have learn 755 = remove write for group and other

  22. #22
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: is PWserver working on CentOS ?

    nothing needs to write to it except owner. you leave gaping holes i n your files if you do that

  23. #23
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    i realy not understand what you say those files are all in /root none can get online

    Where gaping holes if not put online the files and you can delete them that just for create and import db ...


    And i don't complain i just wish know possible fix security if you can proof me that unsecure
    Last edited by rocklee330; 25-07-13 at 12:32 PM.

  24. #24
    Psy Sins Psytrac is online now
    MemberRank
    Jul 2011 Join Date
    Hammond, INLocation
    2,015Posts

    Re: is PWserver working on CentOS ?

    mr "123 posts" thinks he knows more than anyone else huh? My server is active and online right now, I have several uses who come play, and I know how to set up a server, properly..

  25. #25
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: is PWserver working on CentOS ?

    don't wish answers this ...

    I am not here for break head



Page 1 of 2 12 LastLast

Advertisement