Author: admin
-
Glassfish remote deploy
replace /usr/local/glassfish4/glassfish/modules/nucleus-grizzly-all.jar ./asadmin change-admin-password ./asadmin enable-secure-admin
-
Windows – disable ipv6 and teredo
Ru this from a commandprompt: netsh int ipv6 isatap set state disabled netsh int ipv6 6to4 set state disabled netsh interface teredo set state disable
-
Flytta Putty sessionen till en ny dator
Kör följande kommando så får du ut dina putty sessionen i en fil på skrivbordet. regedit /e “%userprofile%\desktop\putty-registry.reg” HKEY_CURRENT_USER\Software\Simontatham
-
Windows activation
slui 4 slui 3 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OOBE] “MediaBootInstall”=dword:00000000 “SetupDisplayedEula”=dword:00000001 “SetupDisplayedLanguageSelection”=dword:00000001 “RetailInstall”=dword:00000001
-
Split IBDATA1
Dump all databases by calling: mysqldump –extended-insert –all-databases –add-drop-database –disable-keys –flush-privileges –quick –routines –triggers > all-databases.sql Stop the MySQL server; Rename or remove (in case you’ve already backed it up) the MySQL data directory and create an empty one with the same name and permissions; Make the appropriate changes in my.cnf; innodb_file_per_table Re-initialize the database…
-
Change user serttings for documentroot on Cpanel
# vim /var/cpanel/userdata/USERNAME/DOMAINNAME.COM documentroot: /home/USERNAME/public_html/NEW_PATH # /scripts/rebuildhttpdconf # service httpd restart
-
Git init to existing folder
cd ~/git/foo git init git remote add origin git@<host>:<git repo inkl .git> git config –global user.name <“Your Name”> git config –global user.email <“Your email”> git config –global push.default simple git fetch origin git branch master origin/master (optional) git checkout master git add -A git commit -m ‘first commit’ git push –set-upstream origin master git push
-
How to generate a certificate revocation list (CRL) and revoke certificates
By Jamie Nguyen — Aug 26, 2013 This tutorial is part of a series on being your own certificate authority, which was written for Fedora but should also work on CentOS/RHEL or any other Linux distribution. In the first tutorial of the series, we explored how to act as a certificate authority. We also learnt…