Category: Linux Micro Server Projekt

Hardware Tip: “Null Euro” entkoppelte Festplatte (“Zero Dollar” Hard Drive acoustic decoupling)

Kommentare Kommentare deaktiviert
Von , Mittwoch, September 12, 2012

Problem:

  • Festplatten brummen in PC Gehaeuse, Schwingungen werden uebertragen.
  • Harddrive rotations transmitted by case parts and acousitc boosted up
  • Professionelle Produkte zum entkoppeln kosten bis 30 Euro.
  • Professional Parts must be paid up to 40 Dollars/Drive

Lösung:  “Null Euro” Lösung – “Zero Dollar” Solution

  • Festplatten im 5.25 Zoll Laufwerk auf Einmachgummis haengen
  • Harddrives mounted on grommets of old botteling jars
Entkoppelte Festplatte Silent Harddrive Low Cost Solution

Entkoppelte Festplatte Silent Harddrive Low Cost Solution

Linux FreeBSD: Protect your Disc Data against power loss

Kommentare Kommentare deaktiviert
Von , Mittwoch, Juni 6, 2012

Problem: If you use IDE or SATA Disc Drives inside your Workstation or Server without a additional uninterruppted power supply after a power loss your Disc Drives can lose data, do not boot clean up agian or damage the drive headers and sectors.

Background: SATA or IDE Drives uses “Disc Cached Controllers”, the count of this disc cache reach from 8 to 64 megabytes. In case of data write to disc, the disc controllers do cache some data who are often used. A Raid 1 Disc Mirror is affected too by this problem. SCSI od SAS are not using Cache by default.

Solution:

Install the software tool called hdparm to set the cache parameters to disabled, cause most of operating systems have enabled by default.

  1. at Debian/ubuntu do : # sudo aptitude install hdparm
  2. at Centos/Redhat do:  #sudo yum install hdparm

now lets show discs which are installed:

  1. at Debian/ubuntu do: # sudo fdisk -l
  2. at Centos/Redhat do: #sudo  /sbin/sfdisk -l
  3. at FreeBSD do: # fdisk -l

yet lets take settings to disable the cache on every boot:

  1. at all linux do: sudo nano /etc/rc.local
  2. insert for every drive hdarm -W 0 /dev/sdX (X is for a to …)
  3. at FreeBSD  do : #vi /etc/loader.conf
  4. insert once for all drives  hw.ata.wc="0"

Remarks:

  1. If you have two drives with same physical size inside your PC config a mdadm Software Raid 1 additional on your System.
  2. Set the PC Bios Settings to auto boot ofter power failure and plug off the power on you testing System, check the results. There should not be needed a check disk called fsck after the Test, but its better to do it.
  3. Hardware Raid Controllers do often have RAM Cache too, size 128MB up to 2GB, at power loss these Data lost, this can only be surpressed by a addtition RAM Cache Backup Battery connected to the Hardware Raid Controller

 

Boot Knoppix 6.01 without Compiz

Von , Samstag, März 7, 2009

If you want to disable the heavy PC-Brake Compiz enter at Boot:

# knoppix no3d

Mr. Klaus Knopper has forgot it to add it to the F3-Menu (advanced Options-Info)

Security Bug smeserver-phpmyadmin-multiuser-2.11.3-3.el4.sme.noarch.rpm

Von , Freitag, Februar 13, 2009

If you use:
smeserver-phpmyadmin-multiuser-2.11.3-3.el4.sme.noarch.rpm
and run db configuration setprop access private
the Login Interfaces is public !!!
Please take newer version:
smeserver-phpmyadmin-multiuser-2.11.9-XX.el4.sme.noarch.rpm

Sun Cobalt Linux “Bluequartz” renamed to “Blueonyx” (old Nuonce)

Von , Donnerstag, Januar 15, 2009

http://www.blueonyx.it

See site above the old known Sun Cobalt Linux (Bluequartz-Webinterface + Sun Cobalt Linux) was redesigned last years by Nuonce, Strongbolt.uk, Solarspeed.net and is now made with:

  1. Centos 5.2
  2. Blueonyx for new Servers x86 and AMD64

For Classic View the old nice Sun Theme is still available and easy to switch at user settings.

To CHANGE the Login Pictures Blueonyx to your loved old View of Sun Cobalt Themes download here the Theme Pictures of old SUN Cobalt and copy it at the folder sausalito see info.txt

