de>
===== Usage =====
vger's vhost parameter is set (-v), so we'll have to create one or more directo... ni's home directory, -i (directory index) is also set, so creating an index.gmi is not mandatory.
====
e+agendav ======
The goal of this document is to set up a web-based solution providing mail, calendars... xt_methods PROPFIND OPTIONS;
charset utf-8;
location ~ /(\.ht|Core|Sp... --
@@ -138,16 +139,16 @@
if ( ! isset($this->use_set_names))
{
// mysql_set_charset() requires PHP >
====== MySQL Tips&Tricks ======
===== set root password =====
<code sql>
shell> mysql -u root
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('password');
mysql> SET PASSWORD FOR 'root'@'host_name' = PASSWORD('passw... 0, the query cache is not working.
enable it by setting the cache size in my.cnf:
<code>
query-cache
HISTFILE=~/.history
HISTSIZE=9999
SAVEHIST=9999
setopt extendedhistory
alias history='history -i -d ... $terminfo[bold]$fg[red]%}%m %{$fg[blue]%}%2~ %{$reset_color%}%# "
else
PS1="%{$terminfo[bold]$fg[green]%}%n@%m %{$fg[blue]%}%2~ %{$reset_color%}%# "
fi
</code>
Some notes on this:
* Adding the autoload stuff allows you to set explicit color-names.
* The $terminfo[bold] st
ms.
===== Server Part =====
For a basic OpenVPN setup, you should have a look [[public:openvpn|here]]... eed to bypass only allows web protocols; so we'll setup our openvpn to listen on TCP-443 port:
<code>
=
Bash can use Emacs or VI shortcuts, using the "set" command.
Like all GNU tools, "Emacs" is the default mode.
===== Emacs =====
<code>
set -o emacs
ctrl-a Move cursor to beginning of line... e cut
ctrl-_ Undo
</code>
===== VI =====
<code>
set -o vi
h Move cursor left
l Move cursor right
A ... h-forward
</code>
===== Completion =====
set show-all-if-ambiguous on
set visible-stats on
ectives
# from the server.
client
# Use the same setting as you are using on
# the server.
# On most s... onnecting to a TCP or
# UDP server? Use the same setting as
# on the server.
;proto tcp
proto udp
# T... orks often produce a lot
# of duplicate packets. Set this flag
# to silence duplicate packet warnings.... g
# that the certicate has the nsCertType
# field set to "server". This is an
# important precaution t