Let_It_Run - A Eclectic Software Tutorial ThinkTank

Guides and tutorials for various stuff. Posted by DietPi users.
Post Reply
Gigabit
Posts: 22
Joined: Fri Dec 23, 2016 6:28 pm

Let_It_Run - A Eclectic Software Tutorial ThinkTank

Post by Gigabit »

[center]Let It Run: Tutorial ThinkTank[/center]
Enjoy experimenting with new software on dietpi? This thread is a repository of software and install Tutorials.

[center]Tutorial Contribution Etiquette[/center]
-Tutorial Authors-
"Once Spoilers implemented on the forums please make use of them. This will keep the posts clean and compact. Include in the title complete or [REL] 'Release' or [WIP] 'Work in Progress'. [REL] being a tutorial that's functional and instructions are complete, which I will automatically adopted into the [REL] Tutorial subsection. [WIP] being the guide is not fully functional and requires additional content to complete. In the event your project is [WIP] use 'WIP -' to indicate what issue or step you're working on. Once your tutorial is Complete please edit the title with [REL] Have your post containing your Tutorial deleted once it's included in the OP release section as a [REL].

This is not a place to seek support for creating tutorials. It's expected that you follow through creating your own tutorial. Indirectly however, mark using 'WIP -' to indicate what issue or step you're working on. That way people under their own initiative might share insights without directly being asked."

-Tutorial Users-
"For those that are using tutorials that are marked as [REL] feel free to post about issues. Please mention the author of the Tutorial as they are the primary responsible party for support."

In the event that any of these software tutorials are used to integrate into Dietpi they will be removed and enter the Hall of Fame. Issues or concerns should then be directed to Github via a support ticket.

[center]Hall of Fame[/center]
[center]Empty[/center]

Tutorial Template Raw -EZ copy and pasting-

Code: Select all

[center][url=][color=#BF0000][WIP][/color] Name of and hyperlink to Software[/url][/center]

Description
[list]Description of the software and your personal comments.[/list]

1. Prerequisites
[list] DietPi_version_-Device-CPU Architecture-(OS)[/list]
[list] Knowledge or instructions that are required before following the main install instructions.[/list]

2. Main Install Instructions
[list]The main body of instructions or a link to those instructions to install the software[/list]

3. Configuration

[list]Configuration steps that might be needed outside the initial install instructions and prerequisites.[/list]

-Troubleshooting-

[list]1. A error message

-Description-
What does the error mean?

-Solution-
Detailed instructions to solve the error[/list]

[b][center]End[/center][/b]
Last edited by Gigabit on Tue Dec 27, 2016 7:39 pm, edited 6 times in total.

Gigabit
Posts: 22
Joined: Fri Dec 23, 2016 6:28 pm

Re: Let_It_Run - A Eclectic Software Tutorial ThinkTank

Post by Gigabit »

[REL] Tutorials
Fail2Ban Dashboard - Fail2ban web dashboard written with Flask framework


[WIP] Tutorials

-Empty-
Last edited by Gigabit on Wed Dec 28, 2016 8:09 pm, edited 4 times in total.

Gigabit
Posts: 22
Joined: Fri Dec 23, 2016 6:28 pm

Re: Let_It_Run - A Eclectic Software Tutorial ThinkTank

Post by Gigabit »

-Placeholder-

Gigabit
Posts: 22
Joined: Fri Dec 23, 2016 6:28 pm

Re: Let_It_Run - A Eclectic Software Tutorial ThinkTank

Post by Gigabit »

Description
  • Fail2ban web dashboard written with Flask framework
1. Prerequisites before following the install guide Fail2Ban Dashboard Github page.
  • DietPi_v140_OdroidXU4-armv7-(Jessie)
2. Main Install Instructions 3. Configuration
N/A

-Troubleshooting-
  • 1. socket.error: [Errno 98] Address already in use.

    -Description-
    There is another process listening on the port.

    -Solution-
    Find out that process by using the following command:

    lsof -i :5000
    • Solution A
      1. Deploy the application with Gunicorn
      pip install gunicorn

      2. Change fail2ban dashboard port number that's not in use.
      gunicorn home:app -p fail2ban_dashboard.pid -b 0.0.0.0:5000 -D

      Solution B
      Uninstall Rtorrent and reinstall it after fail2ban dashboard. During initialization Rtorrent only uses used ports. Rtorrent (possibly any torrent program) must start after any program that utilize ports.

      Solution C
      Restrict Rtorrent port ranges to avoid conflicts.
End
Last edited by Gigabit on Thu Dec 29, 2016 6:34 pm, edited 13 times in total.

User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Let_It_Run - A Eclectic Software Tutorial ThinkTank

Post by Fourdee »

Gigabit wrote:
Let It Run: Tutorial ThinkTank

Enjoy experimenting with new software on dietpi? This thread is a repository of software and install Tutorials.
Interesting, i like where this is going :)
If you keep this up, you'll probably get mod status before 2017 hehe ;)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal, Bitcoin or become a DietPi patron.

Post Reply