19 mar 2021

EasyApache Executables: /usr/local/bin

Wilmer Barrios | viernes, marzo 19, 2021 | Be the first to comment!

ea-cpanel-tools

One package that is installed by default on a current installation of cPanel & WHM is the ea-cpanel-tools package. This RPM contains a handful of helpful executables that you can use to manipulate and manage your EasyApache 4 configuration from within the command-line.


[root@server ~]# rpm -ql ea-cpanel-tools | grep bin

/usr/local/bin/ea_convert_php_ini

/usr/local/bin/ea_current_to_profile

/usr/local/bin/ea_install_profile

/usr/local/bin/ea_sync_user_phpini_settings



read more...

Branding cPanel File Path | File name

Wilmer Barrios | viernes, marzo 19, 2021 | Be the first to comment!

A few terms you should understand


For the purposes of cPanel’s products and documentation, we use the following terms:


1 Branding

Branding modifies the cPanel interface in order to match your company’s logo and brand. Branding changes include updates to image assets or text labels.

2 Includes

UI includes add custom content to the header or footer of the cPanel interface (but not the WHM interface). You can create UI includes for specific cPanel interfaces, or global UI includes that display on all of cPanel’s interfaces.

3 Plugin

A plugin modifies an interface’s features or functionality, and it may also include changes to the interface’s appearance. You can write plugins for the cPanel or WHM interfaces. You can use the cPanel Style Guide to ensure that your interfaces match the appearance of standard cPanel interfaces.

4 Style

A style uses CSS, images, and other assets to modify the appearance of the entire cPanel interface without changes to its functionality or features. You can create and apply styles to an entire server or a specific reseller’s accounts, or you can create them for distribution.

5 Theme

A theme applies an overlay on the skeletal framework for all of the interfaces. cPanel & WHM currently ships with one default cPanel theme and one default WHM theme. The Webmail and login interfaces also use themes.


Defining your brand


There are a handful of items you can easily customize to allow users to better experience your brand rather than everything displaying and linking to cPanel. You can click on the first item and navigate through each of the items with the left and right arrow keys on your keyboard.


Where are the files?


When you save your customizations through this interface, the system stores your items in the following directories:


ℹ️ Note:


resellername represents the reseller’s username.

stylename represents the style’s name. For example, if you upload the mystyle.tar.gz file, the system stores the style’s files in the /home/resellername/var/cpanel/reseller/styled/mystyle directory.


 Where are the files?

When you save your customizations through this interface, the system stores your items in the following directories:


Reseller


Item File Path File name

Favicon

/home/resellername/var/cpanel/reseller/brand favicon.ico


Logo /home/resellername/var/cpanel/reseller/brand

logo.svg or logo.png


Webmail logo

/home/resellername/var/cpanel/reseller/brand

webmail.svg or webmail.png


Custom styles

/home/resellername/var/cpanel/reseller/styled/stylename


Root | File Path | File name


Favicon

/var/cpanel/customizations/brand

favicon.ico


Logo

/var/cpanel/customizations/brand logo.svg or logo.png


Webmail logo

/var/cpanel/customizations/brand

webmail.svg or webmail.png


Custom styles

/var/cpanel/customizations/styled/stylename



read more...

Hook Action Code

Wilmer Barrios | viernes, marzo 19, 2021 | Be the first to comment!
Creating Hook Action Code

You can create hook action code in a custom Perl module or as an executable script. Using hook action code can customize cPanel & WHM functions to change the end-user experience. For example, you can create a hook action Perl module to install WordPress each time a user creates an account.

Hook action code must read the entire input stream until end of line (EOL) and it must treat it as a JSON-encoded data structure. After the system decodes the JSON string, the native data structure is a hash.
Scripts may use any language that the Linux shell can execute.

Hook action code files and subroutine names are arbitrary. So yes, you could include the word "bathtub" in your filename and "oranges" in a subroutine name. However, keep in mind, the system references these names later when you register your code. It is more suggested to name your files and subroutines in relation to what your code is doing.

Make certain that you save hook action code in the correct location on the cPanel & WHM server:

Install hook action code modules to your Perl environment's correct directory.
Save hook action scripts in the /usr/local/cpanel/3rdparty/bin directory. Scripts must have root:root ownership and 755 permissions.

Hook scripts execute as a separate process. Hook modules run as part of the cPanel Server daemon (cpsrvd).

Hook action code in a custom Perl module can access cPanel environment variables. For steps to create a hook action code Perl module, read our Create a Standardized Hook tutorial.
Hook action code as a script cannot access cPanel environment variables.
For more information about cPanel environment variables, read our Guide to cPanel Variables documentation.

Important:
Scripts must include argument evaluation in the hook action code in order to use the describe() method. When you register hooks with script hook action code, the /usr/local/cpanel/bin/manage_hooks utility calls the script with the --describe argument. 

read more...

PkgAcct cPanel

Wilmer Barrios | viernes, marzo 19, 2021 | Be the first to comment!
PkgAcct is the cPanel & WHM event that creates or restores cPanel account backups

Create a backup

Backups can be run at any time on the command line by using the script: /usr/local/cpanel/scripts/pkgacct. It is run when WHM does a backup of each cPanel account. The options for the create process are:  

# /usr/local/cpanel/scripts/pkgacct [options] USERNAME DIRECTORY

USERNAME is the cPanel account username on this server. The DIRECTORY is where pkgacct will create the archive. The default DIRECTORY is /home. Please see the documentation for a list of all the [options] available. 

There are three available stages during backup creation which can be hooked. These stages are listed below:


pre — Hook action code runs before the /scripts/pkgacct script collects or writes data.


preFinalize — Hook action code runs before the system compresses or transfers the cpmove file.


postFinalize — Hook action code runs after the system compresses or transfers the cpmove file.


Select the stage

We want to maintain a list of md5sum values for each cPanel account that is backed up. In this case, our Hookable Event is PkgAcct create in the postFinalize stage. 
read more...

Server and port | Part Description cPanel

Wilmer Barrios | viernes, marzo 19, 2021 | Be the first to comment!

 


Server and port

The web server's HTTP address and the port number to use. Generally, this value begins with https:// and the domain name.

When you call this API, use the following ports:

  • 2082 —Unsecure calls as a specific cPanel account.
  • 2083 — Secure calls as a specific cPanel account.
  • 2095 —Unsecure calls via a Webmail session.
  • 2096 — Secure calls via a Webmail session.
read more...

16 feb 2021

Elementor Pro - Free para Wordpress

Wilmer Barrios | martes, febrero 16, 2021 | Be the first to comment!

Se debe instalar ambas versiones para que funcionen correctamente.


Versión PRO 3.0.8


Versión FREE 3.0.14 


Descargahttp://q.gs/6505620/elementor-pro





read more...

15 ene 2021

SOLUCIÓN PHP Fatal error: Uncaught Error: Call to undefined function Elementor\mb_strtolower()

Wilmer Barrios | viernes, enero 15, 2021 | Be the first to comment!


En Wordpress muestra un mensaje de error: PHP Fatal error: Uncaught Error: Call to undefined function Elementor\mb_strtolower()

Para solucionarlo se debe activar la extensión de PHP mbstring

read more...

22 dic 2020

¿Donde se almacena los backups de las bases de datos en WHM? #cPanel como hacer para restaurar una BD en MySQL

Wilmer Barrios | martes, diciembre 22, 2020 | Be the first to comment!

Los archivos de Mysql se encuentran en la ruta
/discoBackup/var/lib/mysql/(nombre bd)

Hay que restaurarlas primero en una instancia limpia de mysql

mysqldump -u [usuario] -p [nombre base datos] > /ruta/backcup/backup.sql

Para restaurar ejecutar:

mysql [nombre base de datos ] < [archivo base de datos]





Para soporte de servidores contactar por esta vía. 



read more...

15 dic 2020

Falla de Gmail The email account that you tried to reach does not exist 15-12-2020

Wilmer Barrios | martes, diciembre 15, 2020 | | Be the first to comment!

 


El servicio de correos de Google, sigue fallando por segundo día consecutivo, esta vez llega un mensaje de rebote indicando que la cuenta de correo no existe, pero en realidad si existe, este es un fallo en el sistema de autenticación de google

cuenta@gmail.com
host gmail-smtp-in.l.google.com [74.125.192.26]
SMTP error from remote mail server after RCPT TO:<cuenta@gmail.com>:

550-5.1.1 The email account that you tried to reach does not exist. Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at
550 5.1.1 https://support.google.com/mail/?p=NoSuchUser u17si18903qtf.137 - gsmtp

Puede ver el estado de los servicios de google en el siguiente enlace: https://www.google.com/appsstatus#hl=es&v=status

Hito de la falla por Google:

15/12/20 18:51
El problema con Gmail debería estar resuelto. Te pedimos disculpas por las molestias y agradecemos tu paciencia y apoyo continuos. Puedes tener la seguridad de que la fiabilidad del sistema es una prioridad principal para Google y de que efectuamos cambios continuos para mejorar nuestros sistemas. Si todavía tienes algún problema, ponte en contacto con nosotros a través del Centro de ayuda de Google.

15/12/20 18:09
Esperamos solucionar el problema que afecta a un subgrupo significativo de usuarios de Gmail a la(s) 15/12/20 19:00 aproximadamente. Ten en cuenta que este periodo de tiempo es aproximado y puede variar. Los usuarios afectados pueden acceder a Gmail, pero verán mensajes de error, tendrán una latencia elevada o encontrarán otros comportamientos inesperados.

15/12/20 17:44
El servicio Gmail ya se ha restaurado para algunos usuarios y esperamos solucionar el problema para todos los demás en breve. Ten en cuenta que este periodo de tiempo es un cálculo aproximado y puede variar. Los usuarios afectados pueden acceder a Gmail, pero verán mensajes de error, tendrán una latencia elevada o encontrarán otros comportamientos inesperados.

15/12/20 17:18
Nuestro equipo sigue investigando el problema. Sobre la(s) 15/12/20 18:00 publicaremos una actualización con más información acerca del problema. Gracias por tu paciencia. Los usuarios afectados pueden acceder a Gmail, pero verán mensajes de error, tendrán una latencia elevada o encontrarán otros comportamientos inesperados.

15/12/20 16:29
Sabemos que existe un problema con Gmail que afecta a un subgrupo significativo de usuarios. Los usuarios afectados pueden acceder a Gmail, pero verán mensajes de error, tendrán una latencia elevada o encontrarán otros comportamientos inesperados. Proporcionaremos una actualización a la(s) 15/12/20 17:30 aproximadamente, que detallará cuándo esperamos haber solucionado el problema. Ten en cuenta que esta hora de resolución es una aproximación y puede variar.
read more...

6 nov 2020

Master PDF Editor #Descarga

Wilmer Barrios | viernes, noviembre 06, 2020 | Be the first to comment!
read more...
 
Copyright © 2021 MyBiosWeb
Distributed By My Themes | Template Design By BioHosting