Archive for the ‘FreeBSD’ Category

Infinite loop detected in JError

Posted: 3rd Februar 2012 by admin in FreeBSD, PHP

- Edit /usr/ports/lang/php5/Makefile and add the following line: –with-pcre-regex So your Makefile should have: CONFIGURE_ARGS=   \       –with-layout=GNU \       –localstatedir=/var \       –with-config-file-scan-dir=${PREFIX}/etc/php \       –disable-all \       –enable-libxml \       –enable-mysqlnd \       –with-libxml-dir=${LOCALBASE} \       –with-pcre-regex \       –with-zlib-dir=/usr \       –program-prefix=”" Apache restart… Finished..

periodic Meldungen in Logfile ausgeben (FreeBSD)

Posted: 20th Dezember 2011 by admin in FreeBSD

FreeBSD periodic Meldungen nicht per Email verschicken, sondern im Logfile speichern ### /etc/newsyslog.conf ### /var/log/daily_output                   640  3     *    @T00  C /var/log/daily_security_output          640  3     *    @T00  C /var/log/weekly_output                  640  4     *    @T00  C /var/log/monthly_output                 640  3     *    @T00  C ### /etc/periodic.conf ### # ausgabe in logdatein und nicht per email daily_output=”/var/log/daily_output” daily_status_security_output=”/var/log/daily_security_output” weekly_output=”/var/log/weekly_output” monthly_output=”/var/log/monthly_output”

IP Adresse bei FreeBSD vergeben

Posted: 9th Dezember 2011 by admin in FreeBSD

IP vergeben ifconfig bge1 inet 192.168.100.123 netmask 255.255.255.0 2. Adresse ifconfig bge0 alias 192.168.0.114 netmask 255.255.255.0 IP löschen ifconfig bge0 delete 192.168.0.123 netmask 0xffffff00

Kernel in FreeBSD bauen

Posted: 9th Dezember 2011 by admin in FreeBSD

/root/kernels (Vorschlag: hier immer den Kernel ablegen) /usr/src/sys/i386/conf/GENERIC (hier dann symlink auf /root/kernels) make buildworld make buildkernel KERNCONF=TEST123 make installkernel KERNCONF=TEST123 reboot (nicht unbedingt nötig) mergemaster -p make installworld mergemaster reboot