SEO Tips - SEO Blog - Internet Marketing - Search Engine Optimization

» Linux and Unix

  • Linux Tips and Tricks
    By on January 8th, 2009 | 1 Comment1 Comment Comments
    Linux Tips and Tricks
    Tips Speeding up your hard drive (#1) Get faster file transfer by using 32-bit transfers on your hard drive Just add the line: hdparm -c3 /dev/hdX to a bootup script. If you use SuSE or other distros based on SYS V, /sbin/init.d/boot.local should work for you. This enables 32-bit transfer on your hard drive. On some systems it can improve transfer performance by 75%. To test your performance gain, type: hdparm -t -T /dev/hdX Protecting yourself from being a spam base(#2) Sendmail allows for someone to telnet to port 25 and do an expn (expand) to see what users and aliases are on your machine. ...
  • Setup Ubuntu VPS as a VNC
    By on January 8th, 2009 | 6 Comments6 Comments Comments
    Setup Ubuntu VPS as a VNC
    In order to run your VPS as an VNC you need to have the desktop version of Ubuntu, the server version, which you probably running, is missing some required features.If your server installed ubuntu ,you could skip this step.On your server run the following command to install the desktop version:Quote:sudo apt-get install ubuntu-desktopWhile you are waiting for this to install, download the latest version of tightVNC. ( don’t worry it’s free ) After the desktop installing is complete you want to make sure GNOME is installed and configured:Quote:sudo apt-get instal...
  • Watch outputs as they change
    By on December 19th, 2008 | No Comments Comments
    Watch outputs as they change
    This is another trick that might seem trivial to the gurus out there, but is something I discovered recently. Use the command watch to regularly update and refresh the output of some command. If you want to see the running output then watch is the program for you. Using it is simple, by default it updates the output once every two seconds. So $watch your-command will update the output of your-command every two seconds. To make it refresh more frequently, try $watch -n1 your-command and to make it highlight differences as and when they occur, try the -d option. As an example, the command ...
  • Ubuntu – OEM Mode
    By on December 19th, 2008 | 2 Comments2 Comments Comments
    Ubuntu – OEM Mode
    An OEM (Original Equipment Manufacturer) installation mode is now available for Ubuntu. This will help OEMs (like, say, hp, dell, or even your local computer store) to pre-install Ubuntu on a computer and sell it to you. Once you buy the computer, the first time you power up, you will be asked to set your time zone, create a new user and basically customize the computer for your use. With the OEM installation mode, it is hoped that more and more vendors will pre-install Ubuntu on the computers they sell. As with everything else Ubuntu, the oem installation is free, and one can use a re...
  • Tuning the Filesystem Check at Bootup
    By on December 19th, 2008 | No Comments Comments
    Tuning the Filesystem Check at Bootup
    Ubuntu forces drives to be checked once for every 30 times the filesystem is mounted. This means that on an average, once every 30 times you bootup your computer, the filesystem integrity is checked. This is very reasonable for a desktop, which is seldom rebooted. However, for a laptop, this means pain, since you may be planning on making a presentation, and Ubuntu may start a filesystem check just when you hook up your laptop to the projector and bootup! Today we will see how to disable (or force) the checking temporarily, and also how to adjust the period and frequency of the check. ...
  • Enabling cupsys Web Admin Interface
    By on December 19th, 2008 | 1 Comment1 Comment Comments
    Enabling cupsys Web Admin Interface
    If you are trying to get your printing system going, and search for tips and docs on the web, you will find most of the documentation referring to http://localhost:631 as your cupsys administration interface. However, on Ubuntu, this browser-based administrative interface for cupsys is disabled by default. Heres how to enable it: Select System->Administration->Users and Groups from the main menu on your desktop. Select Show all users and/or Show all groups. Add the user cupsys to the group shadow in the groups tab. Restart cupsys by issuing the command: $sudo /etc/init.d/cupsys re...
  • WMA to OGG file conversion
    By on December 19th, 2008 | 1 Comment1 Comment Comments
    WMA to OGG file conversion
    Karl Hegbloom was kind enough to post to the ubuntu-users mailing list wanting to share his script to convert .wma files to .ogg files. The conversions needs the mplayer and the oggenc packages to be installed on your system. The script is pasted below: #!/bin/sh # Convert a .wma to an .ogg using mplayer and oggenc. # # Public Domain set -e IN=$1 shift if [ -z "${IN}" ]; then IN=- WAV=audio.wav else WAV=$(basename ${IN} .wma).wav fi mplayer -vc dummy -vo null -ao pcm:waveheader:file=${WAV} ${IN} FILEDAT=$(file ${WAV}) BITS=$(echo ${FILEDAT} | sed -e s/.*(8|16|32) bit.*/1/) if echo ${FILEDA...
  • Virtual Users And Domains With Postfix, Courier, MySQ...
    By on December 19th, 2008 | 4 Comments4 Comments Comments
    Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail
    This document describes how to install a mail server based on Postfix that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I’ll also demonstrate the installation and configuration of Courier (Courier-POP3, Courier-IMAP), so that Courier can authenticate against the same MySQL database Postfix uses. The resulting Postfix server is capable of SMTP-AUTH and TLS and quota (quota is not built into Postfix by default, I’ll show how to patch your Postfix appropriately). Passwords are stored in encrypted form in the database (most documents...
  • Setting Up ProFTPd and TLS On Ubuntu 8.10
    By on December 19th, 2008 | No Comments Comments
    Setting Up ProFTPd and TLS On Ubuntu 8.10
    FTP is a very insecure protocol because all passwords and all data are transferred in clear text. By using TLS, the whole communication can be encrypted, thus making FTP much more secure. This article explains how to set up ProFTPd with TLS on an Ubuntu 8.10 server. I do not issue any guarantee that this will work for you! 1 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate. Because we must run all the steps from this tutorial with root privileges, we...
  • Running Windows Programs On Ubuntu 8.10 With CrossOve...
    By on December 19th, 2008 | No Comments Comments
    Running Windows Programs On Ubuntu 8.10 With CrossOver Linux Pro 7.1.0
    This guide shows how you can use CrossOver Linux Pro 7.1.0 to run Windows applications on Ubuntu 8.10. CrossOver is based on Wine. It is not available for free, but maybe you are one of the lucky guys that grabbed a CrossOver copy for free a few days ago; otherwise you can install a 30-day trial version to test it. This document comes without warranty of any kind! I do not issue any guarantee that this will work for you! 1 Installing CrossOver Linux Pro Visit the Codeweavers web site and grab a trial version, or log in to your existing Codeweavers account. There’s a CrossOver Pro ...