Thursday Jul 31, 2008

TexLive is a very decent Latex implementation, however if you want to write DIN conformable letters using g-brief you might get an error message like that:
! LaTeX Error: Command \Telefon already defined.
Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...

l.48 \newcommand\Telefon{\mvchr{84}}
This bug is in g-brief with newer versions of marvosym.sty. So all you have to do is edit line 48 of /texlive/texmf-dist/tex/marvosym.sty and uncomment it.
This bug might affect all unices, not only Solaris.

Wednesday Jul 30, 2008

Most webservers do have a need for a decent AMP stack, but Solaris 05/08 doesn't quite offer a solution out of the box, but if you know where to look you're not far away from having a fine implementation.


  • MySQL5
    I have made good experiences using MySQL5 from blastwave. Unfortunately it doesn't run out of the box even tough it integrates nicely with SMF. When mysql is being called after installation you will see this error message:
    Warning: mysql(): Can't connect to local MySQL server through socket '/tmp/mysql.sock'

    The simple reason is that cswmysql5 couldn't start properly, because there is no default config file. After copying the config file to the right location you can start the installation:
    $ cp /opt/csw/mysql5share/mysql/my-small.cnf /opt/csw/mysql5/my.cnf
    $ /opt/csw/mysql5/bin/mysql_install_db
    ...
    $ chown -R mysql:mysql /opt/csw/mysql5/var
    $ svcadm disable cswmysql5; svcadm enable cswmysql5

  • Apache2
    $ pkg-get install apache2

  • PHP
    $ pkg-get install php5

  • Needed modules
    $ pkg-get install ap2_modphp5
    $ pkg-get install php5_gd
    $ pkg-get install
    php5_mysql

    Now all that's left is to integrate PHP support into apache which is done by adding the following lines in your /opt/csw/apache2/etc/httpd.conf:
    LoadModule php5_module /opt/csw/apache2/libexec/libphp5.so
    <IfModule mod_php5.c>
    AddType application/x-httpd-php .php .phtml .php3
    AddType application/x-httpd-php-source .phps
    </IfModule>

    Now disable apache2, restart cswapache2 and you're done.

Thursday Jun 19, 2008

Hier wie versprochen die Slides der Sprecher Felix Baumann(SAI) und Franz Haberhauer(Virtualisierung, DTrace, Predictive Self Healing, OpenStorage).

Relevante angesprochene Links:

Sunday May 04, 2008

Like we mentioned earlier we are in the middle of configuring a Fire 280R server for our needs. Yesterday we finally were able to patch some real Internet addresses on the NICs, as well as new local addresses, so now we finally are online^^
While configuring we figured that there are at least three potential needs to assign multiple IP addresses to a single interface.

1. To do a quick test where the configuration won't have to survive a reboot
2. On an interface in a global zone
3. On an interface in a non-global zone

These are the solutions we used:

1
$ ifconfig abrX:Y plumb
while "abrX" is the abbreviation for an installed interface.
Now you can use the new interface abrX:Y as you want.

2
We needed it to have an an external(Internet) and an internal address. So we made an entry in /etc/hosts for the primary address in the old fashioned way(we do not yet use NWAM):
10.5.250.100    fire
while we put the other addresses in /etc/hostname.abrX:
fire
addif 141.72.100.100/24
where /24 implies: netmask ffffff00 broadcast 141.72.100.255

3
We wanted the interfaces to be visible from the global zone via a local address while being available from the Internet. Therefore we defined a local address as in 2 via /etc/hosts and /etc/hostname.abrX, but we also included the Internet address in the zone configuration:
$ zonecfg -z zone1
zonecfg:zone1> select net physical=abrX
zonecfg:zone1:net> set address= 141.72.100.101/24
zonecfg:zone1:net> end
zonecfg:zone1> commit
zonecfg:zone1> exit

We will now take a look at IP instances, because using them we can achieve to only have the non-global zones visible in the Internet, while the global zone is only vulnerable in the local subnet.

