1.Error: Class ‘PEAR’ not found -> Add following to open-basedir: php_admin_value open_basedir “/home/services:/tmp:/usr/share/roundcube:/usr/share/php:/var/lib/roundcube:/etc/roundcube” 2. Error: DB Error: [26] file is encrypted or is not a database -> Convert old database: sqlite vmk.rcm.db .dump | sqlite3 vmk.rcm.sqlite3.db
Category Archives: networking
IPTABLES stuff
root@framework4 ~ # iptables -L INPUT -n –line-numbers Chain INPUT (policy ACCEPT) num target prot opt source destination 1 DROP all — 223.4.55.49 0.0.0.0/0 2 DROP all — 174.143.151.104 0.0.0.0/0 3 DROP all — 88.198.249.15 0.0.0.0/0 4 DROP all — 61.147.116.62 0.0.0.0/0 5 DROP all — 116.124.128.226 0.0.0.0/0 6 DROP all — 37.59.40.10 0.0.0.0/0 7 […]
exim4 receive config
/etc/hostmane: containe ip of host /etc/mailname: contains host part of sender adress /etc/exim4/update-exim4-conf.conf: dc_eximconfig_configtype=’internet’ dc_other_hostnames=’46.x.y.z’ dc_local_interfaces=’46.x.y.z; 127.0.0.1 ; ::1′ dc_readhost=” dc_relay_domains=” dc_minimaldns=’false’ dc_relay_nets=” dc_smarthost=” CFILEMODE=’644′ dc_use_split_config=’false’ dc_hide_mailname=” dc_mailname_in_oh=’true’ dc_localdelivery=’maildir_home’ test: mail -s hello xy@zzz.ch
osc2midi.pd
A way to translte OSC-Messages to Midi Signals using puredata: #N canvas 100 620 674 308 10; #X obj 151 121 unpack 0 0 0; #X obj 205 242 print; #X obj 153 170 ctlout; #X obj 240 126 unpack 0 0 0; #X obj 236 167 noteout; #X obj 324 167 bendout; #X obj […]
Save all images on page
Copy everything to directory structure: wget -E -H -k -K -p http://the.site/dir search .jpgs in structure and copy all to one dir: find . -name *.jpg -exec mv ‘{}’ /target/dir \;
iptables basics
Block ping from localhost root@ace1:/home/c1audio# iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP root@ace1:/home/c1audio# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination DROP icmp — localhost anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination root@ace1:/home/c1audio# ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) […]
E-Mail Config/Test
E-Mail Test mit Telnet: myMac:~ c1audio$ telnet vmk.zhdk.ch 25 Trying 195.176.254.139… Connected to vmk.zhdk.ch. Escape character is ‘^]’. 220 php5.vmk.zhdk.ch ESMTP Exim 4.69 Tue, 31 Jan 2012 07:26:07 -0500 HELO 172.31.40.115 250 php5.vmk.zhdk.ch Hello 172.31.40.115 [172.31.40.115] MAIL FROM:xy@z.ch 250 OK RCPT TO:ab@c.ch 250 Accepted DATA 354 Enter message, ending with “.” on a line by […]
Scientific and educational sources
http://cnx.org http://www.mitpressjournals.org/cmj http://lac.linuxaudio.org/2012/ http://ieeexplore.ieee.org
VMK Kalender in iCal o.ä. abonnieren
webcal://services.vmk.zhdk.ch/calc/Calcium39.pl?CalendarName=snm_kalender&Op=iCalSubscribe&x=1
keep server time up to date
root@files2010:~# apt-get install ntp root@snd2011:/# dpkg-reconfigure tzdata Current default time zone: ‘Europe/Zurich’ Local time is now: Thu Nov 10 13:18:41 CET 2011. Universal Time is now: Thu Nov 10 12:18:41 UTC 2011.