Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] [Release] TWLan / DSLan v1.4.3L1 for Linux
#41
(19.11.2010, 14:09)idefixjm Wrote: http://www.twlan.org/de/showthread.php?tid=3635

siehe Beitrag 1 - Download

That file is bugged, it'll show a '7' in every page, possibly breaking other scripts.
Instructions for increasing the storage in Linux:
1. Start a terminal (https://help.ubuntu.com/community/UsingT...20Terminal)
2. Assuming that you've installed it in the standard folder, run:
Code:
sudo nano /opt/twlan/htdocs/include/configs/max_storage.php
sudo runs the application 'nano' as root, which is necessary for editing the configuration file when not owning the file.
nano is a texteditor: nano - Nano's ANOther editor, an enhanced free Pico clone
3. To move down, use the arrow keys or Page up / Page down. Move down by repeatingly pressing Page down.
In the end, you'll see:
Code:
    "29"=>"325337",

    "30"=>"400000"

);

?>
5. To add extra levels, add a comma after the last ", press Enter for a newline, and type: "31"=>"420000".
The result should look like this:
Code:
    "29"=>"325337",

    "30"=>"400000",
"31"=>"420000"

);

?>
Spaces and newlines before and after the line are ignores, thus the following will be fine too:
Code:
    "29"=>"325337",

    "30"=>"400000",

    "31"=>"420000"

);

?>
5. You've just added level 31 Storage with a capacity of 420000!
6. If you want to add more levels, repeat step 5. Otherwise, continue to 7.
7. Press Ctrl + X for saving and confirm it by pressing Y (or J, depending on your system locale). On the "File Name to Write" prompt, just press Enter without changing the name.
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



Users browsing this thread: 6 Guest(s)