Headadmin
-
How to enable Bank Transfer for Specific Users in WooCommerce
Here is a step-by-step guide how to enable bank transfer payment option for specific users/customers using YITH Payment Method Restrictions plugin. BACS (Bank Transfer) in WooCommerce allows customers to pay manually via bank transfer. This payment option is often used for B2B (Business to Business). 1. Create a role in WooCommerce.You can create a role…
-
How to install Zebra ZD421 on Mac (Step-by-Step Guide)
On the Mac where you want to install the Zebra printer, open a web browser and go to: http://localhost:631. If you can not access http://localhost:631 you might ned to enable the CUPS Web Interface. Open Terminal and run: cupsctl WebInterface=yes Then reconnect to: http://localhost:631 Add PrinterGo to: Administration → Add Printer Select Connection TypeChoose: AppSocket/HP…
-
Windows 10 my screen is black and white
CTRL + WINDOWS KEY + C
-
MySQL MariaDB export and import database
# Export mysqldump -u [username] -p[password] [database_name] > [dumpfilename.sql] # Import mysql -u [username] -p[password] [database_name] < [dumpfilename.sql]
-
Problem starting MySQL MariaDB: InnoDB: Set innodb_force_recovery to ignore this error.
After trying to import a database I had problem starting mysql. # service mysql start Job for mariadb.service failed because the control process exited with error code. See “systemctl status mariadb.service” and “journalctl -xe” for details. # systemctl status mariadb.service InnoDB: Set innodb_force_recovery to ignore this error. To be able to delete tables in the…
-
Problem with virtual hosts using nginx on on ubuntu
Problem after following this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts–3 virtual hosts didn’t work. All access was going to default root. I need to create symbolic links of the virtual hosts in sites-available to sites-enabled # sudo ln -s /etc/nginx/sites-available/headadmin.se /etc/nginx/sites-enabled/headadmin.se # sudo ln -s /etc/nginx/sites-available/headadmin.net /etc/nginx/sites-enabled/headadmin.net
-
Copy files and folders over SSH
# scp -r /path/local/dir user@remotehostip:/path/remote/dir
-
Import a mysql database from terminal
mysql -u username -ppassword databasename < filename.sql Example Username: daniel Password: 123Headadmin Database name: my_new_db Database file name: my_old_db.sql mysql -u daniel -p123Headadmin my_new_db < my_old_db.sql
-
Enable LACP on trunk on HP ProCurve 5406R zl2
# trunk F14,F15,F16 Trk1 LACP
-
Enable jumbo frames on HP ProCurve 5406R zl2
Logon to CLI # configure List all VLAN:s. # show vlans enable jumbo on vlan id. # vlan <ID#> jumbo example: # vlan 500 jumbo Check if jumbo are enable on VLAN 500. # show vlans Save config # write memory