tonywhitmore.co.uk  

      blog : gallery : wiki : articles : projects : shell scripts : wallpaper : cv : links :
 Project Homepage

Linux_logo

Preparation

  1. Download the Linux_logo source code from www.deater.net/weave/vmwprod/linux_logo.
    • Visit www.deater.net/weave/vmwprod/linux_logo and click on the "Download:" link.
    • Click on the link for the source code of the latest version of Linux_logo. You will need the source code in .tar.gz format.
      • At the time of writing the latest version of Linux_logo was version 4.05, so the file downloaded was linux_logo-4.05.tar.gz.
    • You will be asked to where you wish to save the file. Chose a safe place and make a note of it.
    • The download is about 81kb and will only take a few seconds over a modem, and a lot less over a broadband connection.
    • If you are using a download accelerator program, it will save the file to your default download directory.
  2. Download the Gettext source code from www.gnu.org/directory/gettext.html.
    • Visit www.gnu.org/directory/gettext.html and click on the "Source tarball" link.
    • Click on the link for the source code of the latest version of Gettext. You will need the source code in .tar.gz format.
      • At the time of writing the latest version of Gettext was version 0.11.5, so the file downloaded was gettext-0.11.5.tar.gz.
    • You will be asked to where you wish to save the file. Chose a safe place and make a note of it.
    • The download is about 3.5Mb and will take about half an over a modem, but a lot less over a broadband connection.
    • If you are using a download accelerator program, it will save the file to your default download directory.
  3. Download the Linux_logo compatible Core Linux Logo from here.
    • You will be asked to where you wish to save the file. Chose a safe place and make a note of it.
    • The download is about 2kb and will only take a second or two over a modem, and a lot less over a broadband connection.
    • If you are using a download accelerator program, it will save the file to your default download directory.
  4. Burn the files linux_logo-4.05.tar.gz, gettext-0.11.5.tar.gz and core.logo to a CD. This page assumes that the subdirectory /apps is used for the files. The CD-ROM can be a multi-session disk.
    • Use your CD burning software to create an ISO9660 disc image with the files linux_logo-4.05.tar.gz, gettext-0.11.5.tar.gz and core.logo in the /apps directory.
    • Burn the CD and verify the data stored on it.

Back to simple version

Booting

  1. Boot your Core Linux PC.
  2. Login as root. You will need to enter the password at the prompt.
    • Wait for the following text to appear:
      localhost login:
    • Type root and press Enter.
    • The screen will display this message:
      Password:
    • Enter the password for root that you set earlier.
    • You will be shown a prompt that looks like this:
      [~]#

Back to simple version

Extract the source

  1. Place the CD-R in the CD-ROM drive. Mount the CD-ROM drive under /mnt/cdrom.
    • At the prompt enter:
      mount /dev/hdb /mnt/cdrom
    • You will see the following line appear:
      mount: block device /dev/hdb is write-protected, mounting read-only
  2. Change to the /apps directory on the CD-R.
    • At the prompt enter:
      cd /mnt/cdrom/apps
    • The prompt will change to:
      [/mnt/cdrom/apps]#
  3. Copy the files linux_logo-4.05.tar.gz, gettext-0.11.5.tar.gz and core.logo to the directory /usr/src.
    • At the prompt enter:
      cp linux_logo-4.05.tar.gz /usr/src
    • The system will not display a message if everything is OK.
    • At the prompt enter:
      cp gettext-0.11.5.tar.gz /usr/src
    • The system will not display a message if everything is OK.
    • At the prompt enter:
      cp core.logo /usr/src
    • The system will not display a message if everything is OK.
  4. Change to the /usr/src directory and extract the source from the files linux_logo-4.05.tar.gz and gettext-0.11.5.tar.gz.
    • At the prompt enter:
      cd /usr/src
    • The prompt will change to:
      [/usr/src]#
    • At the prompt enter:
      tar -zxvf linux_logo-4.05.tar.gz
    • A long stream of unzipping files and directories should scroll up the screen for a few seconds.
    • At the prompt enter:
      cd /usr/src
    • The prompt will change to:
      [/usr/src]#
    • At the prompt enter:
      tar -zxvf gettext-0.11.5.tar.gz
    • A long stream of unzipping files and directories should scroll up the screen for a few seconds.

Back to simple version

Configure and compile Gettext

  1. Change to the /usr/src/gettext-0.11.5 directory.
    • At the prompt enter:
      cd gettext-0.11.5
    • The prompt will change to:
      [/usr/src/gettext-0.11.5]#
  2. Run the ./configure script.
    • At the prompt enter:
      ./configure
    • A long stream of processes should scroll up the screen for about a minute.
    • The script finishes with the line:
      config.status: creating po/Makefile
  3. Run the make program.
    • At the prompt enter:
      make
    • A long stream of processes should scroll up the screen for about three mintues.
    • The program finishes with the line:
      make[1]: Leaving directory '/usr/src/gettext-0.11.5'
  4. Run the make program with the argument install.
    • At the prompt enter:
      make install
    • A long stream of processes should scroll up the screen for a few seconds.
    • The program finishes with the line:
      make[1]: Leaving directory '/usr/src/gettext-0.11.5'

