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
Month: September 2010
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 […]
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!
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 […]
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..
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
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<<
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
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!
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 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 […]
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