http://www.blueonyx.it Free Distribution for your Webservers

Papierkorb Recycle Bin Samba Share Howto

Von , Samstag, November 15, 2008

How to create a Samba Recycle Bin ? (Ersatz fuer Papierkorb Windowserver)

  1. At first you need to create the /etc/samba/recycle.conf file
  2. # touch /etc/samba/recycle.conf
  3. # nano /etc/samba/recycle.conf
  4. add:

##Recycle Bin ##
name = Recycle Bin
mode = KEEP_DIRECTORIES|VERSIONS|TOUCH
maxsize = 0
exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|*.log|*.trace
excludedir = /tmp|/temp|/cache
noversions = *.doc|*.ppt|*.dat|*.ini|*.mp3
(Block unwanted Files)

  1. edit your /etc/samba/samba config file
  2. # nano /etc/samba/smb.conf

add at section “homes”

vfs object = recycle
config-file = /etc/samba/recycle.conf
recycle:repository = Recycle Bin
recycle:keeptree = Yes
recycle:versions = Yes

Now restart your samba daemons and the recycle bin should show up after a few moments (but most likely after you delete your first file).

  1. # sudo /etc/init.d/samba restart

Linux Small Business Server Apache PHP Mysql Samba FTP Proxy Firewall

Von , Sonntag, September 28, 2008

Productinfo:

Eigenbau Webserver mit extremer Energiesparfunktion und lautloser Technik (extreme silent Technics) Als Nachfolger des bekannten Sun Cobalt Qube dessen Produktion im Jahr 2003 eingestellt wurde.

Linux Small Buisness Server Fanless Lowpower
System ab 01. 2008 (Hersteller www.linuxonlinehelp.de)

  1. Micro-Server Via Samuel 2 CPU ULV Passiv 5Watt!!!
  2. 1GB RAM -DDR-RAM
  3. 2x 120GB 2,5″ Laptop Festplatte
  4. Raid 1 HDD Mirror
  5. komplett ohne Luefter
  6. externes Netzteil ohne Luefter
  7. Stromverbrauch 18-22Watt pro Stunde
  8. erweiterbar durch PCI Steckplatte
  9. 5x USB 2.0 Anschluesse fuer Webcams+ USB-Drucker
  10. 1 Druckeranschluss als Druckserver
  11. 4 IDE Anschluesse für 4 Laptop Festplatten
  12. 100% Ubuntu, Debian oder Win2003 kompatibel
  13. FTP-SSH-apache2-PHP5-Mysql5-Cups
  14. Mailserver mit Webmail
  15. Virtuelle Domains auf eine IP Adresse
  16. Windows File+Printserver
  17. Proxy-Server mit Firewall
  18. DHCP+DNS Server
  19. Volle einfache Fernwartung per Browser ohne Linuxkenntnisse
  20. Lizenzkostenfreies Hochsicherheits – Betriebssystem

Suchen Sie auch einen Energiesparwebserver? dann wenden Sie sich an mich. Sie nennen mir Ihre Anwendungen ich berechne den tatsaechlichen Bedarf. Ein Highend PC ist dafuer meist nicht noetig und spart Kosten und Energie der kommenden Generationen.


  1. Micro-Server Via Samuel 2 CPU ULV fanless cooled
  2. 1GB RAM -DDR-RAM
  3. 2x 120GB 2,5″ Drives
  4. Raid 1 HDD Mirroring
  5. all fanless
  6. 12V external fanless PSU
  7. less than 18-22Watt/hour at working
  8. upgradable full size PCI Slot
  9. 5x USB 2.0 Connectors for Webcams
  10. 1 LPT for old Printers
  11. 4 ATA133 Slots for up to 4 HDD IDE Drives
  12. 100% Ubuntu, Debian or Win2003 compatible
  13. Services = FTP-SSH-apache2-PHP5-Mysql5-Cups
  14. Mailserver with Webmail
  15. Proxyserver with Firewall
  16. DHCP+DNS Server
  17. Full Free highsecurity Operatingsystem
  18. Easy remote control with every webbrowser
  19. Print+ File Server for every Windowsdomain

If you are searching for a powerless energy saving webserver i can make a calculation for the real need of serverpower for you. Often there is no need for a highend server, you save money and energy of our generations in the future.

Clean Linux Console tty1 after boot or logout

Von , Montag, Mai 5, 2008

Problem: At a server everybody can see messages at tty1