Back to simple version

Prepare your system

  1. Change to the /usr/src directory.
    • At the prompt enter:
      cd /usr/src
    • The prompt will change to:
      [/usr/src]#
  2. Move the core.logo file to the directory /usr/src/linux_logo-4.05/logos/distributions. If you are using Linux_logo version greater than or equal to 4.06 then the Core Linux logo file is included in the correct place in the tarball.
    • At the prompt enter:
      mv core.logo ./linux_logo-4.05/logos/distributions
    • The system will not display a message if everything is OK.
  3. Add the directory /usr/local/bin to the $PATH enviroment variable.
    • At the prompt enter:
      nano /root/.profile
    • The screen will show the contents of /root/.profile with information about the file at the top and bottom of the screen.
    • Change the first line from:
      export path="/bin:/sbin:/usr/bin:/usr/sbin"
      to
      export path="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
    • Save the file and exit the text editor.
      • Press Ctrl+x on the keyboard.
      • The contents of the white line at the bottom of the screen will change to read:
        Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?
      • Type y.
      • The contents of the white line at the bottom of the screen will change to read:
        File Name to write: /root/.profile
      • Press Enter.
      • You will be returned to the system prompt.
  4. In order to activate the changes to the $PATH enviroment variable, you will have to logout and log back in again.
    • At the system prompt enter:
      logout
    • You will be logged out and returned to the login prompt.
    • Login as root. You will need to enter the password at the prompt.
      • Type root and press Enter.
      • The screen will display this message:
        Password:
      • Enter the password for root that you set earlier.
      • You will be shown a prompt that looks like this:
        [~]#

Back to simple version

Configure and compile Linux_logo

  1. Change to the /usr/src/linux_logo-4.05 directory.
    • At the prompt enter:
      cd /usr/src/linux_logo-4.05
    • The prompt will change to:
      [/usr/src/linux_logo-4.05]#
  2. Edit the logo_config file to read:
    ./logos/distributions/core.logo
    Be sure not to leave a blank line at the end of the file. If you are using Linux_logo version greater than or equal to 4.06 then this bug has been fixed.
    • At the prompt enter:
      nano logo_config
    • The screen will show the contents of logo_config with information about the file at the top and bottom of the screen.
    • Delete the existing lines and add the following text to the file:
      ./logos/distributions/core.logo
    • Save the file and exit the text editor.
      • Press Ctrl+x on the keyboard.
      • The contents of the white line at the bottom of the screen will change to read:
        Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?
      • Type y.
      • The contents of the white line at the bottom of the screen will change to read:
        File Name to write: logo_config
      • Press Enter.
      • You will be returned to the system prompt.
  3. Run the make program.
    • At the prompt enter:
      make
    • A long stream of processes should scroll up the screen for about a mintue.
    • The program finishes with the line:
      make[1]: Leaving directory '/usr/src/linux_logo-4.05/po'
  4. Run the make program with the argument install.
    • At the prompt enter:
      make install
    • A long stream of processes should scroll up the screen for a few seconds.
    • The program finishes with the line:
      make[1]: Leaving directory '/usr/src/linux_logo-4.05/po'

Back to simple version

Initial Testing

  1. Test the linux_logo program using linux_logo -classic.
    • At the prompt enter:
      linux_logo -c
    • An image similar to the following should appear on the screen:
      Colour Core Linux Logon Logo
      The technical details included in the display will differ of your system will differ.
  2. Test the linux_logo program in ASCII mode using linux_logo -a -classic.
    • At the prompt enter:
      linux_logo -a -c
    • An image similar to the following should appear on the screen:
      ASCII Core Linux Logon Logo
      The technical details included in the display will differ on your system.

Back to simple version

Automatic Updating

  1. Append the following line to the /etc/rc.d/rc.mu file:
    /usr/local/bin/linux_logo -c > /etc/issue
    • At the prompt enter:
      nano /etc/rc.d/rc.mu
    • The screen will show the contents of httpd.conf with information about the file at the top and bottom of the screen.
    • Add the following line to the end of the file:
      /usr/local/bin/linux_logo -c > /etc/issue
    • Save the file and exit the text editor.
      • Press Ctrl+x on the keyboard.
      • The contents of the white line at the bottom of the screen will change to read:
        Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?
      • Type y.
      • The contents of the white line at the bottom of the screen will change to read:
        File Name to write: /etc/rc.d/r.mu
      • Press Enter.
      • You will be returned to the system prompt.

Back to simple version

Creative Commons License
The text of this page is licensed under a Creative Commons License.


Valid CSS!     Valid HTML 4.0!     Valid RSS
Original design © For oswd.org by SquireCD