Overview
Thewebinoly command is used to manage Webinoly itself and server-wide settings.
Syntax:
Update & Maintenance
-update
Update Webinoly to the latest version.
Example:
- Webinoly core scripts
- Library files
- Templates
- Configuration files
- Bug fixes and security patches
-server-reset
Reset server configuration to defaults.
Reset all:
all- Reset everything (default)nginx- Reset Nginx configurationphp- Reset PHP-FPM configurationmysql- Reset MySQL/MariaDB configurationos- Reset OS settings (timezone, etc.)permissions- Reset file permissionsconfile- Reset Webinoly configuration file
-verify
Verify Webinoly installation integrity.
Example:
- File integrity
- Configuration validity
- Service status
- Required packages
- Permissions
-uninstall
Uninstall Webinoly completely.
Example:
- Webinoly scripts and files
- Configuration file
- Cron jobs
- Command aliases
- Does NOT remove stack components (use
stack -purge-server-allfirst)
Information
-info
Display comprehensive system information.
Example:
- Server information (OS, kernel, uptime)
- Webinoly version
- Stack versions (Nginx, PHP, MySQL)
- Service status
- Resource usage (CPU, RAM, disk)
- Site count
- Database count
- Configuration settings
-version / -v / -V
Display Webinoly and stack versions.
Example:
- Webinoly version
- Current stack version
- Available stack version (if update available)
Database Management
-dbpass
Display MySQL/MariaDB credentials.
Example:
- Root password
- Admin user credentials
- External database credentials (if configured)
-mysql-password
Change MySQL/MariaDB root and admin passwords.
Example:
- Prompts for new root password
- Prompts for new admin password
- Updates stored credentials
-mysql-public-access
Manage MySQL remote access.
Enable public access:
-db-import
Import database from SQL file.
Example:
Server Configuration
-tools-port
Change admin tools port.
Example:
- Nginx configuration
- Firewall rules (if UFW is enabled)
-tools-site
Configure admin tools domain.
Set custom domain:
-default-site
Set default Nginx response for unmatched domains.
Set default site:
-sftp
Manage SFTP access for www-data user.
Enable SFTP access:
- Creates shell for www-data user
- Allows SFTP login as www-data
- Useful for web-based file managers
- Use with caution (security implications)
-timezone
Set server timezone.
Example:
- System timezone
- PHP timezone
- MySQL timezone
Cache Management
-cache-valid
Set global FastCGI cache validity time.
Example:
m- minutesh- hoursd- daysw- weeksM- monthsy- years
-clear-cache
Clear various caches.
Clear all caches:
fastcgi- FastCGI cache for all sitesopcache- PHP OPcacheredis- Redis cachememcache/memcached- Memcached{domain}- Site-specific FastCGI cacheall- All caches
Global Cache Configuration
Skip specific URLs globally:Security
-blockip
Block or unblock IP addresses.
Block IP:
-custom-headers
Manage custom HTTP headers.
Add custom header:
Email Configuration
-email
Set email address for notifications.
Example:
- SSL certificate notifications
- Cron job outputs
- System notifications
-smtp
Configure SMTP relay for outgoing mail.
Setup SMTP:
- SMTP server address
- SMTP port
- SMTP username
- SMTP password
- SMTP encryption (TLS/STARTTLS)
- Postfix must be installed (
stack -postfix)
Backup & Restore
-backup
Manage backups.
Backup wizard:
-aws-s3-credentials
Configure AWS S3 credentials.
Example:
- AWS Access Key ID
- AWS Secret Access Key
- Default region
~/.aws/credentials
Advanced Options
-dynvar
Set custom dynamic variables in Webinoly config.
Set variable:
- Store custom configuration values
- Script automation
- Environment-specific settings
-external-sources-update
Update external data sources.
Example:
- Timezone database
- Country codes
- External lists
- Reference data