Damon
Check my status to contact me :)
TFS+LAMP+phpMyAdmin+Znote Setup-Script
This script is meant to easily get you started with hosting your OTS ON linux
Features
- Able to choose to install LAMP (Linux Apache MySQL PHP)
- Able to choose to install phpMyAdmin (secret directory "http://yourip/pmasecret789")
- Able to choose to compile with latest sources. Prompts you to either use latest sources or use your own!
- Setup ZnoteAAC to your webserver (you only need to configure znote config.php and follow instructions from Znote; using apache2; /var/www/html)
Planned:
- Download pre-compiled TFS if compiling fails
- Security: IPtables, fail2ban, CSF
.
.
.
Instructions
1) SSH to your server
2) Enter the following commands one line at a time
3) Follow the prompts
4) If you installed TFS move your data files to /forgottenserver and configure your config.lua
5) If you installed Znote go to http://yourip and follow install instructions.
6) To start TFS use
in the forgottenserver folder
Requirements
- OS: Ubuntu 15.xx (tested on 15.04)
- root privileges
FAQ
Is this install completly unattended?
No. At times you will be prompted to either enter y for YES or n for NO (e.g. "Do you want to install ZnoteAAC?").
What is my MYSQL pw?
It is "MYPASSWORD123". Make sure to change it to a secure one after the script is done.
How can I access phpMyAdmin
Use http://yourip/pmasecret879
This is a little security measure to not have it at default path.
How do I login to phpMyAdmin?
Username: root
Password: MYPASSWORD123
For security reasons I suggest you create a new user in phpMyAdmin, grant it same privileges as root and delete root user.
Where is my www folder?
It is located at /var/www/html
How can I use my own sources to compile?
Replace the existing sources with yours before telling the script to start compiling.
Troubleshooting
I do get some "grub" window
Select "keep local grub" (the one that is already selected) and press ENTER to confirm.
I get a compiling error
Please use the support forum, or the soon to be implented feature "Use pre-compiled TFS" (will be asked directly after compiling).
SPECIAL THANKS TO:
Last but not least I want to THANK a selected few, who have continously helped me to accomplish this script
@HalfAway @Tarek1337 @Ninja @mdwilliamsThis script is meant to easily get you started with hosting your OTS ON linux
Features
- Able to choose to install LAMP (Linux Apache MySQL PHP)
- Able to choose to install phpMyAdmin (secret directory "http://yourip/pmasecret789")
- Able to choose to compile with latest sources. Prompts you to either use latest sources or use your own!
- Setup ZnoteAAC to your webserver (you only need to configure znote config.php and follow instructions from Znote; using apache2; /var/www/html)
Planned:
- Download pre-compiled TFS if compiling fails
- Security: IPtables, fail2ban, CSF
.
.
.
Instructions
1) SSH to your server
2) Enter the following commands one line at a time
Code:
wget https://raw.githubusercontent.com/NicolasLoew/vps/master/otsetup.sh
chmod +x otsetup.sh
./otsetup.sh
3) Follow the prompts
4) If you installed TFS move your data files to /forgottenserver and configure your config.lua
5) If you installed Znote go to http://yourip and follow install instructions.
6) To start TFS use
Code:
./tfs
Requirements
- OS: Ubuntu 15.xx (tested on 15.04)
- root privileges
FAQ
Is this install completly unattended?
No. At times you will be prompted to either enter y for YES or n for NO (e.g. "Do you want to install ZnoteAAC?").
What is my MYSQL pw?
It is "MYPASSWORD123". Make sure to change it to a secure one after the script is done.
How can I access phpMyAdmin
Use http://yourip/pmasecret879
This is a little security measure to not have it at default path.
How do I login to phpMyAdmin?
Username: root
Password: MYPASSWORD123
For security reasons I suggest you create a new user in phpMyAdmin, grant it same privileges as root and delete root user.
Where is my www folder?
It is located at /var/www/html
How can I use my own sources to compile?
Replace the existing sources with yours before telling the script to start compiling.
Troubleshooting
I do get some "grub" window
Select "keep local grub" (the one that is already selected) and press ENTER to confirm.
I get a compiling error
Please use the support forum, or the soon to be implented feature "Use pre-compiled TFS" (will be asked directly after compiling).
SPECIAL THANKS TO:
Last but not least I want to THANK a selected few, who have continously helped me to accomplish this script
Last edited: