2/12/2024 0 Comments Phpmyadmin nginx debian 11Since remembering the command for Filebrowser can be difficult and you might want it to run in the background, it’s possible to make it a systemd service by creating a file in /etc/systemd/system/rvice with your favorite text editor, and adding the following lines (Replacing Filebrowser Command with your Filebrowser command, obviously): Then finally, select Save at the bottom of the page: Making Filebrowser a Service Over on the left side of the screen, select Settings:Įnter a new username and password of your choice: You’ll want to change this from the defaults. Once you’ve accessed the login page, use admin for the username and password. Some Linux distros may include a firewall like ufw or iptables by default, but Debian does not. If you can’t access it, check to make sure that the IP address you entered is correct (Or try entering 0.0.0.0, but I’ve found that it doesn’t always work), and make sure that any firewall that your server is behind is allowing the port you specified. You should now be able to access Filebrowser by typing in your_ip_address:your_port_number in to your web browser. To install Filebrowser, simply copy-paste the following command (Make sure you install curl first): curl -fsSL | sudo bashįilebrowser has various options, but to run Filebrowser and give it full access to your filesystem, replace the example IP address and the port number with yours (If you don’t specify it, then port 8080 will be used), and run the following command: sudo filebrowser -r / -a 12.34.56.78 -p 1234 It might not be as user friendly, but this will eliminate the need of having more services running and ports open on your server. However, if you’re using SSH on your server, you can also skip this step (Unless if you want to manage config files through a web interface) since you can leverage SFTP (SSH File Transfer Protocol) through FileZilla. If you do know what you’re doing, a web-based file manager like Filebrowser makes life a lot easier when editing config files. If it’s not properly firewalled off, an attacker could guess your login info and gain full access to your server’s filesystem. I cannot stress this enough, but if you don’t know how to properly firewall off a server, skip this step. I personally use Vultr ( What’s a good blog post without a referral plug? ), but there’s plenty of good options out there. Not only is it more secure, but you don’t have to worry about stuff like CGNAT (Carrier-Grade NAT) or poor upload speeds (Like I do, thanks Xfinity). You really don’t need much for this project, however, I would recommend using a VPS (Virtual Private Server) instead of directly exposing parts of your network to the internet. If you open SSH to the internet and an attacker guesses your login, then they will have full root access to your server. However, do not do this if you don’t know how to firewall a server off.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |