Search

You can find the results of your search below.

Fulltext results:

mysql
36 Hits, Last modified:
o create an archive that includes all databases <code bash># tar -cvf /tmp/mysql-snapshot.tar .</code> * read the value of the current binary log name and offset on the master: <code sql> mysql > SHOW MASTER STATUS; +---------------... -+----------+--------------+------------------+ </code> * Release the lock <code sql> mysql> UNLOCK TABLES; </code> * Here is a backup script you can u
ipsec
34 Hits, Last modified:
om kernel with the following additional options <code> options IPSEC options IPSEC_FILTERTUNNEL device crypto </code> * Install [[http://www.kame.net/racoon/|racoon]] <code> # cd /usr/ports/sysutils/ipsec-tools/ # make install </code> ===== Steps to follow on each host ===== ====
groupware_toaster
24 Hits, Last modified:
e also already up and running. ===== nginx ===== <code> server { # put listen directives & tls... cgi_path_info; } } } </code> ===== Baïkal ===== <code bash> curl -L -O https://github.com/fruux/Baikal/releases/download/0.4.6/baik... m -f baikal-0.4.6.zip ln -s baikal-0.4.6 baikal </code> ===== Roundcube ===== * First, you need to cre
openvpn
21 Hits, Last modified:
==== Install necessary packages ===== * Debian <code> # apt-get install openvpn liblzo1 zip </code> * Gentoo <code> # emerge -av openvpn zip </code> ===== Install easy-rsa for key management ===== <code> # cp -r /u
gemini_toaster
20 Hits, Last modified:
== ===== Get the sources and compile 'em ===== <code bash> $ git clone https://tildegit.org/solene/vger.git $ cd vger $ make $ sudo make install </code> ===== Create a dedicated user ===== Create a user with no shell and no password <code bash> # adduser Username: gemini Full name: gemin... tabase. Add another user? (yes/no): no Goodbye! </code> ===== Add a service ===== inetd requires a def
ssh
18 Hits, Last modified:
h/config, you can make SSH aliases very simply: <code> Host shortname HostName longname.... 22 User username </code> typing "ssh shortname" will be the same as "ssh... ve to add something like that in ~/.ssh/config: <code> Host hostname ProxyCommand ssh userna... e_ip_adress 22 User username </code> "ssh hostname" connects to the distant_private_
my_own_ipv6_tips_for_servers
16 Hits, Last modified:
===== SSH ===== add to /etc/ssh/sshd_config: <code> ListenAddress :: </code> ===== Lighttpd ===== add this to your main lighttpd configuration file: <code> server.use-ipv6 = "enable" $SERVER["socket"] == ... .0.0.0:80" { # listen on all ipv4 interfaces. } </code> ===== vsftpd ===== you'll have to run to differe
vpn_vs_proxies
13 Hits, Last modified:
ll setup our openvpn to listen on TCP-443 port: <code> proto tcp-server port 443 </code> ==== Sharing the HTTPS port with a webserver ==== Since [[http://o... he webserver IP and port to forward traffic to: <code> port-share remoteserver 443 </code> ==== Routing *all* traffic throught VPN ==== OpenVPN provides an
zsh
9 Hits, Last modified:
ze world) ====== ===== History timestamps ===== <code> HISTFILE=~/.history HISTSIZE=9999 SAVEHIST=9999 ... xtendedhistory alias history='history -i -d 1' </code> ===== Prompt ===== ==== A nice colorfull prompt ==== <code> autoload -U colors && colors if [ $UID = 0 ] the... }%n@%m %{$fg[blue]%}%2~ %{$reset_color%}%# " fi </code> Some notes on this: * Adding the autoload stu
bash_tips
8 Hits, Last modified:
"Emacs" is the default mode. ===== Emacs ===== <code> set -o emacs ctrl-a Move cursor to beginning of... rl-y Paste the last thing to be cut ctrl-_ Undo </code> ===== VI ===== <code> set -o vi h Move cursor left l Move cursor right A Move cursor to end of lin... nds k Move down through history commands u Undo </code> ====== inputrc usage ====== ===== History =====
nagios_toaster
8 Hits, Last modified:
==== - Install Munin - Change in munin.conf: <code>htmldir /www/monitor/munin</code> ===== NConf ===== - Get it from [[http://sour... //document.write(configuration);// statemement: <code js> configuration.add(5,0,'Administration','/nconf/','','','side/icons/configuration.gif'); </code> ==== Munin integration ==== As Munin already out... re the //document.write(reporting);// statement: <code js> reporting.add(9,0,'Munin Graphs','/munin/',''
dokuwiki_goes_mobile
4 Hits, Last modified:
somewhere before the template definition stuff: <code> require_once(DOKU_INC.'inc/common.php'); if (cli... mobile()) $conf['template'] = 'dokumobile'; </code> Of course, if you installed [[http://www.dokuwi... mobile|minimal_mobile]], the last line will be: <code> $conf['template'] = 'minimal_mobile'; </code>
vimbashfactory
4 Hits, Last modified:
eate the following script in .vim/templates/sh: <code bash> #!/bin/sh VERSION="$0 v1.0" usage() { cat... # "this is the end, my friend" # echo "" exit 0 </code> * Add the following line in .vimrc: <code vim> au BufWritePost * if getline(1) =~ "^#!" | if get... n/" | silent !chmod a+x <afile> | endif | endif </code> * That's it! next time you will edit a new .s
ics4n1
4 Hits, Last modified:
tion on your SD card. Open a terminal and type: <code> $ su # a2sd check </code> (phone will reboot) <code> $ su # a2sd install </code> ==== Keyboard ==== MIUI.us is only available in Chinese and English. For
wipeliveserver
2 Hits, Last modified:
mportant>WIP. Only tested on Debian 7.x</note> <code bash> #!/bin/bash # script used to chroot/pivot ... boot or halt commands (warning: they are not the real thing...)" echo echo "happy wiping!" echo </code>
backup_your_mailbox_with_gmail
2 Hits, Last modified:
deinstall_removed_port
2 Hits, Last modified:
android_camera
2 Hits, Last modified:
fofox
1 Hits, Last modified: