In the ssl virtual host fragment:
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/ssl/apache2/wxs.crt
SSLCertificateKeyFile /etc/ssl/apache2/wxs.key
SSLCertificateChainFile /etc/ssl/apache2/sub.class1.server.ca.pem
SSLCACertificateFile /etc/ssl/apache2/ca.pem
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
SSLOptions StrictRequire
SSLProtocol all -SSLv2
This is for StartSSL.com certs.
Getting your IMEI (International Mobile Equipment Identity) Number: *#06#
Access Software version: > * < < * < *
Reach last dialed numbers: 0 then #
The Sony Ericsson Secret Menu screen: -> * <- <- * <- *
Change to Default Language (English): < 0 0 0 0 >
Info about SIMLOCK: < * * <
Opening phone without a SIM card: **04*0000*0000*0000# followed by on ‘Wrong Pin’ number
If you get this warning when using emerge
WARNING: repository at … is missing a repo_name entry
you need to create a file “repo_name” containing the overlay name into the “profiles” directory under your overlay directory. If my overlay is in /opt/my-overlay, i need this file :
# cat /opt/my-overlay/profiles/repo_name
myoverlay
If you can’t update your world set because of circular dependencies,
then you can best comment out your USE-flags in /etc/make.conf and put USE="-*"
underneath it. Then update world and when that succeeds, remove the
latter USE declaration in your make.conf and uncomment your former
USE-flags. Update/rebuild world again and if all goes well you won’t
have a single circular dependency
http://treggats.wordpress.com/2008/10/09/the-story-continues/
Gentoo:
/usr/sbin/service:
#!/bin/sh
set -e
/etc/init.d/$1 $2 $3
/etc/bash_completion.d/service:
# a function for the autocompletion of the service command.
_service_fn()
{
# set some local variables
local cur prev
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}
#if only one completion or a option is being requested
#then complete against various options
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $( compgen -W “$(ls /etc/init.d)” $cur ))
elif [ $COMP_CWORD -eq 2 ]; then
COMPREPLY=( $( compgen -W “start stop restart pause zap status ineed iuse needsme usesme broken” $cur ))
else
COMPREPLY=( $( compgen -f $cur ))
fi
return 0
}
#setup the completion
complete -F _service_fn service
howto create the ’service’ command – linux-noob.com/forums
Ubuntu:
apt-get install sysvconfig
http://www.cyberciti.biz/tips/how-to-controlling-access-to-linux-services.html
you’ll want to change this line in /etc/my.cnf from:
innodb_data_file_path = ibdata1:10M:autoextend:max:128M
to
innodb_data_file_path = ibdata1:10M:autoextend
Professional Middleman: MySQL table is full error on Gentoo Linux
Theme Null
plugins:
[I] x11-plugins/gkrellm-hddtemp
[I] x11-plugins/gkrellm-leds
[I] x11-plugins/gkrellm-radio
[I] x11-plugins/gkrellm-volume
[I] x11-plugins/gkrellmss
[I] x11-plugins/gkrellm-multiping
[I] x11-plugins/gkrellm-shot
[I] x11-plugins/gkrellm-top
Clean all distfiles except for installed packages (exact version), those which are less than one month old, bigger than 50MB, or fetch-restricted:
# eclean-dist -d -t1m -s50M -f
From a crontab, silently clean packages in the safest mode, and then distfiles in destructive mode but protecting files less than a week old, every sunday at 1am
0 1 * * sun eclean -C -q packages ; eclean -C -q -d -t1w distfiles
Gentoo Forums :: View topic – /usr/portage 6.8GB – Is this right?
#
# dispatch-conf.conf
#
# Directory to archive replaced configs
archive-dir=/etc/config-archive
# Use rcs for storing files in the archive directory?
# (yes or no)
use-rcs=no
# Diff for display
# %s old file
# %s new file
#diff=”diff -Nu %s %s | less –no-init –QUIT-AT-EOF”
diff=”colordiff -u %s %s | less”
# Diff for interactive merges.
# %s output file
# %s old file
# %s new file
merge=”sdiff –suppress-common-lines –output=%s %s %s”
# Automerge files comprising only CVS interpolations (e.g. Header or Id)
# (yes or no)
replace-cvs=yes
# Automerge files comprising only whitespace and/or comments
# (yes or no)
replace-wscomments=yes
# Automerge files that the user hasn’t modified
# (yes or no)
replace-unmodified=yes
# Per-session log file of changes made to configuration files
log-file=/var/log/dispatch-conf.log
NOTE:
You can disable this feature by setting CONFIG_PROTECT=”-*” in /etc/make.conf.
Then, Portage will mercilessly auto-update your config files. Alternatively,
you can leave Config File Protection on but tell Portage that it can overwrite
files in certain specific /etc subdirectories. For example, if you wanted
Portage to automatically update your rc scripts and your wget configuration,
but didn’t want any other changes made without your explicit approval, you’d
add this to /etc/make.conf:
CONFIG_PROTECT_MASK=/etc/wget /etc/rc.d