Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] [Release] TWLan / DSLan v1.4.3L1 for Linux
#36
(16.11.2010, 16:36)idefixjm Wrote: das mit dem bot geht aber immer noch nicht...
was soll ich da machen?
That's the problem of f*cking closed-source bots. Take iNk bot, that's another windoze exe which won't work in Linux.
If someone can suggest a good bot, written in PHP, I'ld be happy.

(16.11.2010, 16:46)idefixjm Wrote: er ist ja da, aber ich kann localhost/phpmyadmin nicht öffnen...

Not Found

The requested URL /phpmyadmin/ was not found on this server.
phpMyAdmin is not installed by default due to its size.
To run MySQL commands, create a php file and put the query in it. Example:
PHP Code:
<?php
$sql 
= <<<SQL
CREATE TABLE example (id INT UNSIGNED, row VARCHAR(25), PRIMARY KEY(id)) AUTO_INCREMENT=1;
SQL;
include 
'include/config.php';
$my mysql_connect($config['db_host'], $config['db_user'], $config['db_pw']) or die('Cannot establish a database connection');
mysql_select_db($config['db_name'], $my) or die('Cannot select a database');
mysql_query($sql) or die("Query failed");
?>
Note: there can only be one query in it, "SELECT a;SELECT B;" won't work for example.
If you want phpMyAdmin anyway, you should run the following commands in terminal:
Code:
cd /opt/twlan/htdocs && sudo wget 'http://mesh.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.11-english.tar.gz' && sudo tar xzf phpMyAdmin-2.11.11-english.tar.gz && sudo mv phpMyAdmin-2.11.11-english phpmyadmin && echo OK || echo FAIL
If everything went well, you should get the message "OK". Open http://localhost/phpmyadmin for PMA
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)


Messages In This Thread
RE: [Release] TWLan / DSLan v1.4.3L1 for Linux - by Lekensteyn - 16.11.2010, 19:34



Users browsing this thread: 11 Guest(s)