Page not found – ShopingServer Wiki https://wiki.shopingserver.com Tutorials and Articles About Technology and Gadgets Sun, 19 Jul 2020 19:01:10 +0000 en-US hourly 1 https://wordpress.org/?v=5.5.14 https://wiki.shopingserver.com/wp-content/uploads/2018/07/cropped-favicon-150x150.png Page not found – ShopingServer Wiki https://wiki.shopingserver.com 32 32 SERVER MANAGEMENT TRAINING-Learn how to set the clock in WHMCS https://wiki.shopingserver.com/learn-how-to-set-the-clock-in-whmcs/ https://wiki.shopingserver.com/learn-how-to-set-the-clock-in-whmcs/#respond Sun, 19 Jul 2020 19:01:10 +0000 http://wiki.shopingserver.com/?p=27402  SERVER MANAGEMENT TRAINING-Learn how to set the clock in WHMCS

One of the most common problems you may encounter after installing whmcs is the problem of not setting the clock in WHMCS .

WHMCS, This inconsistency in the server clock is due to the non-configuration of the host server on which your website is located.

In the previous session, we explained to those who are server administrators how by changing the Linux timezone, they can set the total server time, but well, not everyone who is a server admin or can not change the clock in this way.

There is also a way to set the clock in WHMCS for webmasters and those who use the whmcs system, which can be solved by having access only to the web host.

 

Clock setting steps in WHMCS

1- In the first method, regardless of the type of content management system and only with the following code snippet, the clock problem can be solved on the hosts.

The point of this method in web server is server hosting. If the main server uses the Apache web server to respond to requests sent to the site, the following code will be responsive on your site, otherwise you must use the second method.

First go to the root host of your website and the .htaccess file. Open. If this file does not exist on your host, create a file of the same name on your host.

Now put the following code in this file and save the settings. Be sure not to delete the contents of the file. Just add the code to the end of the file.

SetEnv TZ Asia / Tehran

2- In the second method, you can solve the clock setting problem in WHMCS through the whmcs system configuration.php file, regardless of the dependence on the web server.

Edit the config file and then look for the following code.

<? php

Now just put the following code exactly after the top line and save the changes.

date_default_timezone_set ('Asia / Tehran');

In most cases, the second method will solve the problem more definitively and with more probability.

How useful was the training for you?
]]>
https://wiki.shopingserver.com/learn-how-to-set-the-clock-in-whmcs/feed/ 0
What is WHMCS and what kind of websites does it use? https://wiki.shopingserver.com/what-is-whmcs-and-what-kind/ https://wiki.shopingserver.com/what-is-whmcs-and-what-kind/#respond Sun, 19 Jul 2020 18:52:38 +0000 http://wiki.shopingserver.com/?p=27399 What is WHMCS and what kind of websites does it use?

WHMCS What is WHMCS?stands for Web Hosting Management Complete Solution, which means a complete automation platform for web hosting companies.

This sophisticated and highly powerful system provides hosting companies with all the services they need to manage their services and customers.

WHMCS CEO Matt Pugh comments on the system:

Our goal and vision at it is to simplify and automate the set of processes available at web hosting companies.

 This powerful system will allow you to more easily manage your business and increase the quality of your services.

Use of the WHMCS system is subject to the purchase of its legal license from its official website, and the following plans are available for purchase:

  1. Whmcs licensePlan Plus priced at $ 18.95 with limited support for 250 users and no whmcs brand link on your website
  2. Professional plan priced at $ 24.95 with limited support for 1000 users and no whmcs brand link
  3. Business plan with a price of $ 39.95 and no limit on the number of users and without inserting the whmcs brand link on the site
  4. Starter plan priced at $ 15.95 with limited support for 250 users and insert whmcs brand link on the site

 

What are the core features of WHMCS?

This powerful system has countless capabilities, just a few of which are listed below:

  • Automation and automation of all sales processes and product delivery to the customer
  • Ability to register, request support, pay online, place customer orders, automatically renew products, and more.
  • Ability to define different users with specific access under the titles of backup, administrator and… for better website management
  • High flexibility in coordinating with numerous modules and templates on the Internet for better beauty and performance
  • It is possible to set different registers and connect different types of control panels in the whmcs system for automatic operation.
  • Full support for Persian language and many templates for more personalization of the system
  • And countless others…

The WHMCS system is programmed and developed to be as extensible as possible through existing modules, APIs, Hooks, and more.

Well now you may have decided to use this powerful system by reading the whmcs article. To get started, you can use the whmcs installation tutorial to install it on your website in minutes.

A very important point that I found necessary to discuss with you before installation is how to use and your purpose, if you plan to use this system without problems for the next few years or you want to earn money from it, be sure to use the legal license of this system do.

whmcs نال شدهBy no means do I want to convey that I recommend for the mother to be inactive.

Failures of different parts of the system or malfunctions in the initial settings of whmcs are other things that may happen to you if you use null versions.

Overall, the whmcs system is the best and most powerful system a hosting company can use. If this system is configure correctly, you can use it safely for many years without any hassle.

How useful was the training for you?

]]>
https://wiki.shopingserver.com/what-is-whmcs-and-what-kind/feed/ 0
Install clamav in the admin directory with fast method https://wiki.shopingserver.com/install-clamav-in-the-admin-directory-with-fast-method/ https://wiki.shopingserver.com/install-clamav-in-the-admin-directory-with-fast-method/#respond Sun, 22 Mar 2020 21:27:53 +0000 http://wiki.shopingserver.com/?p=27084 The clamav firewall is a very powerful and versatile antivirus capable of installing on Windows and Linux, with the installation of clamav in the admin directory, 

Linux servers will become more secure in the future How to install it with antivirus.

One of the benefits of being free and open source is it, which means that the latest security updates and patches will be released to you by developers as quickly as possible.

Steps to install clamav in the admin directory

In order to install it from a binary file in the panel, simply connect to your server with root access via ssh.

Then, enter the Costume Builder directory with the following command.

  cd / usr / local / directadmin / custombuild

Then enter the following commands to install clamav in the admin directory respectively.

  ./build update
 ./build set clamav yes
 ./build clamav

Depending on your server and Internet hardware, it may take about a few minutes for the clamav installation to take place.

If your admin directory uses custombuild2 to compile files, changes will not be needed after installing the exim.conf file, and you can skip this step or upgrade clamav before installing the admin directory , otherwise Follow up on the training.

Open an exim configuration file in / etc / exim.conf with an editor and paste the following code before the primary_hostname line.

  av_scanner = clamd: 127.0.0.1 3310

If you are using custombuild2 , there is no need to do the above step, as these changes will be automatically included in the exim.clamav.load.conf file.

When you are editing an exim.conf file, also search for check_message: and paste the following code snippet.

  deny message = This message contains malformed MIME ($ demime_reason)
 demime = *
 condition = $ {if> {$ demime_errorlevel} {2} {1} {0}}
 deny message = This message contains viruses or other harmful content ($ malware_name)
 demime = *
 malware = * / defer_ok
 deny message = This message contains an attachment of a type we do not accept (. $ found_extension)
 demime = bat: com: pif: prf: scr: vbs
 warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus

Now reset your exim to save the changes by following the Linux distribution.

  /etc/init.d/exim restart # Redhat / Debian
 /usr/local/etc/rc.d/exim restart #FreeBSD

Installing clamav in the admin directory is now complete, you can now manage the clamav command via ssh or make changes to the admin directory.

A command that can be used to scan a specific directory

  clamscan -i -r / path

Enter the directory name of the directory you want to scan instead of / path.

Source: directadmin

How helpful was the training for you?
]]>
https://wiki.shopingserver.com/install-clamav-in-the-admin-directory-with-fast-method/feed/ 0
Learn how to create ftp accounts in the admin directory https://wiki.shopingserver.com/learn-how-to-create-ftp-account-in-the-admin-directory/ https://wiki.shopingserver.com/learn-how-to-create-ftp-account-in-the-admin-directory/#respond Sun, 22 Mar 2020 21:22:59 +0000 http://wiki.shopingserver.com/?p=27081 By creating an ftp account in the admin directory you can transfer your files to your host without the need for a user panel with considerable security and speed.