Solution: Open a console as root or with “sudo” and insert.

# sudo echo -e '\e[H\e[2JUbuntu 8.04 \\n \\l\n' | sudo tee /etc/issue > /dev/null

Via Samuel 2 CPU freezes crash Ubuntu 7.10 Gutsy

Von , Montag, März 10, 2008

Problem:

  1. Gutsy Kernel 2.6.XX freezes or crash Via CPU Samuel 2 and newer too!!

Solution:

  1. add to /etc/modeprobe.d/aliases “alias longhaul off”
  2. perhaps remove powernowd too!
  3. reboot + test + mail me errors

SME Server Samba Password Login fails ü ä ö

Von , Mittwoch, Februar 20, 2008

Problem:

Wenn man ein Windows-Passwort für User mit ä ü ö verwendet, kann man sich nur mit FTP zum SME Server verbinden eine Anmeldung mittels SMB Windows-XP Protokoll geht nicht

Loesung

  1. Passwort ohne ä ü ö nehmen oder,
  2. als root am Server per ssh anmelden und folgendes eingeben:
  3. #db configuration setprop smb UnixCharSet ISO8859-15 (+Enter)
  4. # expand-template /etc/smb.conf (+Enter)
  5. # /etc/init.d/smb restart (+Enter)

Problem: If you use a password with special characters like üäö or british pound.. you can login at the sme server but not connect the smb shares from windows.

Solution:

  1. change to easier password or,
  2. do a db charset change see above as root for samba

Centos Linux Apache failover solution Hochverfuegbar

Von , Dienstag, Februar 12, 2008

Configuring A High Availability Cluster (Heartbeat) On CentOS

This guide shows how you can set up a two node, high-availability HTTP cluster with heartbeat on CentOS. Both nodes use the Apache web server to serve the same content.
Pre-Configuration Requirements

   1. Assign hostname node01 to primary node with IP address 172.16.4.80 to eth0.
   2. Assign hostname node02 to slave node with IP address 172.16.4.81.

Note: on node01

uname -n

must return node01.

On node02

uname -n

must return node02.

172.16.4.82 is the virtual IP address that will be used for our Apache webserver (i.e., Apache will listen on that address).
Configuration

1. Download and install the heartbeat package. In our case we are using CentOS so we will install heartbeat with yum:

yum install heartbeat

or download these packages:

heartbeat-2.08
heartbeat-pils-2.08
heartbeat-stonith-2.08

2. Now we have to configure heartbeat on our two node cluster. We will deal with three files. These are:

authkeys
ha.cf
haresources

3. Now moving to our configuration. But there is one more thing to do, that is to copy these files to the /etc/ha.d directory. In our case we copy these files as given below:

cp /usr/share/doc/heartbeat-2.1.2/authkeys /etc/ha.d/
cp /usr/share/doc/heartbeat-2.1.2/ha.cf /etc/ha.d/
cp /usr/share/doc/heartbeat-2.1.2/haresources /etc/ha.d/

4. Now let’s start configuring heartbeat. First we will deal with the authkeys file, we will use authentication method 2 (sha1). For this we will make changes in the authkeys file as below.

vi /etc/ha.d/authkeys

Then add the following lines:

auth 2
2 sha1 test-ha

Change the permission of the authkeys file:

chmod 600 /etc/ha.d/authkeys

5. Moving to our second file (ha.cf) which is the most important. So edit the ha.cf file with vi:

vi /etc/ha.d/ha.cf

Add the following lines in the ha.cf file:

logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
initdead 120
bcast eth0
udpport 694
auto_failback on
node node01
node node02

Note: node01 and node02 is the output generated by

uname -n

6. The final piece of work in our configuration is to edit the haresources file. This file contains the information about resources which we want to highly enable. In our case we want the webserver (httpd) highly available:

vi /etc/ha.d/haresources

Add the following line:

node01 172.16.4.82 httpd

7. Copy the /etc/ha.d/ directory from node01 to node02:

scp -r /etc/ha.d/ root@node02:/etc/

8. As we want httpd highly enabled let’s start configuring httpd:

vi /etc/httpd/conf/httpd.conf

Add this line in httpd.conf:

Listen 172.16.4.82:80

9. Copy the /etc/httpd/conf/httpd.conf file to node02:

scp /etc/httpd/conf/httpd.conf root@node02:/etc/httpd/conf/

10. Create the file index.html on both nodes (node01 & node02):

On node01:

echo “node01 apache test server” > /var/www/html/index.html

On node02:

echo “node02 apache test server” > /var/www/html/index.html

11. Now start heartbeat on the primary node01 and slave node02:

/etc/init.d/heartbeat start

12. Open web-browser and type in the URL:

http://172.16.4.82

It will show node01 apache test server.

13. Now stop the hearbeat daemon on node01:

/etc/init.d/heartbeat stop

In your browser type in the URL http://172.16.4.82 and press enter.

It will show node02 apache test server.

14. We don’t need to create a virtual network interface and assign an IP address (172.16.4.82) to it. Heartbeat will do this for you, and start the service (httpd) itself. So don’t worry about this.

Don’t use the IP addresses 172.16.4.80 and 172.16.4.81 for services. These addresses are used by heartbeat for communication between node01 and node02. When any of them will be used for services/resources, it will disturb hearbeat and will not work. Be carefull!!!

Sun Qube 3 with 400GB Harddrives

Von , Montag, Januar 28, 2008

Problem: Als die Sun Qube entwickelt und gebaut wurden gab es Festplatten bis zu 120GB das Bios wurde daher nicht LBA48 programmiert. Heute bekommt man jedoch kaum noch Festplatten bis 120GB zu kaufen. Um also eine Festplatte groesser 137GB zu verbauen muss man tricksen.

Loesung:

  1. Man baut die Festplatte in den Qube ein und installiert das System auf den ersten 137GB.
  2. Nun die Profiledaten mit Datei-Rechten auf die erste Partition kopieren
  3. Nach diesem Vorgang den Qube ausschalten die Platte kurz ausbauen und an einen neuen PC kurz anstecken.
  4. Den neuen PC mit einer Live Linux CD booten (Ubuntu/Knoppix) und die letzte Partition (/dev/hda6) dir nur bis zum Bereich 137GB geht loeschen mit gparted/fdisk und neu bis 378GB Grenze erstellen.
  5. Nun noch die neue Partition formatieren #mkfs.ext3 /dev/hda6.
  6. Daten der home Partition mit Rechten zurueck kopieren auf die letzte Partition
  7. Nun kann die neue Platte im Qube voll genutzt werden.
  8. Tip ein externes USB Festplattengehaeuse geht auch!

Sun Qube 400GB

Howto setup a 400GBHarddisk into a Sun Qube3 Problem : The Bios of the Qube was made only for disks up to 137GB. But today you don’t get new disks for low money instead cheap 400-500GB disksSolution:

  1. Built in the new drive and setup the Linux of Qube new
  2. shutdown the Qube and remove the drive to a newer PC
  3. connect the drive at the new PC and boot it on a Linux Live CD (Knoppix/Ubuntu)
  4. copy the data of the last partition (home) to the first partition with rights
  5. delete the last partition and rebuild it new from 137GB up to 372GB
  6. format the last partition #mkfs.ext3 /dev/hda6 (home)
  7. move the drive back to the qube and it’s running very well
  8. copy back home data of partition with rights
  9. ready

Howto Replace Cobalt Server HDD Raid after failure

Von , Donnerstag, Januar 17, 2008

Anleitung zum erfolgreichen Tausch einer Festplatte eines Cobalt Raid Servers (Qube ..)

  1. Wenn eine Platte ausgefallen ist das Geraet ausschalten
  2. Geraet vom Netz trennen
  3. Geraet vorsichtig oeffnen Plastikteile!
  4. Wenn Platte 1 ausgefallen ist diese ausbauen
  5. Dann Platte 2 die ok ist an den Hauptanschlusse IDE 1 anschliessen und eine neue an IDE2
  6. Hinweis die neue Platte immer an IDE2 anschliessen und die fehlerfreie an IDE1!! Das Bios sucht auf der ersten Platte nach den Startdateien!! und spiegelt nach IDE2
  7. Geraet zusammenbauen
  8. Geraet an Strom anschliessen + Netzwerk
  9. Geraet starten.
  10. Nach ca 60Minuten via Browser am Geraet anmelden und Raidstatus pruefen.

Tip: Man sollte immer eine neue passende Platte zu Hause haben, diese als zweite Platte kurz einbauen und die Daten spiegeln lassen. So hat man in Fall des Ausfalls zweier Platten oder Absturz durch Update/Hacking eine Saubere Platte zum schnellen wiederherstellen an IDE1. (oder monatlich Platte 2 austauschen)


