Problem: By default the xorg.conf FireGL 128MB radeon driver settings are slow settings Solution: to get a faster behavior do edit /etc/X11/xorg.conf (Update: use Driver “ati” for 3D, use “radeon” for better flashvideos) # sudo nano /etc/X11/xorg.conf and change radeon area to: Section "Device" VendorName "ATI Technologies Inc" BoardName "M10 NT [FireGL Mobility T2]" BusID "PCI:1:0:0" Option "AGPMode" "4" Option "EnablePageFlip" "True" Identifier "ATI FireGL T2" Driver "radeon" VideoRam 131072 Option "UseFBDev" "off" Option "MergedFB" "off" Option "AGPMode" "4" Option "AccelDFS" "on" Option "DynamicClocks" "on" Option "XAANoOffscreenPixmaps" "true" EndSection
Category: Howto
Centos 4.7 4.8 SME Server 7.4 7.5.1 LSI Megaraid ATA PERC 2 Driver (Dell Poweredge 600SC 1600SC)
For install of Centos 4.7 / 4.8 and SME Server 7.4 / 7.5.1 with Kernel 2.6.9-89.0.16.EL Kernel 2.6.9-89.0.16.ELsmp take my compiled Driver here and copy it to /lib/modules/2.6.9-89.0.16.ELsmp/kernel/drivers/scsi/megaraid look for only this modules, remove old or other! megaraid.ko (my compiled driver) megaraid_mm.ko megaraid_sas.ko edit with: #nano /etc/modprobe.conf change first line!!! to: alias scsi_hostadapter megaraid go: cd /boot make: mv initrd-2.6.9-89.0.16.ELsmp.img initrd-2.6.9-89.0.16.ELsmp.img.org run to make new kernel-initrd: mkinitrd initrd-2.6.9-89.0.16.ELsmp.img 2.6.9-89.0.16.ELsmp check for new kernel-initrd: ls [Enter] shows: initrd-2.6.9-89.0.16.ELsmp.img ..ok try to reboot.. Attention! After every signal-event post-upgrade/yum update check modprobe.conf for first line!!! is set to “megaraid” Enjoy your old PERC […]
Fast Debian Server as Live Ram Disk System
http://wiki.debian.org/LiveCD – to run a debian Server inside RAM you have to download debian live cd – to change keyboard layout from default US set bootoption at kernel bootkbd=es for example for spain or “de” for german – to change the user name set [CODE]username=user[/CODE] at bootoption – to fix the servername set [CODE]hostname=debian[/CODE] – you can also recreate the disk or put it on usbstick to get a RAMDisk Server – or try to remaster a debian live disk see info at knoppix pages – you can run a webserver with complete readonly mode!
Change System Crypt Password Debian Ubuntu LVM Full Encrypted System
Solution: The new NEW Password must be set before you delete the old! – open Console! – Login as root! with #sudo -s – enter #cryptsetup -y luksAddKey /AddKey /dev/sdaX – System prompt for old Password, enter it now! – then enter new password min 8 Characters – System should show “Command Successful” – if not search error!!!! – now delete old Password! 8 different Words can be saved! cause 8 Memory Sockets available by cryptsetup – enter to delete #cryptsetup luksDelKey /dev/sdaX 0 – 0 = First-Memory Socket !! – enter new set Password to open Socket-Database – System […]
Light Fast Login Manager XDM with Wallpaper
Problem: If you install XDM as light Login Manager, cause XDM offers not reboot/shutdown without Logon Access, XDM is very grey. Solution: – create JPG with your Display-Size (1024×768) – save it at /usr/share/X11/image.jpg – edit #sudo nano /etc/X11/xdm/xsetup – add line: xsetbg -onroot -fullscreen /usr/share/X11/image.jpg – install #sudo apt-get install xloadimage ..enjoy xdm..
Debian Ubuntu Update Script with Switch OFF after update
Problem: I f you work on you PC daily Patches must be checked and installed. At Debian / Ubuntu the Gnome-Update-Manager does this. But there is NO Shutdown possible after update. Solution: – create Script #sudo nano /root/upgrade-off.sh add inside: apt-get update //for update Patches Database PC apt-get dist-upgrade -y //install Patches automatic apt-get clean //cleanup PC /sbin/init 0 //shutdown PC automatic or reboot Server = init 6 exit You can now after work set it to crontab or start manual by #sudo sh /root/upgrade-off.sh On Servers name it upgrade-reboot.sh and set root cron to run the job @hourly/@daily
Brother Wireless LAN Printer Setup Linux MFC 7840W Cups
Easy Setup: – go www.brother.com downloads the PPD File for your Printer – go to your DSL Router to view the static IP Address of the Printer – on Debian/Ubuntu without Gnome/KDE install Cups Pakets – open URL at Browser http://localhost:631 as root – add Printer at Management Webinterface – select AppSocket/HP-Jetdirect Communication – select Socket://IP-Priner:9100 – add to Webinterface the PPD File (Settings File = Driver at Windows) – print Test Page enjoy.. with Gnome/KDE like same steps at the Printer-Admin Tool at the System-Settings take always >>AppSocket/HP-Jetdirect<<
SME Server usefull Backup Tips Custom Templates Customizing SME
On SME Server: Data Path which are saved by Console Backup – save all Custom-Scripts which you run with Cron or Root at Location /root – save all modified Custom Templates at /etc/e-smith/templates-custom – all ibays – all /home – if you not know how to make /etc/e-smith/templates-custom files copy the standard templates from /etc/e-smith/templates to /etc/e-smith/templates-custom and modify them there don’t forget to run after customize: #signal-event post-upgrade and #signal-event reboot
SME Server USB Disk Stick mount Problem at SME Server Backup Console
Problem: On SME Server the HAL Daemon often not recognize a USB Stick or Disk which you can use for “Console” Backup Program. Solution: – Create a Script with #nano /root/backup.sh – insert: service haldaemon restart service messagebus restart console exit This restart the HAL Environment before Console (SSH-Admin-Tool)is opened. To prevent Users to write on the Shares if you run the Backup you can add: service haldaemon restart service messagebus restart service smb stop console service smb start exit This will stop Samba-Windows Shares! and prevent File-Access-Lockwaits!
Easy Low Cost ISP Setup Debian Server
If you want to host your own old PC as Server for your friends websites, you can easy set up a ISP (Internet Service Provider) Server with Debian Linux. Advantage: – Debian Linux is available 32bit and 64bit – easy update – easy backup and restore All you need: – old PC – Debian CD – Internet Connection – DYNDNS Domain or own Domainname – Webmin, Usermin and Virtualmin GPL Software see www.webmin.com for free – Webmailer with Office see groupoffice.org for free Setup: – Start PC from CD – make a small Setup – set root password!! non sudo […]
Simple Protect WordPress Blog Server against Hacking
Simple Protect WordPress and own Apache2 Webserver go into WordPress Installation Folder edit wp-config.php and add line [CODE]define(‘FORCE_SSL_ADMIN’, true);[/CODE] save and close if you control your own Server and DSL Router disable Port 443 Access from Internet now http://mydomain.com/wp-admin is not reachable from Internet login to WordPress-Blog as Admin create new Adminuseer Named “mynewadmin” and relogin as mynewadmin delete default admin account, first set him to reader then delete the admin account if you use phpmyadmin on debian go to apache2 folder /etc/ and change alias from “alias phpmyadmin” to alias “safe123admin”,restart apache2, now phpmyadmin as http://mydomain.com/safe123admin/ Use only Plugins […]
List and Remove of installed Packages at Centos or Redhat or Fedora Linux or SME Server
To list packages enter as admin: #rpm -qa to print it into a Textfile do: #rpm -qa > mypakets.txt now you can remove uneeded packages: #yum remove packagename-2.6.8
SME Server config by console
SME Server is controlled by a extra Runlevel 7 of Linux (Default Linux has 6 runlevel). Solution: SME Server set the Runlevel 7 control with some database files located at /home/e-smith/db to set your configuration you have to login with ssh (Putty) as root/admin and enter: #db configgroupname command dbfilename setting status for example: #db configuration show cpuspeed SME Server answere to you: cpuspeed=service status=disabled to change the service to enabled enter: #db configuration setprop cpuspeed status enabled thats all… db commands are: db configuration show /to show config of Runlevel 7 db accounts show /to show user+system accounts db […]
Xsession: warning XRDB command not found: X resources not merged
System: Debian Lenny Error: Xsession: warning XRDB command not found: X resources not merged XDM Login Manager grey logo (Black/White not colored) Solution: Install Package “xbase-clients” #sudo aptitude install xbase-clients and restart XServer..
Ubuntu 10.04 disable purple Boot Splash Lucid Lynx (usplash = plymouth) TTY0
Problem: If you install Ubuntu Lucid Lynx 10.04 or upgrade some Videocards shows the Bootsplash (now called plymouth”) not clear or a black Bootscreen. The terrible Bootsplash is default installed and can’t easy removed cause deep deps of some pakets (mountall) don’t allow to purge. Solution: – edit with #sudo nano /etc/default/grub – change line “splash” to “nomodeset noplymouth” – save and close nano – run #sudo update-grub ..reboot and enjoy default VGA Console.. Server PCs: don’t need Splash, with the Ubuntu-Server CD you can install without Plymouth!! then you only have to make a minimal setup, then change kernel […]
Speed up Ubuntu Disable Window Animation Black Frames
Today i setup the Ubuntu on a AMD64 PC cause i want to see the news that are arrived. I always wait some month after the OS release appears!! The new 9.10 Ubuntu should always be installed with new clean install, cause there are too many changes behind the desktop! It seems like a big change from XP to Windows 7! To speed up the Desktop, i use a 7600GT Card, i disable all Gimmicks at System-Settings->Window-Appearances and enable Support for handicapted users (first box) and relogin!! to get changes. now to get more speed i run as user #gconf-editor […]