Documents Product Categories Piwik powered by Websoft9(LAMP | CentOS7.4)

Piwik powered by Websoft9(LAMP | CentOS7.4)

Jun 28, 2024
var _paq = _paq || []; /* tracker methods like "setCustomDimension" should be called before _paq.push([''trackPageView'']); _paq.push([''enableLinkTracking'']); (function() { var u="//47.88.224.34/piwik/"; _paq.push([''setTrackerUrl'', u+''piwik.php'']); _paq.push([''setSiteId'', ''1'']); var d=document, g=d.createElement(''script''), s=d.getElementsByTagNa g.type=''text/javascript''; g.async=true; g.defer=true; g.src=u+''piwi })(); you can get these codes from the dashborad of Piwik How to configure Piwik for speed? If you have thousands of page views per day or more, check out the guide below to make sure Piwik works for you. By default, Piwik works in real time (https://piwik.org/changelog). But when tracking a large website, It is highly recommended to disable “real time” reports (https://piwik.org/docs/setup-auto-archiving/) and only process reports for “today” every 1 or 6 hours for example. This way, access to the user interface will only read pre-processed reports. Note: the Real Time Visitors widget and the Visitors Log will still work in real time, only other reports for “today” (Best keywords, etc.) would not include the latest visits and page views. See also How long does Reports pre- processing take for high traffic websites? (https://piwik.org/faq/general/faq_38/#faq_38) Update Piwik to the latest version – How to for high traffic Piwik servers (https://piwik.org/docs/update/#database-upgrade-for-high-traffic-piwik- servers). Sometimes, new Piwik releases contain SQL schema updates on very big mysql tables (when adding a new field, new indexes, etc.). Theschema updates can take minutes or hours to complete: it helps to run the  Piwik updater via the shell/command line. How to access phpMyAdmin? Websoft9  Piwik  Image have installed the phpMyadmin phpMyAdmin install directory: /data/wwwroot/default/phpMyAdmin Linux Following is the step for access phpMyadmin 1. Open Chrome or Firefox on your local PC 2. visit the http://Internet IP Address/phpMyAdmin,you can enter the login page 3. select you language,Username:root,Password:123456 4. Click the button “Go” Windows Following is the step for access phpMyadmin1. User Remote Desktop Connection of Window to connect to you ECS  2. Install a Chrome or Firefox browser on you ECS 3. Open Chrome or Firefox on your ECS 4. visit the http://localhost/phpMyAdmin,you can enter the login page 5. select you language,Username:root,Password:123456 6. Click the button “Go” How to change the permissions of filesytem? When install new extension from back-end it will not successful,may be the permissions of file and folder is not appropriate,you should change it Web site root permissions to follow: file 644, folder 755 ,Permissions Users and groups www If there is a file permissions problem, execute the following three commands: chown -R www.www /data/wwwroot/default/piwik find /data/wwwroot/default/piwik -type d -exec chmod 755 {} \; find /data/wwwroot/default/piwik -type f -exec chmod 644 {} \; How to modify the allowed limit for upload? Modify the  /usr/local/php/etc/php.ini file to increase the allowed size for uploads: ; Maximum size of POST data that PHP will accept. post_max_size = 16M ; Maximum allowed size for uploaded files. upload_max_filesize = 16M then,restart the apache # service httpd restart How to modify PHP settings? The PHP configuration file allows you to configure the modules enabled, the email settings or the size of the upload files. It is located at /usr/local/php/etc/php.ini. There are some PHP settings that need to be sufficient to install. e.g The values for PHP.ini below are suggested values only. memory_limit – Minimum: 256M Recommended: 1G or better upload_max_filesize – Minimum: 20M post_max_size – Minimum: 20M max_execution_time: At Least 120 Recommended: 300 After modifying the PHP configuration file, restart both Apache and PHP- FPM for the changes to take effect: # service httpd restart How to change the max_execution_time?If you receive the message “Maximum execution time of 30 seconds  exceeded”.You may also like to extend the max_execution_time for PHP and you can modify it by two methods below Method one: edit your  /usr/local/php/etc/php.ini ; Maximum execution time of each script, in seconds ; http://php.net/max-execution-time ; Note: This directive is hardcoded to 0 for the CLI SAPI max_execution_time = 90 ; Maximum amount of time each script may spend parsing request data. It ; idea to limit this time on productions servers in order to eliminate ; long running scripts. Method two: edit your .htaccess: php_value max_execution_time 90 Piwik Help Links Links Free Web Analytics Software | Piwik (https://piwik.org) Websoft9">
To view the full page, please visit: Piwik powered by Websoft9(LAMP | CentOS7.4) Product Userguide

Piwik powered by Websoft9(LAMP | CentOS7.4)

Websoft9 Piwik is a pre-configured, ready to run image for running Piwik on Alibaba Cloud.
Buy now