Re: Ready to install but...
Your brother ckosloff recommends to rename dist-configure.php to configure.php.
Then make it writable by apache to do this you have to chmod 754.
You are a newbie by goodness sake.
go f*** yourself
Re: Ready to install but...
Are you trying to install or upgrade? From a previous posting, it sounds like you're doing an initial install.
When the text refers to the "Catalog", another term that's now used is the storefront and, from that message the zc_install is indicating that there's no /includes/configure.php (which would be the case when you're doing that initial installation). The /includes directory should have 755 permissions.
Re: Ready to install but...
In fact its an initial install, thanks for posting and clarifying the perms.
I have been away from Zencart for many years and since I am old it takes time to remember all that.
Somebody picked that the old ckosloff and the new CK0sloff were the same and merged the threads, that's good.
I created a new user because I did not remember password for the old one that sucks.
Re: Ready to install but...
Regarding post by lat9.
With all due respect to an Admin, I tried chmod 755 on the first alert, but it persisted.
So I chmod 777 and it works.
I also tried recursive chmod 755 on the folder and it didn't work either.
Re: Ready to install but...
Quote:
Originally Posted by
ckosloff
Regarding post by lat9.
With all due respect to an Admin, I tried chmod 755 on the first alert, but it persisted.
So I chmod 777 and it works.
I also tried recursive chmod 755 on the folder and it didn't work either.
security is not to be taken lightly.
properly configuring users, groups and their associated permissions need to be well thought out ahead of time.
setting up permissions at 777, in all due respect, is not something that i would do on a live system; unless of course i would have no problem with the loss and or compromise of all of those files.
Re: Ready to install but...
Of course, that is why i am going to fix all that, I set it to 777 only to please the installer.
So what are the recursive perms to set on folders, I am inclined now to 775.
I already chowned everything to ckosloff ckosloff.
Re: Ready to install but...
Quote:
Originally Posted by
ckosloff
Of course, that is why i am going to fix all that, I set it to 777 only to please the installer.
So what are the recursive perms to set on folders, I am inclined now to 775.
I already chowned everything to ckosloff ckosloff.
you only set it to 777 because you could not make it work any other way.
the installer is never pleased or displeased. it just is. it's code. it has no feelings. neither does chatGPT.
i would do a google search on hardening a debian 11 install. giving security recommendations on 1 small subset is not my game.
better yet, i would have a conversation with chatGPT about debian hardening. i am sure the chatBot would make very useful recommendations. soon it will replace all system admins.
best.
Re: Ready to install but...
Thanks for reply, savior.
Although suggestions are not answers.
I will follow another suggestion: there is hardening app in the Linode marketplace.
I already installed certbot and will install Cloud firewall.
I am not really paranoid about security but after losing ladywig.com to a hacker I am going to implement a policy of daily backups on top of it all.
That's why I needed adminer to backup database.
For files I just use linux tar comand.
Re: Ready to install but...
Quote:
Originally Posted by
ckosloff
Thanks for reply, savior.
Although suggestions are not answers.
....
That's why I needed adminer to backup database.
there is more than 1 way to do systems administration. that is why i only provide suggestions.
i can only provide answers for very specific problems. your questions are very general.
while i use adminer, there have been several security bulletins in the past. i would be very careful with its use.
i use a script that ties it to one's zen-cart login. if you do your research i am sure you can do that as well.
and i would NEVER put the adminer file in a place accessible from the internet. if someone finds it (and someone will), they will hack it all day long until they figure out your credentials and then probably do with it as they will...
finally, your reason for needing adminer is completely not true.
i would look here for how to create a bash script to backup all your databases. you can then add that to a cron job to do it daily. and then you can have another cron job to transfer it to a safe backup location not on your web server.
such is the work of a sys admin...
alternatively you can pay linode to backup your slice on a daily basis.
after you have a backup routine in place, i would then test it. most people do not do that. restore what you have backed up... see if it works.
good luck.
Re: Ready to install but...
I will move adminer behind the firewall I will shortly setup, give me some time I just returned to Zencart after a very long absence, I started in 2007, that's more than 15 years ago.
I started another similar thread where I address more questions.
I appreciate very much your suggestions, please keep them going.
Lastly, I think folders should be set to 775 to get past the installer, thus making them writable for group.
Thanks again.
Re: Ready to install but...
Here is a specific question: is 775 a good numeric way to set permissions on folders?.
Installer rejected 755, so I set to 777 just to get rid of the red line.
I am aware that it is a security hazard, I have already chowned my whole site to ckosloff ckosloff, a sudo user, and now I am planning to chmod everything to 775, that is the question.
To save me some work I can consider Linode service, depending on price, times are tough, we are in a recession.
I read about you setting adminer under your renamed admin login.
See you later.
Re: Ready to install but...
I will check that backup script later on when I am more advanced in creating the e-commerce site.
Last time I dabbled in ZenCart was 16 years ago.
In the meantime I am worried by a pesky error in adminer. I might encounter it when I try to connect to database during install.
I will post a thread about it
Re: Ready to install but...
I went for Linode backup service, $5 monthly for daily backups and snapshots included.
It 's a deal that would save me the hassle of backing up manually every day