Blame
Date:
Fri Apr 1 04:00:22 2022
UTC
Message:
Daily backup
11
2021-12-17
text=When initially setting up oscommerce, one must first create a database and a user for said database, and the database server should be set to 127.0.0.1 when installing oscommerce (not localhost) in order to function correctly.%0a%0aAlso make sure that /etc/resolv.conf has been coped to /var/www/etc, one can do so with the following command:%0a%0acp /etc/resolv.conf /var/www/etc%0a%0aThe SQL command to create a database is as follows:%0a%0aCREATE DATABASE databasename;%0a%0aThe SQL command to create a user and grant said user permissions to use the database created previously are as follows:%0a%0aGRANT ALL PRIVILEGES ON databasename.* TO "oscuser"@"localhost" IDENTIFIED BY "password";%0a%0aAfter both are created, the permissions should be flushed with the following command:%0a%0aFLUSH PRIVILEGES;%0a%0aThe following section applies only if you are accepting cryptocurrency payments with globee:%0aIn globee module settings, make sure your currency is set to the fiat currency you're listing your prices in, for example if you're listing your prices in USD, make sure you type in USD and only USD, as by default many currencies are there (which should be erased).%0a%0aYou also must move your /etc/cert.pem into the chroot, which can be done with the following command:%0a%0amkdir -p /var/www/etc/ssl && cp /etc/ssl/cert.pem /var/www/etc/ssl%0a%0a
14
2021-12-17
diff:1597226457:1597226457:=1,25d0%0a%3c When initially setting up oscommerce, one must first create a database and a user for said database, and the database server should be set to 127.0.0.1 when installing oscommerce (not localhost) in order to function correctly.%0a%3c %0a%3c Also make sure that /etc/resolv.conf has been coped to /var/www/etc, one can do so with the following command:%0a%3c %0a%3c cp /etc/resolv.conf /var/www/etc%0a%3c %0a%3c The SQL command to create a database is as follows:%0a%3c %0a%3c CREATE DATABASE databasename;%0a%3c %0a%3c The SQL command to create a user and grant said user permissions to use the database created previously are as follows:%0a%3c %0a%3c GRANT ALL PRIVILEGES ON databasename.* TO "oscuser"@"localhost" IDENTIFIED BY "password";%0a%3c %0a%3c After both are created, the permissions should be flushed with the following command:%0a%3c %0a%3c FLUSH PRIVILEGES;%0a%3c %0a%3c The following section applies only if you are accepting cryptocurrency payments with globee:%0a%3c In globee module settings, make sure your currency is set to the fiat currency you're listing your prices in, for example if you're listing your prices in USD, make sure you type in USD and only USD, as by default many currencies are there (which should be erased).%0a%3c %0a%3c You also must move your /etc/cert.pem into the chroot, which can be done with the following command:%0a%3c %0a%3c mkdir -p /var/www/etc/ssl && cp /etc/ssl/cert.pem /var/www/etc/ssl%0a%3c %0a