BoxBackup on Ubuntu Hardy 8.04

Filed Under (CodeBase Services, Desktop, Internet, OS & Software, Server) by lukas on 16-05-2008

0

Read more about BoxBackup on boxbackup.org.
And the wiki.

Serverside Installation
for all these steps you need to be root, (sudo su).

apt-get install boxbackup-server
# it will look like its waiting for input, but its not just press Enter,
# and if it hangs press it again, until return to the console.

# configure backup directory.
#create a backup directory, if you want to use userland raid read this.
#you need to know the blocksize (4096) of the partition (/dev/sda1) where the backup is.
# dumpe2fs /dev/sda1 | grep -i ‘Block size’
mkdir /backup
chown -R bbstored:bbstored /backup
rm /etc/boxbackup/raidfile.conf
raidfile-config /etc/boxbackup 4096 /backup

# next is to configure the boxbackup server
# Be sure to replace “hostname” by the correct name.
rm /etc/boxbackup/bbstored.conf
bbstored-config /etc/boxbackup hostname bbstored

# last thing todo for the server is to create the certificates
# This will create a folder “ca”, which is very important, cause it is needed to create the client certificates.
# Also without certificates the backup can’t be used.

cd /root
bbstored-certs ca init
# Sign the certificates prepared by boxbackup.
bbstored-certs ca sign-server /etc/boxbackup/bbstored/boxbackup-server-cert-req.pem
# Copy (not move)
cp -a ca/servers/bserver.hjbaader.home-cert.pem /etc/boxbackup/bbstored/boxbackup-server-cert.pem
cp -a ca/roots/clientCA.pem /etc/boxbackup/bbstored/boxbackup-client-ca-cert.pem

# start the BoxBackup server
/etc/init.d/boxbackup-server start
# if there is no output at all, there is something very wrong..
# logoutput can be found in /log/syslog

Client Installation
for all these steps you need to be root, (sudo su).

Einstieg in Linux-Shell für Windows-User

Filed Under (Desktop, OS & Software, Server) by lukas on 16-05-2008

0

Auch wer noch keine Linux-Erfahrung hat, kann sich schnell in die Linux-Shell einarbeiten. Hier gibts drei hilfreiche Links:

Windows-User arbeiten häufig Remote auf Linux-Server. Dazu gibts die SSH-Suite:

  • SSH Einführung von Ubuntu.
  • WinSCP: Ein SCP-Client, mit dem man Dateien ähnlich wie mit einem FTP-Client hochladen kann.
  • Putty: Eine SSH-Konsole für Windows.

Und zum Schluss noch etwas für Ubuntu-Admins:

  • Ein Ubuntu-Cheatsheet mit den wichtigsten Administrations-Befehlen wie apt-get, sudo und so weiter..

Windows Vista und Samba 2.x / 3.x

Filed Under (OS & Software, Server) by lukas on 16-05-2008

0

Hier wird erklärt, wie die verschiedenen Versionen von Vista mit den verschiedenen Versionen von Samba verwendet werden können. (Edit, andere Quelle: http://www-pc.uni-regensburg.de/systemsw/vista/samba.htm)

Den Krypto-Hintergrund zu NTLMv2 gibts bei heise.

Auch wichtig: Vista braucht IMMER den Domain- oder Workgroupname vor dem Benutzername (also MSHOME\user anstatt user).

Joomla 1.5: Packaging / Deployment, Subscription-Tracking und Community Builder

Filed Under (Web applications) by lukas on 15-05-2008

0

JoomlaPack ist ein exzellentes Backup-Tool für Joomla. Es macht Backups mit eigenem Installer, und kann deshalb verwendet werden um existierende Joomla!-Seiten zu kopieren oder Joomla! Template Sites zu erstellen.

Da wir unsere Produktseiten auf Joomla 1.5 updaten wollen, brauchen wir eine Joomla!-Template-Site mit folgender Konfiguration:

  • Subscription-Tracking mit Abrechnungsmöglichkeit: Wir verwenden Joomla AEC, für Joomla! 1.5 scheinen die Version 0.12.6RC2 und Legacy Mode nötig zu sein.
  • Community Builder: Wird für die Verwaltung der Kundendaten verwendet. Der Kunde gibt bei der Registration seine Adresse in sein nicht öffentliches CB-Profil ein. CB braucht ebenfalls den Legacy Mode, allerdings nur bis Version 1.2, die noch nicht released ist.
  • JoomFish: Multi-Language Komponente. Version 2.0 Beta kann mit Joomla 1.5 umgehen.

B’cause covering Britney is cheaper!

Filed Under (Internet, Marketing) by lukas on 15-05-2008

0

Alisia Miller spricht zum Zustand der Amerikanischen Nachrichten:

Und Telepolis erklärt den Kreislauf, der die Nachrichten schlecht macht ganz gut in Deutsch.
Bleibt nur noch eine Frage: Ist das in Europa anders??

Joomla 1.5 Videotutorials, Deutsche Sprachdateien, Template Builder…

Filed Under (Internet, Web Development) by lukas on 14-05-2008

0

Joomla 1.5 ist ja schon seit einer Weile draussen. Zeit mal ein paar nette Links & Fakten aufzuschreiben:

Schöne Shell mit Dialog

Filed Under (Desktop, OS & Software, Server) by lukas on 13-05-2008

0

Damit auch ein Shell-Script über eine schöne Benutzeroberfläche verfügt, kann man dialog verwenden, um Benutzerinteraktionen darzustellen.

Hier gibts eine deutsche Einführung zu Dialog.

Weitere Doku befindet sich auf der Dialog-Homepage.

Mit xdialog sehen Shell-Scripte auch unter X11 schön aus.

Wenn dialog / xdialog über eine variable angesprochen werden, kann man die beiden Frontends austauschen, da sie Parameter-Kompatibel sind:
DIALOG=/usr/bin/dialog
$DIALOG --textfield

Remastering kubuntu hardy with reconstructor

Filed Under (Desktop, OS & Software) by lukas on 09-05-2008

0

The reconstructor is a program to remaster ubuntu CD-Roms. It’s written in Python and supports (officially) all ubuntu’s up to 7.10. So if one want’s to remaster kubuntu hardy, there’re two issues:

  1. It’s kubuntu.
  2. It’s Hardy.

For issue 1) there are several threads in the reconstructor forum. Here the most important ones:

A lot of (KDE) applications can be configured through reconstructor (third party) modules.

For Issue 2) There’s a simple explanation: It works with hardy, as tested in this configuration:

  • Use a (k)ubuntu hardy Setup as host system to install the reconstructor on.
    • We’ve got the X86 Kubuntu 8.04 Hardy for this.
  • The usplash works, pcx unknown (Diego has to try out the newest ISO yet)
  • Apt has changed a lot: You can’t add to /etc/apt/sources.list with constructor.
    • Hardy has a /etc/apt/sources.list.d/ directory now, you can put multiple source files there.
  • We remastered kubuntu, so the GNOME customization wasn’t used.
  • The VMPlayer plugin doesn’t work since hardy uses a new kernel, thus manual install works.

A tip if the terminal doesn’t start up: Execute the command “xhost +” on a console of your box.

If you need more documentation: Reconstructor is pretty well documented.