Delete User
This command will show you how to delete users via Command Line.
For a single user you can use below-mentioned command,
webuzo --delete_user --user=USERNAME
For multiuser, you can pass comma-separated users.
webuzo --delete_user --user=USERNAME1,USERNAME2
--------------------------------------------------------------------------------------------------------------------------
Single Sign On
Description
The Single Sign On feature generates a temporary session to authenticate in Webuzo admin or enduser panel by just executing command from root command line interface.
Steps :
Sample CLI Command
For a root login you can use below-mentioned command.
webuzo --ssoFor a end user login you can use below-mentioned command.
webuzo --sso --user=USERNAMEFor a admin reseller login you can use below-mentioned command.
webuzo --sso --admin=RESELLER_NAME-----------------------------------------------------------------------------------------------------------------------
Webuzo Version
This command gives you the Webuzo version installed on your server.
webuzo -vOR
/usr/local/emps/bin/php /usr/local/webuzo/cli.php --version-----------------------------------------------------------------------------------------------------------------------
Webuzo License Details
This command shows you the Webuzo license details
webuzo -lSample Output
Webuzo License : webuzo-XXXXX-XXXXX-XXXXX-XXXXX
Type : Premium
Plan: Professional
Num Users : 15
Expires (DD/MM/YYYY) : 07/12/2023
License IP : XXX.XX.XXX.XXX
------------------------------------------------------------------------------------------------------------------------
Webuzo Upgrade
The following CLI command updates Webuzo to the latest version.
By default auto updates are enabled. If you you have disabled auto updates you can upgrade Webuzo manually using this command
webuzo --update------------------------------------------------------------------------------------------------------------------------
Webuzo Custom Ports
Description
This guide will show you how to add custom for Webuzo panel ports via Command Line
The following CLI command is used to add custom ports for Webuzo Admin and End User panel
For Example:
Admin port SSL - 3005 and Enduser port SSL - 3003
Admin port Non-SSL - 3004 and Enduser port Non-SSL - 3002
Command
webuzo --add_custom_ports --admin_ssl=3005 --admin=3004 --enduser_ssl=3003 --enduser=3002Note : Webuzo will still continue to run on the default ports and will additionally run on your custom ports as well.
Note :
If you are unable to access Webuzo with your custom ports after
executing the above command please make sure your custom ports are
allowed in Firewall.
------------------------------------------------------------------------------------------------------------------------
Suspend User
This guide will show you how to Suspend users via Command Line.
Command
webuzo --suspend_user --user=usernameParameters
To suspend Non Reseller Users
webuzo --suspend_user --user=username --reason='reason'To Suspends both the Reseller and all of their sub-users.
webuzo --suspend_user --user=username --reason='reason' --skip=0To Suspends only the sub-users under the reseller. The Reseller remains active.
webuzo --suspend_user --user=username --reason='reason' --skip=1To Suspends only the Reseller , but keeps all sub-users active.
webuzo --suspend_user --user=username --reason='reason' --skip=2Output
Progress: 100: The user has been suspended
-------------------------------------------------------------------------------------------------------------------------
Unsuspend User
This guide will show you how to Unsuspend the Suspended users via Command Line.
Command
webuzo --unsuspend_user --user=usernameParameters
To unsuspend Non Reseller Users
webuzo --unsuspend_user --user=usernameTo Unsuspends both the reseller and all of their sub-users.
webuzo --unsuspend_user --user=username -skip=0To Unsuspends only the sub-users under the reseller. The reseller remains suspended.
webuzo --unsuspend_user --user=username --skip=1To Unsuspends only the reseller, while keeping sub-users suspended.
webuzo --unsuspend_user --user=username --skip=2Output
Progress: 100: The user has been unsuspended
--------------------------------------------------------------------------------------------------------------------------
Delete Domain
This guide will show you how to Delete Domain via Command Line.
Command
For a single domain you can use below-mentioned command,
webuzo --delete_domain --domain=domain.comFor multi-domain, you can pass comma-separated domains
webuzo --delete_domain --domain=domain1.com,domain2.comOutput
The domain - domain1.com was deleted successfully
The domain - domain2.com was deleted successfully
-------------------------------------------------------------------------------------------------------------------------
Rebuild DNS Zones
Description
This guide will show you how to Rebuild DNS Zone files using command line.
The following command are used to rebuild the DNS zone files for all domains. It will delete the duplicate zone entries and Repair the DNS Zones file.
Command
webuzo --bind_rebuild_allOutput
Bind Rebuild Done
--------------------------------------------------------------------------------------------------------------------------
Rebuild Webuzo Database
Description
This guide will show you how to Rebuild Webuzo database via Command Line.
The following command Rebuilds Webuzo database cache which is used to better performance. If you see any user/domain or any other details missing in your Webuzo panel you can use this command.
Note: This command is executed daily via CRON
Command
webuzo --wdb_rebuildOutput
Webuzo DB Rebuild Done
-------------------------------------------------------------------------------------------------------------------------
Rebuild Virtual Hosts
Description
This guide will show you how to Rebuild the web server VirtualHost for all domains via Command Line.
The following CLI command is used to rebuild the web server VirtualHost configuration for all the users and domains.
Command
webuzo --rebuild_vhostsOutput
vhost Rebuild Done
-------------------------------------------------------------------------------------------------------------------------
Repair Webuzo Binary
Description
This guide will show you how to Repair Webuzo binary via Command Line.
The following CLI command is used to recompile the webuzo binary If the binary is not working
Command
Execute the following command to trigger the repair utility:
webuzo --repairOutput
Done !
Webuzo Binary Repair Done
-------------------------------------------------------------------------------------------------------------------------
Rebuild Webuzo Cronjobs
Description
This guide will show you how to Rebuild Webuzo Cronjobs via Command Line.
The following CLI command is used to Rebuilds the Webuzo cronjobs required by the panel like cron.php, cronh.php, etc.
NOTE : This command does not make any changes to user cronjobs or any other cron jobs that were not added by Webuzo.
Command
webuzo --webuzo_cron-------------------------------------------------------------------------------------------------------------------------
Reissue Webuzo Service Certificates
Description
This guide will show you how to Issue/Reissue certificate on Webuzo services via Command Line.
If the certificate is already there it will reissue the certificate with a new one.
Command
webuzo --webuzo_reissue_certOutput
Webuzo Certificate Re-Issued.
-------------------------------------------------------------------------------------------------------------------------
Reset MySQL Password
Description
This guide will show you how to Reset MySQL password via Command Line.
If you have difficulty logging into phpMyAdmin and MySQL, you can reset the MySQL password by executing the following command.
Command
webuzo --reset_mysql_passwordOutput
Stopping MySQL ...
Starting MySQL in safe mode ...
Connecting to MySQL
- Connection Attempt 1 SUCCESSFUL
Setting the new password ...
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'XXXXXXXXXXXXXXXXXXX'
- Return : 1
Saving the new password for Webuzo ...
Restarting MySQL normally ...
Password reset successful ! Exiting the script.
Note : A new random password will be set for MySQL. You can find the password in /var/webuzo/my.conf
------------------------------------------------------------------------------------------------------------------------
Restart Webuzo Service
Description
This guide will show you how to Restart Webuzo Service via Command Line
Command
webuzo --restartOutput
Stopping php-fpm: Done...
Stopping nginx: Done...
Starting php-fpm: Done...
Starting nginx: Done...
-------------------------------------------------------------------------------------------------------------------------
Start Webuzo Service
Description
This guide will show you how to Start Webuzo Service via Command Line.
The following CLI command is used to start the Webuzo service if the Webuzo admin/enduser panel is stopped working or the Webuzo service is stopped.
Command
service webuzo start------------------------------------------------------------------------------------------------------------------------