Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] [Release] TWLan / DSLan v1.4.3L1 for Linux
#21
idefixjm, kannst du das nächste code ausführen: (can you run (and post the output of)Smile
Code:
stat /opt/twlan/htdocs/templates/index_steps.tpl
If needed, use 'sudo'.

@Chrissi, no problem, I'm a daily Linux (kubuntu) user Smile
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#22
es geht nach einer neuinstallation wieder, nur die config-datei ist schreibgeschützt...
was soll ich denn machen um die config.php zu ändern?
ps: wenn ich für den bot localhost/phpmyadmin/ öffne, findet er die seite nicht...
#23
Code:
cd /opt/twlan
sudo chmod -R 777 htdocs

Setzt Lese- und Schreibrechte für den gesamten htdocs Ordner.
Danach sollte sich alles bearbeiten lassen ;-)

LG
Molt
#24
Wink 
danke Wink
#25
(13.11.2010, 09:45)Molt Wrote:
Code:
cd /opt/twlan
sudo chmod -R 777 htdocs

Setzt Lese- und Schreibrechte für den gesamten htdocs Ordner.
Danach sollte sich alles bearbeiten lassen ;-)

LG
Molt

I strongly suggest you not to do that.
You're opening a security hole in your system.
To restore the permissions on your htdocs folder and make it writable to you, run:
Code:
sudo find /opt/twlan -type d -exec chmod 775 {} \;
sudo find /opt/twlan -type f -exec chmod 664 {} \;
sudo chown -R nobody:youruser /opt/twlan
Replace 'youruser' by your username.
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#26
(13.11.2010, 12:50)Lekensteyn Wrote: I strongly suggest you not to do that.
You're opening a security hole in your system.
You're right, usually you shouldn't do that, but it shouldn't be a real problem on a lan version... but you're right.

LG
Molt
#27
It's not just about TWLan, it's about the whole system. Why would you leave your key in a door if it's easy to take it out?
Chmod 777 is poor practise.
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)
#28
das mit dem bot geht aber immer noch nicht...
was soll ich da machen?
#29
lade dir doch einfach die neue aio von bettdecke runter,da is alles drauf,und es klappt alles!
Mfg Matern
Kenn mich einigermaßen aus wenn ich euch geholfen hab,dann könnt ihr mich gerne [Bewerten]
#30
(16.11.2010, 16:39)Matern Wrote: lade dir doch einfach die neue aio von bettdecke runter,da is alles drauf,und es klappt alles!
Mfg Matern

Es geht hier um die Linux Version.
Hier für andere Versionen Werbung zu machen, ist völlig unsinnig.
 Du suchst ein Tool? Dann sieh doch mal in meine Toolsammlung!
#31
er ist ja da, aber ich kann localhost/phpmyadmin nicht öffnen...

Not Found

The requested URL /phpmyadmin/ was not found on this server.
#32
sry Jonsn,tut mir sehr leid!
@idefixjm

schreib mir hier pls ne pn,ich muss mit dir mal reden....
Mfg MaternWink
Kenn mich einigermaßen aus wenn ich euch geholfen hab,dann könnt ihr mich gerne [Bewerten]
#33
warum machst du das nicht selber, wenn du mit mir reden willst...
#34
weil du mich geblockt hast freundlicherweise
Kenn mich einigermaßen aus wenn ich euch geholfen hab,dann könnt ihr mich gerne [Bewerten]
#35
(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.

das liegt daran, dass phpmyadmin in dieser linuxversion nicht enthalten ist...

nachträglich phpmyadmin zu konfigurieren ist zwar möglich, setzt aber einige vorkenntnisse vorraus...
#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)
#37
PS: ich habe zwar die Bonusdörfer bilder aber wie kann ich sie Anschalten dass sie auch im Spiel vorhanden sind?
(16.11.2010, 16:54)Matern Wrote: weil du mich geblockt hast freundlicherweise

Code:
Deine Ignorierliste ist zur Zeit leer. Bitte verwende das Formular, um Benutzer hinzuzufügen.
#38
Ich glaube, du handelst doppelt so schnell wie du denkst/liest. Nicht als Beleidigung gemeint, lies einfach bitte jeweils alles durch Wink
Adminpanel -> Bonusdörfer Wink

LG
Molt
#39
WO???

beim Klick auf dem Downloadlink ist ein bild zum anschauen vorhanden...
#40
Was?
Welchen Link hast du denn?

LG
Molt




Users browsing this thread: 1 Guest(s)