ftp, or File Transfer Protocol for short, is a secure, reliable, and fast way to transfer files between computers. When you purchase a hosted host, your ftp information is also available to you, when you need to create more accounts you can create your own ftp account in the admin directory.

After creating an ftp account in the admin directory, just install a file management software on your computer FileZilla and CuteFTP are famous examples of this. You then connect to the host by providing account information through the software, and then you can place your files on the server, download and even edit a file.

Steps to Create an ftp Account in the Admin Directory

First, log in to your Linux host via the admin directory area, if you are a newbie you can use the admin directory login tutorial . Then click FTP Management to log into ftp account management.

ftp mangement - Create ftp account in the admin directory

In the new page that opens for you, click on the Create FTP account to create a new ftp account.

create ftp account - Create ftp account in the admin directory

By default, when your host creates your hosts, an ftp account will be created for your hosts, which will have the same login information as your hosts.

On the next page you will need to fill in the relevant fields to create an ftp account in the admin directory to build a specific username based on the information entered.

ftp account information- Creating an ftp account in the admin directory

FTP Username: In this section you will need to enter a new account name, it will have an extension with your domain address.

Enter Password: In this field and the Re-Enter Password field, you must enter a strong password with security policies in place. You can also use the Random button to create a password, just note that after creating some ftp accounts you have to enter the password together so you can use it later when connecting to the host.

Domain: Selecting this will create a home directory for your user in the directory before public_html or the same root host.

Ftp: Selecting this option will create the home directory in the public_html directory.

User: Selecting this will create a home directory within public_html.

Custom: The custom option, as its name implies, allows you to build a home directory of your choice.

After filling in all the fields carefully, click on the Create button to create an it in the admin directory.

As you can see in the photo below, our account was created, you can do so if you want to block or delete an account.

If you want to change the password for an account, go back to the Ftp Management section and click change. You can easily change the password here.

change password - Create ftp account in the admin directory

If you want to access your home directory’s directory from your browser, just enter your website address using the ftp protocol instead of http.

  ftp://yourdomain.com

ftp login - Create an ftp account in the admin directory

At this time, a pop-up window will open and ask you for login information, including username and password. After logging in you will be able to see all the files that you have placed in this directory.

How helpful was the training for you?
]]>
https://wiki.shopingserver.com/learn-how-to-create-ftp-account-in-the-admin-directory/feed/ 0
Ffmpeg installation tutorial on the admin directory https://wiki.shopingserver.com/ffmpeg-installation-tutorial-on-the-admin-directory/ https://wiki.shopingserver.com/ffmpeg-installation-tutorial-on-the-admin-directory/#respond Sun, 22 Mar 2020 21:18:16 +0000 http://wiki.shopingserver.com/?p=27078 This article will teach you how to install ffmpeg on Centos Linux with the admin directory, ffmpeg is a video and audio management framework capable of encoding, decoding, converting and recording.

In fact, ffmpeg is a php extensible installation that enables you to view and display audio and video file information through php scripts. If you still don’t know what the script is you can use the tutorial we put on the website.

This tutorial can be installed and implemented on other Linux distributions that have the admin directory installed, but we did the testing on version 6 centos without any problems.

Steps to install ffmpeg in the admin directory

To install ffmpeg you need to have the RPMForge repository installed on Linux so we use the following command to download this package. For whatever reason, if the link below wasn’t available to you, just look for Google to get many direct links.

  wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.$(arch).rpm

Now we will install RPMForge by following command.

  rpm -Uvh rpmforge-release-0.5.3-1.el6.rf. $ (arch) .rpm

You can now install ffmpeg and its related packages via Yum with the command below.

  yum -y install ffmpeg ffmpeg-devel libogg libvorbis lame flvtool2 mencoder

Install ffmpeg-php

