![]() I created a user called 'piwigo' and a database called 'lucy': mysql> CREATE USER IDENTIFIED BY '' Search the web again “mysql cheat sheet”, 'create user' is one of the first things listed. Next I need to create a database user for piwigo. Success, PHP should be able to interact with MySQL now. Okay, yeah sudo systemctl restart apache2 How to restart a service again? history | grep apache I'm supposed to add extension=php_mysqli.so, but actually it was already there, i just uncommented it. Oops, read only sudo vim /etc/php/7.4/apache2/php.ini No results, need to update my locate database again (since i just installed php): sudo updatedbįound it vim /etc/php/7.4/apache2/php.ini Ok it says i need to edit php.ini, but where's that? locate php.ini Time for another more web searche That takes me to stackoverflow: Nah, apache is already working fine, maybe i'll come back to that when I want another site on this host.įor now, move everything to /var/www/html and try it Piwigo encountered a non recoverable error Next up, the instructions say to set up a virtual host? sudo apt install php libapache2-mod-php php-mysql Then install mysql server (weirdly big package, 250MB) and configure it to be secure sudo apt install mysql-server I saved that into a script, because it tends to come up pretty often: echo curl echo > my_ip Configure my web serverĭuckduckgo search for something about basic php server config, found this, digital ocean is reputable I think:įind my public IP, to see if I still have apache correctly running from the skill up challenge: curl Gonna configure a PHP stack with a mysql database and then try loading install.php in my browser (literally just assuming that's the right thing to do). It seems like php stuff, with an 'install.php file'. Unzip piwgo # not sure why this worked without me typing ".zip", but it did Mv dlcounter.php\?code\=latest piwigo.zip # Move to a better name annoying problem: got a file with a bad name (I guess I should use -O), but figured it out:įile dlcounter.php\?code\=latest # Weird filename, use file to determine the actual type (zip archive).I looked at the 'discover' for two seconds and then decided to give it a try Evaluate Piwigo I searched for “selfhosted photo album”, reddit had one with 13 upvotes, called Update (Nov 21, 2021): (The site has been decommissioned) Process Create a little photo album for my dog Lucy's birth anniversary on the 7th.I really dont understand why either, IPTC isnt new its been around since the early 1990's, and exiftool is foss and supports everything including Apple's HEIC.After completing the Linux Up Skill challenge ( ), I have a web-facing Linode Linux VPS that I don't know what to do with. There are so many really nice selfhosted solutions, but almost none of them will write metadata, and the few that do its support is very limited. But without a solid management program that can be accessed from our iPhones and actually read and write metadata, I will be right back in the same position again in a year or two. Plus I still need to help my wife go through hers.ugh.īut the part that really worries me is the "wont need to do it again in the future", thats word for word my reasoning for doing this. I said the same thing, and 2 weeks later I still havent even finished sorting them into folders yet, and I still need to de-dupe and tag.I way underestimated how many pictures I have. Lol that statement right there sounds really familiar. ![]() Ill probably just spend a few evenings catching up on shows while I retag everything, but once I get that process down, I won't need to do it again in the future What Is SelfHosted, As it pertains to this subreddit? Also include hints and tips for less technical readers. We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Service: Blogger - Alternative: WordPress Service: Google Reader - Alternative: Tiny Tiny RSS Service: Dropbox - Alternative: Nextcloud While you're here, please Read This FirstĪ place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
0 Comments
Leave a Reply. |