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 […]
Thinkpad R50p ATI xserver hanging freeze sometimes Debian Lenny
Hardware: R50p with ATI Graphic 128MB 01:00.0 VGA compatible controller: ATI Technologies Inc M10 NT [FireGL Mobility T2] (rev 80) System: Debian Lenny 5.0 Driver: fglrx Solution: – install cpufrequtils #sudo apt-get install cpufrequtils – edit #nano /etc/initrd/cpufrequtils – change line “ondemand” to “performance” – check System #dmesg – System show “unstable clocksource” last line – edit #sudo nano /etc/boot/menu.lst – add to Kernelparametes line /vmlinuz-2.6.26-2-686 root=/dev/hda3 ro quiet vga=normal clocksource=acpi_pm ..reboot This will run System on max. Speedstep and Videos does’nt hang X-Server. Should help on other Thinkpads to with ATI Chip’s
Change Default Browser on Debian Ubuntu Linux to Opera
run as root/sudo: #update-alternatives –config x-www-browser System shows: Auswahl Alternative ———————————————– 1 /usr/bin/iceweasel *+ 2 /usr/bin/opera Enter: 2 relogin into X-Server/Desktop and Opera is default!
Upgrade to Ubuntu 10.04 Lucid Lynx
It’s always the same problem with upgrade, cause deep changes it is recommend to make a clean fresh setup of your PC with Ubuntu Lucid Lynx. Steps: – backup Home files to a USB Disk / Stick without hidden folders!! – format PC with Ubuntu Install Disk and make a fresh setup (Professionals take alternate disk!!) – at Laptops with encrypted Disk make /var at same partition as root (/)!! – change wanted settings like wireless/lan/speech – update Ubuntu with Update-Manager!!!! and reboot!!! – copy back Home Files to /home without Setting files and old cache(.*-Files) – now test your […]
Ubuntu 10.04 Lucid Lynx Kiosk Mode
If you run your PC as Family PC for Kids or Public PC you have to make some changes: Step: – Setup Ubuntu 10.04 with alternate Disk! – select XDM as Login Manager by default!! – go /etc/init folder as root – edit control-alt-delete.conf and disable reboot without login – go /etc/acpi make chmod 000 on powerbtn.sh hibernation.sh lidbtn.sh to prevent unwanted shutdown – make #sudo aptitude remove gnome-power-manager to prevent unwanted standby by all users – test forced shutdowns pressing all buttons at menu – optional add autologin at login manger for a user without “sudo” rights – optional […]
USB external Harddisk hangs PC (1TB Western Digital Drive WDBAAU0010HBK )
Environment: Western Digital WDBAAU0010HBK at Linux-PC, if the User use a Linux PC the external Drive is spin / powered down after some time, cause the Case of WDBAAU0010HBK is made to save energy. Bugfix: Send the drive back to reseller! an order Fujitsu Storagebird 1TB – good big Pluggers (USB A+B , no bad Micro-USB-Pluggers) – silent – fast – cool – no energy saving mode
Ubuntu 10.04 Lucid Lynx AMD64 Nvidia 195 Current freeze hang randomly
System: AMD Phenom X4 Geforce 7900 GTS or 8400GS Lucid Lynx AMD64 Problem: The current driver fails on some Systems with default kernel 2.6.32 Solution: – go http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/ – download kernel images for your System and headers into a folder named kernel – go into folder kernel with #cd kernel – install pakets with #sudo dpkg -i *.deb – reboot – if Xserver fails select “start Xserver with low resolution” – go Systemsettings/Hardware Drivers – select Nvidia-Current install again – reboot and test the System Background: ACPI was renewed inside the kernel, cause at startup kernel echos “ACPI: resource piix4_smbus […]
Ubuntu 10.04 Lucid Lynx Videocall VoIP Webcam Chat
For using Video Chat over different continents you need under Ubuntu 10.04 following steps: – buy a older used good Webcam Logitech Fusion (UVC-Driver-Webcam) – go to Skype Homepage install Skype Beta for 8.10 (working on 10.04 too) – plugin Webcam – install skype-deb paket #sudo apt-get install skype-ubuntu-intrepid_2.1.0.81-1_i386.deb – login to skype if you have a account, if not register at skype for free ..have fun..out of the box Webcam Chat works out of the box! (This was a big problem of older ubuntu/debian versions, cause i can’t phone to other countries) ..now Windows is replaced for ever..
Ubuntu 10.04 Lucid Lynx disable hide REBOOT SHUTDOWN STANDBY SUSPEND GNOME SYSTEM MENU SECURE KIOSK MODE
Problem: If you install ubuntu 10.04 Desktop by default every user can shutdown,reboot,hibernate or standby a PC If you want to disable this make: – install gdm2conf from the ppa channel to customize hide System Menu at Login GDM2 Manager – create custom Gnome System Menu Policy against User shutdown,reboot,hibernate or standby. Steps: create new policy file: #sudo touch /etc/polkit-1/localauthority/50-local.d/custom-menu.pkla edit new policy: #nano nano /etc/polkit-1/localauthority/50-local.d/custom-menu.pkla insert into: [Disable suspend] Identity=unix-user:* Action=org.freedesktop.devicekit.power.suspend ResultActive=no ResultAny=no [Disable hibernate] Identity=unix-user:* Action=org.freedesktop.devicekit.power.hibernate ResultActive=no ResultAny=no [Disable shutdown] Identity=unix-user:* Action=org.freedesktop.consolekit.system.stop ResultActive=no ResultAny=no [Disable reboot] Identity=unix-user:* Action=org.freedesktop.consolekit.system.restart ResultActive=no ResultAny=no reboot and try! To disable CTRL-ALT-DEL REBOOT edit […]
Ubuntu Lucid Lynx 10.04: Nautilus hangs freeze Desktop at FTP SFTP mount
System: i386 Lucid Lynx default setup Problem: If you try to mount a local ftp share Nautilus stops working by loading files of a folder like 100 Images Solution: Remove Samba-Common and Nautilus-share with #sudo aptitude remove nautilus-share samba-commone –purge try now ftp mount..this bug is reported and unsolved