You can also use the following command to install ffmpeg as an extension for php.

  wget https://centos.googlecode.com/files/ffmpeg-php-0.6.0.tbz2
 tar -xjf ffmpeg-php-0.6.0.tbz2
 cd ffmpeg-php-0.6.0
 phpize

Note that you have to execute the above command sequentially, if you run the last command with the phpize: command not found error, it means that the phpize command is not accessible in your PATH variable and its location is definitely somewhere else. Is.

In this tutorial we have PHP version 5.6 and Handler is PHP FPM. So our phpize file path is located in the following directory.

  / usr / local / php56 / bin / phpize

After executing the above command execute the following command to config the ffmpeg package.

  ./configure --with-php-config = / usr / local / php56 / bin / php-config

If the above command does not work for you, your php-config file path may be different. Finding that Linux has provided you with the file search capability that we have fully trained in Linux commands , but here again you will get the command again. we put.

  find / usr / local / -type f -name php-config

Now enter the following command to install ffmpeg and wait for the installation process to finish.

  make

If you hit the make command with an error like make: *** [ffmpeg_movie.lo] Error 1 you should open the ffmpeg_movie.c file with an editor and incorporate the changes we said below.

  Change list_entry * le;  To zend_rsrc_list_entry * le;
 Change list_entry new_le;  To zend_rsrc_list_entry new_le;
 Change hashkey_length + 1, (void *) & new_le, sizeof (list_entry), to hashkey_length + 1, (void *) & new_le, sizeof (zend_rsrc_list_entry),

Now re-enter the make command, your problem will probably be 100% resolved.

Finally, enter the final command to install ffmpeg on the admin directory.

  make install

Open the php.ini file when installation is complete If you do not know where this file is located on your server, you can use the php.ini file instruction.

  vim /usr/local/php56/lib/php.ini

Now change the extension_dir to its correct path that belongs to ffmpeg.

  xtension_dir = "/ usr / local / php56 / lib / php / extensions / no-debug-non-zts-20131226 /"

Now add the following line to the php.ini file.

  extension = "ffmpeg.so"

And Now restart your php and web server handler services to make the changes.

  restart php-fpm56 service
 restart httpd service

Well the tutorial is done and the installation of ffmpeg in your admin directory is as easy as I hope the tutorial is.

How helpful was the training for you?
]]>
https://wiki.shopingserver.com/ffmpeg-installation-tutorial-on-the-admin-directory/feed/ 0
Prestashop installation tutorial in the admin directory https://wiki.shopingserver.com/prestashop-installation-tutorial-in-the-admin-directory/ https://wiki.shopingserver.com/prestashop-installation-tutorial-in-the-admin-directory/#respond Sun, 22 Mar 2020 21:13:55 +0000 http://wiki.shopingserver.com/?p=27075 This article will teach you how to install Prestashop in the admin directory . Prestashop is an extremely powerful storefront with great features that is completely free. 

Many shopping sites, especially Iranian sites, use this system extensively.

The steps for installing Prestashop in cpanel are similar to the admin directory, and mastering one is enough to install in another panel.

Steps to install Prestashop in the admin directory

Step one: Download the latest version of Prestashop from the prestashop official site and upload it to your root host.

Step Two: Then compress Prostashop with Extract button.

extract - Install Prestashop in the admin directory

Step Three: If you want to have your store installed on your root and your site is open after the user has typed in your domain’s primary address, you must move the Prostash files from the folder to the root host and if you want to take action on the directory Admin Install Prestashop in a directory You can move files to the directory you want or rename the current directory with the Rename button.

Step 4: Now you need to create a new database and user interface to connect to the site with mysql database and enter database information after installing Prestashop and if you are not familiar with how to build it you can use mysql database training .

database - Install Prestashop in the admin directory

Step 5:

 Now start the basic step of installing Prestashop in the admin directory, now enter the site address in your browser. You should treat the Prestashop installation page like the one below, otherwise the problem is in the path to calling your store address.

install page- Install Prestashop in the admin directory

Step 6 Now you have to choose your shop language which we choose Persian.

 

Step Seven: Click on the Next button after accepting the terms of the agreement.

 

Step eight: 