How to change a crashed harddrive on a cobalt server with raid 1

  1. if drive 1 crashed power down and remove it
  2. be careful remove cables and open box careful
  3. take the good drive 2 and move it to slot 1
  4. take always the new/clean disk to slot 2 cause at boot the bios look at disk 1 for startup files
  5. plug all cables on the server close it and boot the engine
  6. after 60minutes login with browser as admin and check raid status

Info: If possible buy a additonal drive and change ever month the second disk then you will have always a quick boot and rebuild drive if you put it at ide1 with a new disk at ide2

Restore Cobalt Server with Setup CD

Von , Mittwoch, Januar 16, 2008

Zum Wiederherstellen (Factory Restore ) eines abgestuerzten Cobalt Servers benoetigt man:

  1. Restore CD bei ftp://ftp.cobalt.sun.com/pub/iso/EOL/
  2. Achtung die EOL Versionen sind die aktuelleren Cds (2004)
  3. Nullmodem-Serial Kabel um die Fehlermeldungen auf einen PC zu sehen
  4. gute fehlerfreie Netzwerkkabel
  5. ZweitPC mit 3com Netzwerkkarte und CDROM zum Lauf der CD
  6. Netzwerk Switch
  7. viel Zeit ….(bis 2 Stunden)

Reihenfolge beachten!

  1. zuerst die CD downloaden und auf CD brennen
  2. diese CD in den ZweitPC stecken
  3. Lan-Kabel ZweitPC zu Switch und von Switch zum Qube stecken
  4. ZweitPC auf CD starten, Lizenz mit Y(Z) bestätigen und hochfahren lassen
  5. Nun auf dem Qube die Select Taste recht oben gedrueckt halten und einschalten
  6. Im angezeigten Menü Boot=Net waehlen und Enter (rechts unten)
  7. Qube sollte nun die CD auf dem ZweitPC finden und daruf hochfahren.
  8. Nach dem Auto-Format,Auto-Partitionieren und Setup sollte der Qube rebooten
  9. Achtung!! Das Bootmenue steht nach einem Setup auf NET-Boot! hier muss man den Qube wieder mit gedruecktem Select starten und auf Boot-Disk stellen!!!
  10. Sonst erscheint Fehler “Kernel Panic” danach nochmals starten auf Menu-DISK!!
  11. Nach dem erfolgreichen Zweitreboot sucht der Qube die Updates/Pakete auf dem ZweitPC um diese zu finden und nachzuladen.
  12. Nach erfolgreichen langen Updaten steht im Display ausschalten.

fertig…


How to make a factory restore on qube cobalt servers (same for all pc’s)

  1. Download the CD image from ftp://ftp.cobalt.sun.com/pub/iso/EOL/ and burn it to CD
  2. Take the latest EOL version!!
  3. Save the CD in good place they will be not available after 2008
  4. Plugin LAN cable form qube to switch and from switch to second PC (Laptop)
  5. insert CD into Laptop start the Laptop on the CD to share data to qube
  6. press at qube “select” button and hold it at boottime
  7. on menu select “net-boot”
  8. the qube now will find and mount the shared cd on laptop
  9. after auto-format and setup the qube make an auto-reboot
  10. NOW you must press again at startup “select” to change to “boot-disk”
  11. after this the qube will search on the setup-cd on laptop for updates and make a cleanup of setup
  12. if this is made the qube powerdown and tells to shutdown
  13. ready…

more later try to setup debian on qube…

Linux Small Business Server

Von , Montag, Dezember 10, 2007

Das neue Linux fuer den Backoffice Bereich:

  1. FTP-Server
  2. Mailserver unbegrenzete Nutzerzahl
  3. Webmailzugriff
  4. Mysql+PHP5
  5. Webserver
  6. Virtuall Domains
  7. DNS-Server
  8. DHCP Server
  9. Samba-Windows Server
  10. Router
  11. Firewall
  12. extreme Sicherheitstools
  13. Systemueberwachung weltweiter Zugriff
  14. Serververwaltung weltweiter Zugriff
  15. Apple Talk
  16. DomainController
  17. Autoupdate
  18. Raid-System
  19. Dual-Verbund Netzwerkkartennutzung
  20. kostenlose Update
  21. kostenlose Erweiterungen/Module der Software
  22. Keine Lizenzkosten pro Arbeitsplatz

Linux Small Business Server Linux Small Business Server


Webcam Bad Hersfeld