I want to configure my system with event + suEXEC + FPM on さくらの VPS.
For that I rebuilt php.rpms with ‘--enable-fpm’, but I got fed up with all the dependency things when I used ‘rpm -ivh’. So I decided to create a repository for my own, ha-ha.
sudo adduser --gid xxxx myreposudo passwd myreposudo chmod 710 /home/myreposudo su - myrepomkdir public_htmlcd public_htmlmkdir x86_64exit I haven’t written it yet, but I already configure Apache httpd for suEXEC Support. So I have new User and Group on the httpd.conf. If you use the settings on this post for your repository, read my words about httpd configuration on the post as your words on your system.
I removed ‘Options Indexes’ from the httpd conf files, but want to show the indexes of the repository directory. For that I need to use ‘Options Indexes’ in the .htaccess file. So I did the following things.
UserDir enabled normuser1 —>> UserDir enabled normuser1 myrepoAllowOverride FileInfo AuthConfig Limit IndexesAllowOverride FileInfo AuthConfig Limit Indexes Options=Indexessudo systemctl restart httpd.servicesudo su - myrepocd public_html/x86_64vi .htaccesschmod 640 .htaccessexitrpm --addsign rpmbuild/RPMS/x86_64/*sudo gpg --gen-keysudo gpg --export -a 'o6asan' > RPM-GPG-KEY-o6asansudo gpg -o file.secret --export-secret-key o6asansudo mv /home/vmowner/file.secret /home/rpmbuilder/file.secretgpg --import file.secretvi .rpmmacros%_signature gpg%_gpg_name <Owner name>sudo yum install createreposudo createrepo /path to/x86_64 Now, I have a repository for my own and the URL is http://www17130ue.sakura.ne.jp/~myrepo/x86_64/.
I’ll write ‘How to use the repository for my own’ for the next post.
The laptop mentioned previous article successfully became 24H2. The touchpad was risen because the battery…
I had a cheap laptop from Amazon and had used it to watch streaming programs…
The recipe for sweet potato yōkan that I often made this fall. Ingredients Sweet potato…
After a long time, when I checked broken links and fixed them, I got an…
I made a box, so I prepare the contents. Theme and Plugins. The theme is…
Hehe, it's been almost a year since my last post. I received a notification email…
This website uses cookies.