At this point, you need to enter additional information about your store, including country, name, field of activity.

 

Step 9: This is the main step of installing Prestashop in the admin directory,

you need to enter the information you saved in the database build step into this section Information including database name,

username, password and prefix, of course you can change the prefix It can be effective for security.

 

After about 5 minutes of installing Prestashop in the admin directory, you will be finished and you will be presented with an installation screen. You will be prompted to clear the install folder from your host before you can log in to your site’s admin. Sign in This will show you security because of login.

 

You can now log into the store counter by tapping the login button on the store management panel.

How helpful was the training for you?
]]>
https://wiki.shopingserver.com/prestashop-installation-tutorial-in-the-admin-directory/feed/ 0
Cpanel login tutorial server administrator and have installed CPanel on your Linux server https://wiki.shopingserver.com/cpanel-login-tutorial-server-administrator-and-have-installed-cpanel-on-your-linux-server/ https://wiki.shopingserver.com/cpanel-login-tutorial-server-administrator-and-have-installed-cpanel-on-your-linux-server/#respond Sun, 22 Mar 2020 04:08:16 +0000 http://wiki.shopingserver.com/?p=27063 In this session we will teach you how to cpanel. If you are a server administrator and have installed CPanel on your Linux server, the first thing to do after installing cpanel will be to sign in to CSPanel.

If you have not yet installed C-Panel on your server you can use the cpanel installation tutorial on Linux and read this tutorial if needed.

Then If you are a newbie to your website and still do not know how to manage and manage your site, you can make the most of this session.

The C panel has two user and administration sections, the management section is known as whm, and only the server administrator with root access to the Linux server can log in and manage the clients and hosted sites, and the user part that clients can manage. Use their own site.

Signing in to cpanel can be done in two ways, using https and the unsecured http method, in which case you can login to cpanel.

Tutorial on entering cpanel by IP address

If you have recently set up your own website

and set the domain dns address but the reset operation is not yet complete you cannot log in to your host.

In such cases, you should consider the IP address of your hosts

and login to your user area in one of the following formats.

Of course in international domains like com. And net. And … the dns changeover takes a few minutes and you do not need to use this method but national domains with the extension ir. Changing their dns operation is time consuming and this method can be very useful for you until it changes.

  http://12.12.12.12:2082
 https: //12.1.2.12.12: 2083

Specifically, you need to set the IP address of the server instead of 1.2.0,

which will be sent to you by the host after the purchase of the host

and you will be fully aware of this if you are the server administrator.

Login to cpanel by hostname

When installing the 30 Panel Admin Server you need to set a specific address as the hostname on the server,

which can also be logged into the hosting host.

The format of this address includes a subdomain and the address of a domain related to the server administrator,

which can be imported to cpanel by setting the dns of that domain to users and buyers.

Cpanel domain instruction tutorial

The last and foremost method of logging in to a 30-panel domain is by domain,

if your domain’s DNS is set up correctly you will be prompted to call your domain in the browser

with a default cpanel-related page that indicates that the host is set at this time.

You can log into your hosting account by entering your domain address in one of the following ways.

A: If you want to log in via https you should use port 3,

which is exclusively for this purpose and is always fixed in the following format.

  https://yourdomain.com:2083

B: If you do not want to use https for any reason you can login as follows.

  http://yourdomain.com:2082

Obviously you need to replace your domain address instead of yourdomain.com

After entering the address in your browser you will find the cpanel login page as follows.

login - login to cpanel

Now you must enter the username and password that you emailed after the purchase and enter your host by clicking the Login button.

How helpful was the training for you?
]]>
https://wiki.shopingserver.com/cpanel-login-tutorial-server-administrator-and-have-installed-cpanel-on-your-linux-server/feed/ 0
Why nginx actually works better than apache https://wiki.shopingserver.com/why-nginx-actually-works-better-than-apache/ https://wiki.shopingserver.com/why-nginx-actually-works-better-than-apache/#respond Sat, 21 Mar 2020 13:16:15 +0000 http://wiki.shopingserver.com/?p=26992 According to the latest statistics released by Netcraft in 2017, two nginx and apache web servers were selected as one of the most popular and most used web servers in the world.

