headadmin.net

Illustration of a bird flying.
  • Windows 10 my screen is black and white

    CTRL + WINDOWS KEY + C

    December 12, 2017
  • 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]

    January 15, 2017
  • 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 […]

    January 15, 2017
  • 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

    January 14, 2017
  • Copy files and folders over SSH

    # scp -r /path/local/dir user@remotehostip:/path/remote/dir

    January 14, 2017
  • 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

    August 6, 2015
  • Enable LACP on trunk on HP ProCurve 5406R zl2

    # trunk F14,F15,F16 Trk1 LACP

    January 14, 2015
  • 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

    October 17, 2014
  • Converte Office 365 mailbox to shared mailbox

    Connect to Office 365 via PowerShell Set-Mailbox mailboxname@company.com -Type shared

    July 29, 2014
  • Export mailbox to PST Exchange 2007

    You must run this from a 32-bit Windows OS (I used Windows 7 Ent. 32-bit) with Exchange Management Tools installed, version Exchange 2007 SP1 or later, (I used Exchange 2007 SP3 with update rollup 13) and Outlook 2003 or Outlook 2007 (I used Outlook 2007 with SP3). Microsoft Exchange Server 2007 Management Tools (32-Bit) download. […]

    July 3, 2014
1 2 3 … 11
Next Page→

headadmin.net

Proudly powered by WordPress