Search results

  1. T

    Running only PHP-FPM in jail

    You could keep all your www files in one place then mount_nullfs it into each jail. mount_nullfs /usr/local/www <nginx jail 1>/usr/local/www mount_nullfs /usr/local/www <nginx jail 2>/usr/local/www mount_nullfs /usr/local/www <nginx jail 3>/usr/local/www mount_nullfs /usr/local/www <php-fpm...
  2. T

    Run multiple instances of dns/dnscrypt-proxy service

    dig and drill do work on non-standard ports. # dig/drill -p 65053 @127.0.0.1 freebsd.org
  3. T

    rxvt transparency and fonts

    Here you go: Latest version - 2001 - http://sourceforge.net/projects/rxvt/files/rxvt/2.6.4/ Latest version - 2003 - http://sourceforge.net/projects/rxvt/files/rxvt-dev/2.7.10/ Last commit - 2008 - http://sourceforge.net/p/rxvt/code/1787/log/?path=
  4. T

    rxvt transparency and fonts

    It's the other way around. x11/rxvt-unicode is a fork of x11/rxvt-devel with Unicode and other fancy stuff. I'm pretty sure x11/rxvt-devel is dead. The latest version (rxvt-2.7.10) is from 2003.
  5. T

    Solved linux-f10-* ports [SOLVED]

    Re: linux-f10-* ports I've been using this in /etc/make.conf: # Allow building forbidden linux ports .if ${.CURDIR:M*/linux-f10-*} DISABLE_VULNERABILITIES=yes NO_IGNORE=yes .endif
  6. T

    l2arc degraded

    Release 9.3 and 10.0 should have that patch already. http://svnweb.freebsd.org/base?view=rev ... ion=262173 http://svnweb.freebsd.org/base?view=rev ... ion=257058
  7. T

    Concatenate each 2 pattern found in grep.

    Here you go: # egrep -v 'closed|opened' | cut -d ' ' -f 1-2,7- 2014-06-27 14:53:12,720 ANON ftp: Login successful. 2014-06-27 15:04:33,344 USER tunix (Login failed): Incorrect password
  8. T

    ZFS resilver starts slow... then speeds up

    It shouldn't matter much as they both do the same thing. zpool replace is just "attach/resilver/detach" in one command. zpool replace [-f] pool device [new_device] Replaces old_device with new_device. This is equivalent to attaching new_device, waiting for it to...
  9. T

    ZFS resilver starts slow... then speeds up

    Try adjusting these: vfs.zfs.resilver_min_time_ms: Min millisecs to resilver per txg vfs.zfs.resilver_delay: Number of ticks to delay resilver
  10. T

    Running basic commands in a normal user's .cshrc?

    Edited my previous post as it was worded incorrectly. I meant to say: "If your using tcsh and ~/.tcshrc exists it will be used instead of ~/.cshrc." As uncommon as it may be, if it exists it would still override ~/.cshrc unless you had source ~/.cshrc in it.
  11. T

    Running basic commands in a normal user's .cshrc?

    If your shell is tcsh, it will use ~/.tcshrc if it exists instead of ~/.cshrc.
  12. T

    ARC usage FreeBSD 10.0

    Add vfs.zfs.arc_max="4G" to /boot/loader.conf. https://wiki.freebsd.org/ZFSTuningGuide
  13. T

    tmpfs not working

    It's probably that; tmpfs is mounted first then ZFS mounts over it. I wanted to check the output of mount to make sure before suggesting it. rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /etc/rc.d/mdconfig /etc/rc.d/hostid_save /etc/rc.d/mountcritlocal # fstab mounting /etc/rc.d/zfs #...
  14. T

    tmpfs not working

    Could you paste what df -h, mount | column -t and cat /etc/fstab say? It's hard to help someone without any information to go on.
  15. T

    tmpfs not working

    What does df -h and mount | column -t say?
  16. T

    [RESOLVED] stuck on a email verification script

    Re: stuck on a email verification script You can use jexec to create the database if you're not in a jail. Or set[]up ssh/sshd and use that. jexec database_jail_name /usr/bin/mysql -e "CREATE DATABASE $DB_NAME" jexec database_jail_name /usr/bin/mysql -e "GRANT ALL PRIVILEGES ON $DB_NAME.* to...
  17. T

    [RESOLVED] stuck on a email verification script

    Re: stuck on a email verification script This one checks if they match then checks if it's valid. #!/bin/sh # EMAIL="" COMFIRM_EMAIL="" while true; do ## Read input read -p "Enter email : " EMAIL read -p "Comfirm email : " COMFIRM_EMAIL ## Do they match? if [ "$EMAIL"...
  18. T

    FreeBSD Screen Shots

    Keeping it simple. :) x11-wm/dwm, x11/rxvt-unicode, sysutils/tmux, x11-fonts/terminus-font. Click to enlarge.
  19. T

    Solved [Solved] script that can kill all children

    Re: script that can kill all children kill doesn't seem to like signal numbers when using "-s". (works fine in csh/tcsh) kill: unknown signal 9; valid signals: HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH...
  20. T

    Solved [Solved] variables don't keep in memory

    Re: variables don't keep in memory If your using the default shell (csh), you set variables with setenv. setenv EASY_RSA "/scratch" Add them to ~/.cshrc if you want them to be set automatically every time you login in.
Back
Top