In this full-featured article, we will discuss why nginx works better than apache.

Apache is an open source web server for the http protocol that can be installed and deployed on both Windows and Linux platforms. This web server operates in a secure, flexible and fully synchronized manner with the http protocol.

Since the launch of apache in 1996, this web server has been one of the most popular of its kind due to its open source and ease of installation, which is one of the best options for Linux users to use, although it is a Windows platform. It can also be installed and implemented.

Nginx is a high-performance open source web server with the power of reverse proxy support, which acts as a strong apache on Linux and is a top competitor for other web servers.

Because of the low utilization of server resources, the ability to handle requests and simple configs has been well known in the last few years as one of the best web servers.

Some important sites that use two apache and nginx web servers:

Users of apache

  PayPal, BBC.com, BBC.co.uk, SSLLABS.com, Apple.com

Users of nginx

  Netflix, Udemy.com, Hulu, Pinterest, CloudFlare, WordPress.com, GitHub, SoundCloud

Due to the popularity of these two web servers to date, there have been numerous articles on the two, some of which have clearly addressed both their strengths and weaknesses.

In the following, I am going to provide you with a good article about my experience over the past few years on why nginx works better than apache.

The reasons why nginx works better than apache

Nginx is one of the lightest web servers available with much lighter footprints than apache, which is a huge advantage over its old competitor.

Nginx has a much smaller volume and speed due to its similar apache-like capabilities, and its RAM consumption is much lower than apache.

The Nginx is built for higher synchronization power

For Nginx uses scalable and event-driven architecture, compared to apache, which uses multi-thread or process-oriented architecture and is controlled on the basis of the resources available to it, making it extremely flexible.

Though Nginx utilizes a master process that is a subset of multiple worker and process helper processes. Each process worker can respond to thousands of requests at a time,

read or write to disk, and thus communicate with its upstream servers.

And helper processes can also handle cache operations on the hard disk of the server,

and bytes like apache do not need to have a separate cache installed.

These same capabilities have made nginx one of the fastest and most comparable web servers of its kind, which is not truly a performance example, which is one of the reasons why nginx works better than apache.

Nginx has easier configuration

Nginx uses a very simple structure in its config file which makes it very easy to optimize. Each section of the config file is separated by blocks and each section performs its own task.

