Fulltext results:
- MySQL: Create User @info:mysql:user
- ====== MySQL: Create User ====== ==== Create User ==== <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}'; </code> ==== Create User and Database ==== * Usually, ''{u
- VBoxManage (The VirtualBox CLI) @info:virtualbox
- ay] | setcredentials <username> ... -encodedlun <lun>] [--username <username>] [--password <password>] [--in... --image <path to program> --username <name> [--passwo
- Generate a Test Key @info:cryptography:openssl
- tkey.key -out testkey.crt Informations about the used arguments from the OpenSSL man page: * ''[[ht... stead of a certificate request. This is typically used to generate a test certificate or a self signed ... s specified using the set_serial option 0 will be used for the serial number. * ''[[http://www.openss... ays|-days 365]]'': when the -x509 option is being used this specifies the number of days to certify the
- MySQL: Remove User @info:mysql:user
- ====== MySQL: Remove User ====== ==== Remove User ==== <code sql> DROP USER '{user}'@'%'; </code> ==== Remove User and Database ==== * Usually, {user} == {db} <code sql> DR
- MySQL: Change Password @info:mysql:user
- * Replace ''{passwd}'' with the password of the user. * Replace ''{user}'' with the name of the user. <code sql> GRANT USAGE ON *.* TO '{user}'@'%' IDENTIFIED BY '{passwd}'; FLUSH PRIVILEGES; </code>
- Oracle: List Accounts with Objects @info:oracle
- counts with Objects ====== To list all accounts (users) the objects (like tables), you can query them ... unts, you can query them with: <code sql> SELECT USERNAME FROM ALL_USERS ORDER BY USERNAME; </code> Or, if you only want the DBAs: <code sql> SELECT USERNAME FROM DBA_USER
- jps - Java Virtual Machine Process Status Tool @info:java
- ommand. ''jps'' lists all ''java'' Processes of a user. You can find the man page at [[http://java.sun.... s </code> Long listing: ''jps -l'' <code> 55719 /Users/andreas/.my/pkg/hourglass-0.6.1/lib/hourglass.j... 051 Jps -m 51299 jEdit 4.2/jedit.jar 51610 Main --userdir /Users/andreas/Library/Application Support/visualvm/1.0.1 --branding visualvm </code> Java VM par
- MySQL: Backup @info:mysql:database
- ==== <code bash> # set or replace the variables $USER, $PASS and $DB mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} </code> ===== Export all Databas... ==== <code bash> # set or replace the variables $USER and $PASS DATE_YMD=$(date "+%Y-%m-%d") DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases') for
- Oracle: EXP @info:oracle
- ount ===== Enter the account name insteand of ''{user}''. <code bash> exp USERID=\'/ as sysdba\' FILE={user}.dmp FULL=N OWNER={user} </code> {{tag>admin exp oracle}}
- DynDNS Updates without a Client @info:script
- " curl --silent --show-error --insecure --user ${LOGIN} "${UPDATE_URL}?hostname=${domain}" done... ut one domain per line. In the for loop, curl is used to update the domains. Currently, I use the switch ''--insecure'' to disable the SSL certificate che
- Command Line Audio @info:mac
- at home, I needed a command line tool which I can use via ssh. I've found it here: [[http://osxdaily.co... article.php?story=20081002080543392|macosxhints - Use a built-in command line audio player]]. You just ... play file.wav </code> More information on how to use afplay is available via afplay -h. {{tag>audio c
- Print all certificates in a file @info:cryptography:openssl
- This command is especially helpful if you want to use Tomcat-/Java-Keystore-Certificates with the Apache webserver. Use the -print_certs to print all the certificates an... rint_certs -out certs.pem Informations about the used arguments from the OpenSSL man page: * ''[[ht
- Cleanup Packages @info:linux:debian
- -h This help. --status-file, -f FILE Use FILE as statusfile. --version, -v V... .. Never report PKGS. --keep-file, -k FILE Use FILE to get/store info about kept packages. --lis... Try all of the above. --guess-only Use --guess options only. See also: deborphan(1), or
- Debug Server Certificate from Client @info:cryptography:openssl
- nnect www.andunix.net:443 Informations about the used arguments from the OpenSSL man page: * ''[[ht... dentity: None PSK identity hint: None SRP username: None TLS session ticket lifetime hint:
- MySQL: Create Database @info:mysql:database
- code> ==== Create Database and Grant Rights to a User ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}