User contributions for Qljca
Jump to navigation
Jump to search
20 June 2024
- 10:0310:03, 20 June 2024 diff hist +2 Supervisor No edit summary current
- 10:0210:02, 20 June 2024 diff hist +571 N Supervisor Created page with "== Supervisor Installation on CentOS/AlmaLinux/RockyLinux/RHEL== Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. Supervisor is used with Laravel to run Queue tasks automatically. 1. Install EPEL repo <pre>yum install epel-release</pre> 2. Install supervisor <pre>yum -y install supervisor</pre> 3. Configuration file of Supervisor is /etc/supervisord.conf 4. Start and Enable..."
- 09:4709:47, 20 June 2024 diff hist +45 Main Page No edit summary
- 09:4609:46, 20 June 2024 diff hist +47 Main Page No edit summary
- 09:4509:45, 20 June 2024 diff hist +517 N Softaculous Created page with "==Installation== <rre> wget -N http://files.softaculous.com/install.sh chmod 755 install.sh ./install.sh </pre> ==Showing 404 Error== We need to re-install Softaculous <pre> wget -N http://files.softaculous.com/install.sh chmod 755 install.sh ./install.sh --reinstall --force-download </pre> ==Could not determine the database prefix== It happens either wp-config.php is not readable or placed one level up or cPanel account does not have enough inodes/disk space. Kindly..." current
- 09:1209:12, 20 June 2024 diff hist +2,375 N PostgreSQL Created page with "==PostgreSQL SQL error== ===password authentication failed=== <pre>psql: FATAL: password authentication failed for user "postgres" password retrieved from file "/var/lib/pgsql/.pgpass"</pre> <pre> Solution: cp /var/lib/pgsql/9.6/data/pg_hba.conf /var/lib/pgsql/9.6/data/pg_hba.conf_backup chattr -aie /var/lib/pgsql/data/pg_hba.conf Copy the password from: cat /var/lib/pgsql/.pgpass Login to WHM > Configure PostgreSQL and update the password. Then, ----ia-------e-- /v..."
- 09:0409:04, 20 June 2024 diff hist +248 Htaccess No edit summary
- 09:0009:00, 20 June 2024 diff hist +80 Main Page No edit summary
- 08:5908:59, 20 June 2024 diff hist +542 N Memcache Created page with "==Installation== <pre> yum install memcached libmemcached libmemcached-devel cyrus-sasl-devel yum install https://repo.almalinux.org/almalinux/8/devel/x86_64/os/Packages/memcached-devel-1.5.22-2.el8.x86_64.rpm chkconfig memcached on ; systemctl enable memcached ; systemctl start memcached </pre> ==Install PHP extension== <pre> for PHP in $(ls -h /opt/cpanel |grep ea-php); do echo $PHP; sudo /opt/cpanel/$PHP/root/usr/bin/pecl channel-update pecl.php.net; printf '\n' | su..." current
- 08:4708:47, 20 June 2024 diff hist +1,624 N Magento Created page with "==Static Content Re-Generate== Before deleting pub/static make a backup of pub/static/.htaccess and restore it again. otherwise your all css and js will show 404 error! <pre> Remove pub/static (keep the .htaccess backed up and copy it again) Remove var/cache Remove var/composer_home Remove var/generation Remove var/page_cache Remove var/view_preprocessed Run php bin/magento setup:static-content:deploy </pre> ==Product not showing on frontend== <pre> php bin/magento in..."
- 08:3808:38, 20 June 2024 diff hist −13 Log Locations No edit summary current
- 08:3708:37, 20 June 2024 diff hist +51 Main Page No edit summary
- 08:3708:37, 20 June 2024 diff hist +1,797 N Log Locations Created page with "==cPanel Log Locations== ===Access logs and user actions==== <pre> /usr/local/cpanel/logs/access_log </pre> ===Auditing log (account creations, deletions, etc)=== <pre> /var/cpanel/accounting.log </pre> ===Backup log=== <pre> /usr/local/cpanel/logs/cpbackup </pre> ===Brute force protection (cphulkd) log=== <pre> /usr/local/cpanel/logs/cphulkd.log </pre> ===EasyApache build logs=== <pre> /usr/local/cpanel/logs/easy/apache/ </pre> ===cPanel error logs=== <pre> /usr/l..."
- 06:1506:15, 20 June 2024 diff hist +49 Main Page No edit summary
- 06:1406:14, 20 June 2024 diff hist +341 N Find Command Created page with "==Find and Delete Files with Specific Extension== <pre> find /var/log -name "*.log" -type f -mtime +30 -delete </pre> ==Find and Delete Files older Than 30 Days== <pre> find /opt/backup -type f -mtime +30 -delete </pre> ==Delete Directory older than 30 days Recursively== <pre> find /var/log -type d -mtime +30 -exec rm -rf {} \; </pre>" current
- 06:1106:11, 20 June 2024 diff hist +88 Htaccess No edit summary
- 06:0906:09, 20 June 2024 diff hist +45 Main Page No edit summary
- 06:0906:09, 20 June 2024 diff hist +58 N Cloudlinux Created page with "#[https://workwiki.in/Command_not_found Command Not Found]"
- 06:0806:08, 20 June 2024 diff hist +318 N Command not found Created page with "In cPanel, if you are getting command not found for cPanel user, you will need to add that command in cagefs. Do the following as root. <pre> Syntax: cagefsctl --addrpm CommandName/RPM Name Example: cagefsctl --addrpm telnet </pre> Then update Cagefs as following: <pre> /usr/sbin/cagefsctl --force-update </pre>" current
- 05:5405:54, 20 June 2024 diff hist +69 Main Page No edit summary
- 05:5305:53, 20 June 2024 diff hist −3 CPanel Help and Support No edit summary
- 05:5205:52, 20 June 2024 diff hist +59 N CPanel Help and Support Created page with "1. #[https://workwiki.in/Caldav_SSL_error CalDav SSL Error]"
- 05:5205:52, 20 June 2024 diff hist +285 N Caldav SSL error Created page with "1. Make sure mail.domain.com has valid SSL. 2. Manually import these with the following commands: <pre> /scripts/ccs-check --run --force --ssl </pre> <pre> /usr/local/cpanel/bin/servers_queue queue import_tls_data_for_ccs </pre> <pre> /usr/local/cpanel/bin/servers_queue run </pre>" current
- 05:3405:34, 20 June 2024 diff hist +31 Main Page No edit summary
- 05:3405:34, 20 June 2024 diff hist +1 m DNS No edit summary current
- 05:3405:34, 20 June 2024 diff hist +97 N DNS Created page with "Select one of the following: #[https://workwiki.in/Bulk_edits_to_your_DNS_Zones Bulk DNS Edits]"
- 05:3305:33, 20 June 2024 diff hist +1,280 N Bulk edits to your DNS Zones Created page with "1. To back up all zones, run the following command: <pre> cp -rf /var/named{,.backup} </pre> 2. Replace the nameservers used. In the following examples, we will use ns1.olddomain.tld and ns2.olddomain.tldas the current nameservers, and ns1/2.newddomain.tldfor the updated records, be sure to update the oldns and newns variables. <pre> oldns="ns1.olddomain.tld"; newns="ns1.newdomain.tld" ; find /var/named/*.db -exec perl -pi -e "s/(?<=IN\s\NS\s)$oldns/$newns/g" '{}' \; </..." current
- 05:2305:23, 20 June 2024 diff hist +39 Main Page No edit summary
- 05:2205:22, 20 June 2024 diff hist +415 N Laravel Created page with "==Clear Cache in Laravel using Artisan Command== ===Clear Application Cache=== <pre> php artisan cache:clear </pre> ===Clear Route Cache=== <pre> php artisan route:clear </pre> ===Clear Configuration Cache=== <pre> php artisan config:clear </pre> ===Clear Compiled Views Cache=== <pre> php artisan view:clear </pre> ===Clear all cache=== <pre> php artisan optimize:clear </pre>" current
19 June 2024
- 16:5016:50, 19 June 2024 diff hist +1,585 Htaccess No edit summary
- 16:4316:43, 19 June 2024 diff hist +93 Main Page No edit summary
- 16:4216:42, 19 June 2024 diff hist +394 N Security Headers Created page with "==Add the following to .htaccess== <pre> Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains" Header always set X-Frame-Options "SAMEORIGIN" Header always set X-Content-Type-Options "nosniff" Header always set Referrer-Policy "same-origin" Header always set Permissions-Policy "" Header always set Content-Security-Policy "script-src 'self' 'unsafe-inline';" </pre>" current
- 16:3716:37, 19 June 2024 diff hist +1 MySQL No edit summary
- 16:3616:36, 19 June 2024 diff hist +119 MySQL No edit summary
- 16:3316:33, 19 June 2024 diff hist +4 MySQL No edit summary
- 16:3216:32, 19 June 2024 diff hist +209 MySQL No edit summary
- 16:2816:28, 19 June 2024 diff hist +5 MySQL No edit summary
- 16:2716:27, 19 June 2024 diff hist +98 MySQL No edit summary
- 16:2316:23, 19 June 2024 diff hist +164 MySQL No edit summary
- 16:2116:21, 19 June 2024 diff hist +1 MySQL →Check the size of tables
- 16:2116:21, 19 June 2024 diff hist +254 MySQL No edit summary
- 16:1816:18, 19 June 2024 diff hist +100 MySQL No edit summary
- 16:1416:14, 19 June 2024 diff hist +504 N MySQL Created page with "==Check MySQL Version== <pre> mysql -V </pre> ==MySQL Dump== ===Backup All Databases=== <pre> mysqldump --all-databases > backup.sql </pre> ===Backup database using User=== <pre> mysqldump -u dbuser -p dbname > dbname.sql </pre> ===Exclude a table from MySQL Dump=== <pre> --ignore-table=dbname.tablename Syntax: mysqldump -u DBuser -p DBname --ignore-table=DBname.tablename > dbname.sql </pre> ===Export Single Table=== <pre> mysqldump -u username -p database-name t..."
- 15:3515:35, 19 June 2024 diff hist 0 m Atop No edit summary current
- 15:3515:35, 19 June 2024 diff hist +43 Atop No edit summary
- 15:3315:33, 19 June 2024 diff hist +125 Atop No edit summary
- 15:3115:31, 19 June 2024 diff hist +580 Atop No edit summary
- 15:2915:29, 19 June 2024 diff hist +69 Atop No edit summary
- 15:2515:25, 19 June 2024 diff hist +169 Atop No edit summary
- 15:1715:17, 19 June 2024 diff hist +148 Atop No edit summary