- Posts: 3
Idea I made an install script
- Tuetenk0pp
- Topic Author
- Offline
- New Member
Less
More
1 year 11 months ago #1
by Tuetenk0pp
I made an install script was created by Tuetenk0pp
I made a little bash script that installs a lamp-stack, configures it, installs webtrees and ssl certificates and also supplies a local backup solution. Since this is my first attempt at writing a bash script I would be delighted to receive feedback. Feel free to test the script or submit issues. Currently it only works on Ubuntu but I would like to add support for other distros as well, e.g. Raspberry Pi OS.
Here is the link to the script:
github.com/Tuetenk0pp/webtrees-mngr
Here is the link to the script:
github.com/Tuetenk0pp/webtrees-mngr
Please Log in or Create an account to join the conversation.
- MartinBr
- Offline
- New Member
1 year 11 months ago #2
by MartinBr
Replied by MartinBr on topic I made an install script
Hi Tuetenk0pp,
I used your script and in the end it worked. I only stumbled over the fact that the webtrees-startup-assistant asked the same questions as your script and I put in different values. It is important that you use the same names, e.g. the default values as in the script:
Perhaps you could add this information in your readme file for noobs like me.
Thank you for the script. It is the only help I found in the web to run webtrees without studying computer science before.
Best regards
Martin
I used your script and in the end it worked. I only stumbled over the fact that the webtrees-startup-assistant asked the same questions as your script and I put in different values. It is important that you use the same names, e.g. the default values as in the script:
Code:
Base URL: localhost
Database Name: webtrees
Database User: webtrees
Database Password: ***
Thank you for the script. It is the only help I found in the web to run webtrees without studying computer science before.
Best regards
Martin
Please Log in or Create an account to join the conversation.
- Tuetenk0pp
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
1 year 11 months ago #3
by Tuetenk0pp
Replied by Tuetenk0pp on topic I made an install script
Hi Martin, I am very glad the script was useful to you. You are absolutely right about what you said. I made myself a note in the
GitHub Repo
.
Please Log in or Create an account to join the conversation.
- roncauston
- Offline
- New Member
Less
More
- Posts: 5
11 months 3 weeks ago #4
by roncauston
Replied by roncauston on topic I made an install script
Hi Tuetenk0pp, I am one of those using a raspberry pi to try and load webtrees and am finding great difficulty. I have set up the pi with raspberry pi OS and set up a lamp server which appears to work. I then use PHP to import the webtrees zip file but every time the php import crashes and says something like unrecognised instruction and I am lost. I saw this and wondered if you had progressed with your raspberry pi update to your script? Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
- Tuetenk0pp
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
11 months 3 weeks ago #5
by Tuetenk0pp
Replied by Tuetenk0pp on topic I made an install script
Hello,
have a look at the lines 103 to 111 in the script ( github.com/tuetenk0pp/webtrees-mngr/blob.../webtrees-install.sh ): I use wget and unzip to get the files in place. Hope that helps :)
have a look at the lines 103 to 111 in the script ( github.com/tuetenk0pp/webtrees-mngr/blob.../webtrees-install.sh ): I use wget and unzip to get the files in place. Hope that helps :)
Please Log in or Create an account to join the conversation.
- roncauston
- Offline
- New Member
Less
More
- Posts: 5
11 months 3 weeks ago #6
by roncauston
Replied by roncauston on topic I made an install script
Thanks, I'll have a look and let you know how I get on.
Please Log in or Create an account to join the conversation.