Skip to main content

Posts

Part 3 : How to Install Latest ICU system package for Presta 1.7.6.3 on CWP7?

In this part , We will update ICU system package but the latest package is not available in repo. So we will build it manually then we will compile php again.
# cd /home/datahead/public_html/ # php bin/symfony_requirements # icuinfo | grep version # yum list available | grep libicu
How to Install Latest ICU system package for Presta 1.7.6.3 on CWP7?
# cd /usr/local/src # wget http://download.icu-project.org/files/icu4c/64.1/icu4c-64_1-src.tgz # tar -xvf icu4c-*.tgz # cd icu/source/ # sed -i '/#define __UCONFIG_H__/a #define UCONFIG_ENABLE_PLUGINS 1' common/unicode/uconfig.h # ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --datadir=/usr/share --enable-plugins # make -j4 && make install # reboot # icuinfo | grep version Now We need to compile PHP-FPM 7.2 selected subversion: 7.2.X again.

Select everything except recode, & sqlsrv and save custom configuration. Don't use IMAP & Recode at a time Because imap (libc-client) and recode (librecode…
Recent posts

MaxIOPS Block Storage VPS : Start Your Free Trial for 5 Months, Promo Code: AQX767

Today I’ll introduce with you a VPS server provider which is the best at its price and performance wise also. They are providing World's fastest cloud server as well as Private Cloud with MaxIOPS block storage services.
Start Your Free Trial for 5 Months, Use Promo Code: AQX767
Sign Up Link
All cloud servers are deployed on enterprise-grade hardware. Together with Upcloud in-house developed software and proprietary MaxIOPS storage technology, you will get industry-leading performance at all times. Cloud servers are deployed in less than 45 seconds. With incredibly fast boot times, you will get up and running within minutes. Yes Upcloud , as the VPS provider it includes DDOS protection, Pure SSD and obviously Fair Usage i.e. no issue in the peak time (safe from noisy neighbors).

I am using two VMs on Upcloud and Migrated from AWS & Azure . Azure Linux instance is very slow to rebbot . Also Linode took more time to reboot the VMs . I was very frustrated that  CWP7.pro was running …

Part 2 : How to Install Presta 1.7.6.3 on CWP Server

May be you are confused, Because you read our part 1 article. We have a domain (www.datahead.biz) , So we will use for our Prestashop. At first create an account for that domain, i mean host your domain on CWP server. I am assuming that you have root access to your CWP server.
1. Go to Home directory of that hosted Domain and Download Prestashop 1.7.6.3 . Now unzip the downloaded file.
# cd /home/datahead/public_html/ # wget https://download.prestashop.com/download/releases/prestashop_1.7.6.3.zip # ll total 60888 -rw-r--r-- 1 datahead datahead 5069 Jan 24 2017 index.html -rw-r--r-- 1 root root 62340959 Feb 2 02:21 prestashop_1.7.6.3.zip # unzip prestashop_1.7.6.3.zip Archive: prestashop_1.7.6.3.zip inflating: prestashop.zip inflating: index.php inflating: Install_PrestaShop.html 2. Fix the account permission after unzip the Presta

3.Now open your website in Browser
4. ICU system package and the intl PHP extension is outdated
5. Go to /hom…

Part 1 : System Requirements for Presta 1.7.6.3 on CWP Server

If you think that you want to run online eCommerce business but you can't find any store then PrestaShop is right solutions for you. But Presta has special system requirements to run online store. Many hosting provider will provide high speed hosting/server etc but they don't meet the Presta System Requirements.
Section 1: To install PrestaShop 1.7 on the InternetA domain name (or a subdomain/subfolder)Recommended web server: Apache 2.x, NginxPHP 5.6+ , MySQL 5.0+ installed with a database createdFTP access (ask your hosting service for your credentials) ConfigurationIn the PHP configuration (php.ini file) set memory_limit to "128M" and upload_max_filesize to "16M" (or more if available). If you do not have direct access to the php.ini file, ask your provider to change the settings for you.SSL certificate if you plan to process payments internally (not using PayPal for instance)Must have PHP extensions: Mcrypt, OpenSSL, Zip, Curl, GD, PDOTo improve perform…

CWP: Getting CSF Firewall error after CSF Updating

Getting CSF Firewall error after CSF Updating . From 2019-12-29, MaxMind REQUIRES you to create an account on their site and to generate a license key to use their databases. Run the following Command:
# csf -raError
Country Code Lookups setting MM_LICENSE_KEY must be set in /etc/csf/csf.conf to continue using the MaxMind databases You MUST set the following to continue using the IP lookup features of csf, otherwise an error will be generated and the features will not work.

Visit the following website to create new account (https://www.maxmind.com/en/geolite2/signup) and update your billing address and issue your Licence key for CSF firewall.
Now Edit your CSF configuration file & use your Key.
# vi /etc/csf/csf.conf MM_LICENSE_KEY = "your licence key" CC_SRC = 1
See:
https://blog.configserver.com/?p=3216
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

CWP: How to Allow or Block Traffic by Country in the CSF Firewall

Country-level filtering in CSF uses the Maxmind GeoLite Country database to obtain CIDR (Classless Inter-Domain Routing) ranges for specific countries. Each CIDR range covers all the IP addresses assigned to that country.
There are a number of reasons why a server administrator may wish to block traffic from a specific country, with reducing bandwidth, minimizing exposure to security risks, and ensuring that a site’s content is viewable only in geographic locations where it is permitted among the most common. However, there are several important factors to consider before choosing to filter traffic at the country level:
A small percentage of unwanted traffic still may get through, and a small percentage of desired traffic could be blocked, because:
the CIDR range lists used for country-level blocks are not 100 percent accurate.some Internet Service Providers and web services use non-geographic IP addresses for their clients.proxy services and virtual private networks can be used to mas…

CWP: Rate Limit Incoming Traffic using CSF Connection Tracking Option

CSF – How to limit the number of connections per IP address (Rate Limit Incoming Traffic By CSF Connection Tracking):
The first thing that can be done to mitigate the effects of an incoming attack is to limit the number of connections per IP address. When properly configured, CSF will track the number of connections from IP address hitting the server and block IP addresses at the firewall level should they exceed a defined limit.
It’s important not to set the limit too low, as protocols such as FTP, IMAP, and even HTTP all legitimately make multiple connections. Also, remember that most companies as well as homes and public hotspots may have many different computers on their internal network which all share a single public IP address. To set the limit on connections per IP address, scroll down to the Connection Tracking section of the Firewall Configuration page and set CT_LIMIT to the desired value.
1. If you want use 150 connections per IP address as an upper limit. You may find that…