Archive

Archive for the ‘Linux’ Category

Ubuntu 9.10 to 10.04 one shot update

May 9th, 2010 dirk No comments


sudo sed -i 's/karmic/lucid/g' /etc/apt/sources.list && sudo aptitude update && sudo aptitude dist-upgrade

Categories: Linux, Uncategorized Tags:

OS X Samba client creates files / directories with wrong access rights

July 31st, 2009 dirk No comments

Wanted: files with 0660, directories with 770

Config:

  • create mask = 660
  • directory mask = 770
  • force create mode = 660
  • force directory mode = 770

Problem: OS X clients creates

  • files with 644 or 764 or 600
  • directories with 2700 or 0770 or 0700

Solution:

unix extensions = no

in smb.conf on server

Categories: Linux, OS X Tags:

recursive chmod directories only

September 30th, 2008 dirk No comments
find . -type d -exec chmod 755 {} \;

oder (mit Ausgabe)

find . -type d -exec chmod 755 {} \; -print
Categories: Linux Tags:

Dear ATI

June 24th, 2007 dirk No comments

is it so hard to understand that linux and open source software are major players on servers and desktops nowadays?

I wasted several hours getting the best out of the “industry leading” Mobility Radeon X1600 graphics card in my shiny HP n8430 notebook.

  • Ubuntu Feisty: have to compile and install proprietary ATI drivers manually – lasts 15 minutes to half an hour if you know what your doing. Same procedure after every Kernel or Xserver update. Carefully check if ATI Drivers for the updated Kernel/Xserver are available before upgrade your installation. Usually the ATI Driver schedule lag a month or two behind. Composite extension must be disabled in xorg.conf to have hardware accelerated OpenGL, meaning no 3D Desktop effects possible. Did you hear about Beryl/Compiz? Seems not…
  • Fedora Core 6: same as above.
  • Fedora 7: forget it. There are no usable drivers for newer ATI graphic cards in this major distribution. Have to wait for a ATI driver that fits X.org 7.2.

My experience: whenever you install a major linux distribution, an “up to date” ATI graphics card will provide you with all kind of troubles. Suspend/wakeup is never working reliable, dual monitor setups configured from within the ATI control center producing wrong screen resolutions and so on.

I respect that proprietary graphic card drivers include lots of optimizations and hacks to achieve better performance. These optimizations may give a company a competitive advantage in the proprietary software market. In the linux and open source world (to my knowledge) no company has ever increased their market share by relying on proprietary software. On the other side, vendors which are involved in the community process and actively support developers to adopt their hardware have seen noticeable benefit in the growing linux market.

I’m pretty sure that there is a way for ATI to support linux driver development without giving away company secrets. I hope they have read Greg’s offer and take part of it!

Categories: Linux Tags:

Clustering JBoss with Apache 2.2 / mod_proxy_ajp

June 17th, 2007 dirk No comments

1) configure Apache

    ProxyPass /balancer-manager !
    ProxyPass / balancer://myCluster/ stickysession=JSESSIONID lbmethod=bytraffic nofailover=Off
 
        SetHandler balancer-manager
        AuthType Basic
        AuthName "Cluster manager"
        AuthUserFile /etc/httpd/conf.d/htpasswd
        Require valid-user
 
        BalancerMember ajp://10.0.0.1:8009 route=member01
        BalancerMember ajp://10.0.0.2:8009 route=member02

2) For all application-server instances

edit %JBOSS_HOME%/server/%your_config_dir%/deploy/jboss-web.deployer/server.xml
Look for the “engine name” tag in the ajp1.3 connector, add a corresponding “jvmRoute”

<!-- Define an AJP 1.3 Connector on port 8009 -->
 
         emptySessionPath="true" enableLookups="false" redirectPort="8443"

edit %JBOSS_HOME%/server/%your_config_dir%/deploy/jboss-web.deployer/META-INF/jboss-service.xml and look for

useJK

it has to be set to “true”

true
Categories: Clustering Tags:
Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien: