Posts Tagged ‘linux administration’

  • Installing Brother printer MFC-J5910DW on Debian 64-bit

    Date: 2012.03.09 | Responses: 0

    Mainly follow the guide @ http://ubuntuforums.org/showthread.php?t=590793.

    The only difference is that at the end, the printer is added automatically, but it’s not connected wirelessly. I fixed this by accessing the CUPS server at http://localhost:631/ and then removing the printer, and then adding it again through the CUPS server. Then I could print.

    Don’t forget to set the default print settings here to avoid checking the settings each time you print.

  • Lame Apache error

    Date: 2010.09.20 | Responses: 0

    I was getting this error when starting my apache server

    Apache error: pcfg_openfile: unable to check htaccess file, ensure it is readable

    This is due to permissions, seems all you have to do is add the execute bit to owner.

    chmod 755 foldername

    source: http://www.liamdelahunty.com/tips/apache_pcfg_openfile_unable_to_check_htaccess.php

  • HDMI setup using ~/.asoundrc

    Date: 2010.08.10 | Responses: 0

    Update (3/11/12): I’ve made the switch to Pulseaudio audio server and using the volume manager, I can easily switch output sinks (though like for alsa, it will depend on driver support for your video card — I’m using latest fglrx driver in linux).


    This .asoundrc file sets the hdmi digital audio output as the default sound output device. The sweet thing about this setup is that it uses the dmix plugin, allowing you to have multiple applications use the device at once instead of just one hogging it. Also, this will add a volume slider to your mixer (hdmi_vol). Thanks to  the original person who wrote the config, Dewey Oxberger (aka Jon B), and  frigginacky at ubuntu forums (see post).
    Note: To find the device card & number, you can run

    aplay -l

    ~/.asoundrc file:

    pcm.hdmi_formatted {
     
      type plug
     
      slave.pcm "dmix:1,3" #card 1, device 3 (may be different for you)
     
    }
     
    pcm.hdmi_complete { # add a volume slider in mixer
     
      type softvol
     
      slave.pcm hdmi_formatted
     
      control.name hdmi_volume
     
      control.card 0
     
    }
     
    pcm.!default hdmi_complete
  • Running with Multiple JVMs

    Date: 2010.05.04 | Responses: 0

    If you have multiple versions of Java installed in your debian-based system, use the following command to update which one is used as a default.

    update-alternatives --config java
  • Disabling IPv6 in Debian

    Date: 2010.04.22 | Responses: 0

    I’ve seen different suggestions, so I decided to include all of them.

    Edit: /etc/modprobe.d/aliases

    By default you will have a line like this:

    alias net-pf-10 ipv6

    Replace that line with:

    alias net-pf-10 off

    alias ipv6 off

    Also, while we’re at it, on your desktop machines, help out Firefox by disabling IPv6 there too. It’s simple, in the location bar enter:

    about:config

    Then search for:

    network.dns.disableIPv6

    I also disabled these lines in /etc/hosts to avoid confusions:

    ## The following lines are desirable for IPv6 capable hosts

    #::1 localhost ip6-localhost ip6-loopback

    #fe00::0 ip6-localnet

    #ff00::0 ip6-mcastprefix

    #ff02::1 ip6-allnodes

    #ff02::2 ip6-allrouters

    #ff02::3 ip6-allhosts

    Finally, “open file /etc/sysctl.d/bindv6only.conf and set net.ipv6.bindv6only=0, then restart the procfs with invoke-rc.d procps restart”

    Sources:

About me

1

I live in Denver, Colorado and work as a contractor for HAIKU Learning Systems, Inc., an online learning company. I did my Master's in Music Informatics at Indiana University and got a B.A. in Computer Science and Mathematics, with a minor in Music from Carroll College in Helena, Montana.

Resume Contact me

Blog Tags