The blocks section is divided into simple directive and block directive sections, each block directive is recognizable by two marks {at the beginning and end of it, these block directives can also have sub-contextual contexts such as event, http, server, and so on. .

  http {
 server {
 }
 }

And simple directives also include names and parameters marked by; At the bottom they are recognizable.

  http {server {location / {## this is a simple directive called rootroot /var/www/hmtl/example.com/;}}}

Include can also be added to other configuration files to the original file.

  http {server {} ## examples of including additional config filesinclude /path/to/config/file/*.conf;include /path/to/config/file/ssl.conf;}

Excellent performance of nginx as Frontend Proxy

One of the main applications of nginx is to use it as a proxy server. In this way, http requests are received by users and then sent to proxies or top servers by a different protocol then the response received from the proxy is sent to the user.

Configuring nginx as a reverse proxy is much easier than apache,

which is one of the reasons for nginx’s success and its users.

You can even edit the headers of user submissions when sending, isn’t that a great feature ?!

Nginx is great at responding to static requests

We examine static content such as css, javascript,

or photos that are loaded unchanged each time

and their content is fixed for a scenario where nginx works as a frontend for nodejs.

The nodejs server works by default with special features for static requests.

Of course, there is no need for configuring it to respond to dynamic requests,

but it is best to only use static content to interact with the user

and to handle the dynamic content in a different way.

In the meantime,

nginx performs much better and can isolate and respond to static requests to the web server itself

and refer dynamic content to the second web server,

greatly enhancing the responsiveness and server resources. Less involved.

Nginx is a highly efficient load balancer

Optimizing the use of web servers and responding to http requests Nowadays,

load balancing is used to divide tasks between several servers, which in addition to speeding up the load,

if one of the other web servers is down can handle its requests well. Take over and keep the server up.

Today, optimizing the use of load balancing can greatly save on server resources. There will be more flexibility and server uptime.

Nginx uses round-robin, least-connected, ip-hash, Generic hash and Least time methods for load balancing.

Nginx is a flexible web server that works very well with systems such as cloudflare

and can easily interact with its configs. I hope with these explanations you now understand why nginx works better than apache.

Now if you are convinced and want to install nginx on your server or replace it with apache you can use the nginx installation tutorial we have put in place.

How helpful was the training for you?
]]>
https://wiki.shopingserver.com/why-nginx-actually-works-better-than-apache/feed/ 0
Wh whmcs security enhancement technique (hacker failure) https://wiki.shopingserver.com/wh-whmcs-script-enhancement-technique-hacker-failure/ https://wiki.shopingserver.com/wh-whmcs-script-enhancement-technique-hacker-failure/#respond Sat, 21 Mar 2020 09:27:16 +0000 http://wiki.shopingserver.com/?p=26911 The whmcs script is a professional and comprehensive customer management system that is targeted at web hosting companies.

Full management of sales, invoicing, advanced ticketing system and dozens of other great features that make web hosting companies first choice.

This script is provided by a large English company and you must obtain a commercial license to use it. Of course, the use of this powerful system in Iran has become more of a Null version.

It can be said that 2% of companies and web hosting companies use this script. That is why securing whmcs should be a top priority for its users.

Hackers, aware of the widespread use of this system, carry out widespread attacks on these sites. If you are using this script as well, you should take immediate action to secure whmcs.

Whmcs security methods

Transfer attachment directories “” downloads “” templates_c “”

These three directories in whmcs must have write permissions executable, so permission 777 should be considered for them.

Using private techniques, hackers can upload secret and malicious access to directories such as shells and take full control of your site.

To maximize the security of whmcs we first block these directories by moving these directories to / home and / or root so that hackers cannot access them directly.

After they have been completely redirected to a previous directory for whmcs to work properly, you will need to introduce a new path to the script. To do this, you need to put the following three lines of code in the config file and place your hostname instead of username.

  $ templates_compiledir = "/ home / username / templates_c /";
 $ attachments_dir = "/ home / username / attachments /";
 $ downloads_dir = "/ home / username / downloads /";

2 – Move the crons directory

This directory is one of the places that hackers try to penetrate due to having sensitive files for domain and process sinks. To fix this problem and secure this section we need to rename this directory to another one.

After renaming the directory, we will notify you of this change by adding the following line to the config file located in the crons directory.

  $ whmcspath = '/ home / username / public_html / whmcs /';

Now we need to finalize the changes in the original whmcs configuration file by inserting the following code.

  $ crons_dir = '/ home / username / whmcs_crons /';

You need to enter your username instead of username.

Restrict access to management

One of the common hacker attacks is using the Bruteforce method to guess the whmcs admin password. In this way, the hacker uses programs to try to find your password and access the admin area by giving you a list of passwords if your password is weak.

To increase the security of whmcs, we need to upgrade management access by renaming the directory or by restricting access.

This way by entering the admin directory a file called htaccess. Make. Then insert the following code snippet into it.

  order deny, allow
 allow from 1.2.3.4
 deny from all

You only need to enter your fixed Internet IP instead of just 1 so that only you can access it.

Rename the admin directory

You can make it harder for hackers, in addition to renaming the Admin directory, in the same way as before.

To do this, simply rename the admin directory by inserting the following code into the whmcs config file to identify the new path to the script.

  $ customadminpath = "new_directort_name";

Installing a firewall

Always one of the best ways to secure your firewall. Only this way you should have root access to the server or be the server administrator yourself.

Of course, most hosts have the firewall installed by default and you don’t need to do anything, but if you are a server administrator you can increase the security of the server and hosted sites by installing the csf firewall .

Modify config file permissions

This file is one of the main script files that you should pay close attention to to increase the security of whmcs through this file making it impossible for hackers to read sensitive information by coding the contents inside it.

Often times coding this file itself will cause problems that we try to teach you an alternative way that you can easily use without any problems.

Change the permmg configuration file whmcs

To do this, simply reduce the permissions of the configuration.php file to 2, since users do not need direct access to this file and only need whmcs to read its information. So having read-only access will be enough for usernames.

Enable ssl

Using the https protocol instead of http is one of the best ways to encrypt the information sent between the user and the server.

Using ssl on all websites is highly recommended and not just for whmcs. To do this, in addition to providing ssl, you need to enable this feature via the Setup> General Settings section in the admin area.

Server Administrator Suggestion: http Redirect Training https

Restrict access to the database

Another way to increase the security of whmcs is to limit the permissions of user access to the database. Whmcs only needs the following database access to function properly.

  DELETE
 INSERT
 SELECT
 UPDATE
 LOCK TABLES

Now that you know this, you can safely disable other access to increase security.

How helpful was the training for you?
]]>
https://wiki.shopingserver.com/wh-whmcs-script-enhancement-technique-hacker-failure/feed/ 0
How to connect thirty panels to whmcs and build auto accounts https://wiki.shopingserver.com/how-to-connect-thirty-panels-to-whmcs-and-build-auto-accounts/ https://wiki.shopingserver.com/how-to-connect-thirty-panels-to-whmcs-and-build-auto-accounts/#respond Sat, 21 Mar 2020 09:14:53 +0000 http://wiki.shopingserver.com/?p=26905 In the previous tutorial we discussed how to connect the admin directory to whmcs , and today we are going to introduce you to how to connect thirty panels to whmcs.

By connecting thirty panels to whmcs, you can manage your customer accounts and work more professionally.

Most of the top hosting companies use two powerful Direct Admin and C Panel Controls to host.

By connecting the 30-panel whmcs to your customer management system, you can now sell without even having to manually control whether you are online or even sleeping and delivering customer service fully automated after payment. .

Step by step connecting thirty panels to whmcs

To connect these two systems you first need to log into the whmcs management section and click on servers from the Setup> Products / Services section.

In this section, we need to establish a connection to the whmcs server by entering C-Panel server information. Start a new server by selecting Add New Server.

Add server in whmcs

Name: Enter the server name you want

IP Address: Enter the IP address of the cPanel server

Primary Nameserver: Enter the first DNS

Secondary Nameserver: Enter the secondary DNS

Type: Make sure the server type is Cpanel

Username: WHM Reseller username that will be username rooted

Password: Agent or server administrator password

Access Hash: This is a strong security option when you want to use a password instead of a direct password. Simply go to the Cluster / Remote Access> Setup Remote Access Key section of the Access Hash section in your WHM panel, then copy the code and paste it into the Add Server section.

access hashOnce the information is entered, just save the changes at the bottom to make a 30-panel connection to whmcs. Now you need to create your own services in whmcs and thirty panels to create automated hosts so that the server can be fully automated when the customer purchases the service.

Steps to build a package at WHM

To create a package in whm, go to Packages> Add a Package after logging in.

Build a package in whmThe most important point in this section is the package name you enter. The name you select for the Package Name section must also be the same name when you create packages in WHMCS.

You can customize other things and add the package.

Now you need to create a similar package in the whmcs section to fully integrate the 30 panel whmcs.

Steps to build a package in whmcs

To do this, first go into the WHMCS management section and then go to Setup> Products / Services> Products / Services and click Create a New Product.

Build package in whmcsEnter general and price settings as desired and when you reach the Module Setting tab you should select the Cpanel option in the Module Name section.

In order for all orders added after payment to be automatically generated and delivered, you must select the option Automatically setup the product as soon as the first payment is received, otherwise the option Automatically setup the product when you manually accept a pending order. Select to manually approve the account and then create the account.

Note that in the WHM Package Name section, be sure to include the exact package name you created in WHM. Then save the settings to add the new package.

How helpful was the training for you?
]]>
https://wiki.shopingserver.com/how-to-connect-thirty-panels-to-whmcs-and-build-auto-accounts/feed/ 0