Friday May 02, 2008

Alain and me had a talk on OpenSolaris on the 30th of April at the University of Stuttgart with 19 attendees.
Here are some pictures. The slides will follow soon.


Update:
Slides are now available

Sunday Apr 27, 2008

I was only able to listen to one talk about "Underground Economy & Abuse Handling" but it was pretty interesting. I hope to receive a Video from the other Talks by Prof. Walter Kriha (http://www.kriha.de/krihaorg/index.html) somewhat next week. I also added a counter to this blog today (which you have probably seen already on the bottom of the sidebar).

Thursday Apr 24, 2008

A so called "Solaris Masterclass" will be held on the 18th of June from 13:30-18:30 at the University of Stuttgart (Computer Science building, room 0.108).
Further Information will follow soon.

Ich moechte gern auf den morgigen Security Day an der HDM aufmerksam machen, der bestimmt wieder sehr interessant werden wird.

Der Einladungstext lautet wie folgt:
"'Jetzt wird's psychologisch meine Herren' sagt der Jürgen Prochnow in
"Das Boot" als die Wasserbomben rund um das U-Boot explodieren. Nicht
ganz so dramatisch aber mindestens so spannend wird es am Freitag wenn
neueste Entwicklungen aus der Informationstechnik mit der Psychologie
des Menschen und der sozialen Konstruktion von Risiko und dessen
Wahrnehmung aufeinandertreffen.

In den letzten Jahren hat in dem Bereich der Informatik der sich mit
Sicherheit beschäftigt - nicht zuletzt unter dem Eindruck der Folgen des
11. September sowie dessen politischem Missbrauch - eine Öffnung zur
Psychologie, zur Soziologie und nicht zuletzt auch zur Politik
entwickelt. Sicherheitstechnologie wird immer mehr eingebettet in ihr
Umfeld, sie wird kritisch auf ihre Nützlichkeit hinterfragt und ihre
gesellschaftlichen Konsequenzen werden diskutiert.

Am Freitag wollen wir uns genau in diesem Spannungsfeld bewegen. Es
kommen Spezialisten aus den verschiedensten Gebieten zu Wort. Wir werden
die Schwierigkeiten unseres "Steinzeit-Hirns" bei der realistischen
Einschätzung von Risiken untersuchen. Wir werden die Probleme der
Risikowahrnehmung diskutieren. Wir werden neue Verfahren für sichere
Transaktionen am Internet vorstellen aber auch das Gegenteil davon: die
"Underground Economy" als Schattenwirtschaft mit hohem Betrugspotential.
~ Wir werden uns fragen was Anonymität heute bedeutet und Techniken
vorstellen wie sie erreicht werden kann.
Und nicht zuletzt werden wir die Rhetorik des Überwachungsstaates
entziffern: dient die ganze Sicherheitstechnik tatsächlich unserem Wohl?
Kann es unilaterale Sicherheit geben?

Sie finden das aktuelle Programm wie immer auf der HDM Homepage unter
"Security Day". Ein Live-Stream und chat Kanal sind vorhanden."

Programm und genauere Informationen (sowie einen Webstream) findet man unter : http://www.hdm-stuttgart.de/aktuell/terminkalender/view?terminid=event20080403111657

Monday Apr 21, 2008

Hier ist die Mindmap die ich zum lernen auf die Theoretische Informatik B Pruefung erstellt und verwendet habe (erfolgreich).

Die Mindmap wurde mit Freemind 0.8.1 erstellt und ist zum teil unvollstaendig (Fehler koennen mir gerne an Felix.Baumann-AT-sun-DOT-com mitgeteilt werden - Danke).
Ausgerichtet ist die Mindmap auf die Vorlesung Theoretische Informatik III im SS 2007 von Herrn Prof. Dr. Ulrich Hertrampf (http://www.informatik.uni-stuttgart.de/fmi/ti/restricted/ss07/TI3/ und die Vorlesung Theoretische Informatik II im WS 2006/07 von Herrn Dr. Holger Petersen (http://www.informatik.uni-stuttgart.de/fmi/ti/restricted/ws06_07/TI2/ (beide Vorlesungen an der Uni Stuttgart) - unterstuetzt durch das Buch "Theoeretische Informatik - kurzgefasst" von Herrn Prof. Dr. Uwe Schoening (Uni Ulm).

Mind Map
Skizze

Thursday Apr 17, 2008

In order to compile Maradns (http://www.maradns.org) on a Sparc machine you have to edit the Makefile. I changed line 19-36 to following:
# Uncomment the following three lines to get this to compile on Solaris
 LDFLAGS=-lxnet
 CC=cc $(LDFLAGS) -DSOLARIS -DNO_FLOCK
 M="CC=$(CC)"
# These are currently unused, but will be needed again if we use flock() again
# CFLAGS=-I/usr/ucbinclude
# L="CC=$(CC) $(CFLAGS)"
# LDFLAGS=-L/usr/ucblib -lucb -lxnet
# end the Solaris section
# Non-Solaris version of "M"
#M="CC=$(CC) -O2 -Wall" DEBUG=-DNO_FLOCK
#V="VERSION=$(VERSION)"

# Debug
D="VERSION=$(VERSION)" DEBUG="-DDEBUG -DNO_FLOCK"

#FLAGS = -O2 -Wall
FLAGS = -g
afterwards a simple make did the job.
On Wed. 30.04.2008 i will be giving an introductory talk about OpenSolaris. It will begin at 14:00 in the lecture room V38.01. This talk is within the series of the "inf.misc" talks (http://fachschaft.informatik.uni-stuttgart.de/studium/infmisc/index.php) which are held by students at the university of stuttgart (computer science) for students. Hope to see you there.
This week I realised what a great mistake it was to remove the Sun Studio Compiler packages with pkgrm instead of using the uninstaller. I was unable to install the Compiler again by using the installer so I downloaded the whole package again hoping it would go smoothly this time. But it didnt. So I had to install all the necessary packages manually. I will now post the order in which I had to install the packages SPROdwrfb, SPROdwrfx, SPROlang, SPROcc, SPROgc, SPROgcx, SPROcpl, SPROcplx, SPROlgc, SPROlgcx

Wednesday Mar 19, 2008

Right now we are installing Solaris Express Community Edition 79b on the Server of our dormitory that shall become our new dedicated webserver. It will get a Sun Studio Compiler 12 package as well. First trouble we ran into was as it seemed that the server wanted a mouse to start up the installer, but luckily it started the text-only installer after waiting for some minutes. We'll keep you posted on the progress.

Monday Mar 10, 2008

Hi there, my name is Felix Baumann and I got my own blog at blogs.sun.com/fb but Alain and me have decided to conjunct our blogs because we are both Campus Ambassadors in Stuttgart so the interested people only have to look at one blog if they want information. Also we thought that we can bring up more material to this blog if we work together. In the end I'd like to thank Alain for inviting me doing this blog along with him.

Wednesday Feb 13, 2008

Last week Felix Baumann and I did our demo. As we intended we talked about Netbeans 6.0 in general, demonstrated the power of the Matisse GUI builder, showed a few of the diverse features like database integration, debugging and profiling. Afterwards we intended an elaborate exploration of the new Visual Library and the Netbeans Module Suite, but we had to cut that one short by only making a short walkthrough, because we were already getting out of time due the very pleasing enquiries of our auditors not only concerning Netbeans, but also Sun Studio, Solaris and Zones.

I am pleased to also announce that we wrote a small advertising text about the SAI program, which is now being shown on the website of the computer center of the University of Stuttgart:
http://www.rus.uni-stuttgart.de/studium/sun.html


A picture taken during a short break.

This blog copyright 2009 by Alain M. Lafon / Felix Baumann