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![]()
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![]()
No, it only runs on windows 8.1, as you would have surely found if you had searched for 5 seconds before posting spam.
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
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
im using 5.0 for now and in my server cpanel also runing it make any problem?
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:
dbInstall.php :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"
dbInstall2.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);
?>
Change all $thing to you configs and run the sh (need chmod 777 all )
passthru("$mysql_path/mysql -u $dbuser -p$dbpass $dbname < /root/sql/dbo.sql")
If you wish on all .php files put :
And add on /root/ config.phpinclude '/root/config.php';
config.php:
And i have never test with cpanel but i think if config right can work well<? //=====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";
?>
Need found them after that you only need edit here
(If mysql )<connection name="auth0" poolsize="3" url="jdbc:mysql://IPMYSQL:3306/DATABASEMYSQL?useUnicode=true&characterEncoding=utf8" username="root" password="PassWord"/>
no, chmod 755, not 777
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?
it uses a different database
Never get any problem
And for me 755(757) = more secure then 777 for put online don't need think here because local.
But if you can realy beter test first time with vmware and after set on dedi Or if not on dedi not with cpanel1. 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
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?
<connection name="auth0" poolsize="3" url="jdbc:mysql://localhost:3306/pw?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&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"
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)
Explain me why 755 lol work perfectly with 777
Because me i have learn 755 = remove write for group and other
nothing needs to write to it except owner. you leave gaping holes i n your files if you do that
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.
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..
don't wish answers this ...
I am not here for break head