Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts

Wednesday, September 15, 2010

The New Debian Server

In our conference call on August 19th Brendan gave me some pointers about the installation that I would be doing of the Debian 'Lenny' Linux software onto the new server. He said it would be fairly straight forward...and parts of it were and other parts of it weren't.

Before I left on vacation I configured the server with a static IP, a single partition, and no printers or email--just the base system. I needed only the first DVD of the 5-DVD set that is the full 'Lenny' package. This was luckily a "bootable" DVD since there was absolutely nothing installed on our new Dell server up to this point. Once the Debian software screen came up I clicked on "Installation" and the procedure was pretty automatic, a standard "installation" routine...answering the questions, selecting options, and entering the requested information. It is a good idea to have this information handy prior to the installation:
  • the IP that is to be used,
  • the name of the domain,
  • a username/password for an alternate login to the default "ROOT" login.
The first "glitch" in the installation was when I received an error message that there were "missing non-free firmware files". I Googled this message and discovered that this version of Debian no longer delivers all the network card drivers bundled into it. I then Googled the file name I needed--bnx2-09-4.0.5.fw--and found a site that offered it "free" and downloaded it to my thumb drive. This allowed me to complete the installation by selecting "load file from external device", which is an option that obviously needed to be included in the installation since it no longer provides everything to do a successful build.

The second "glitch" I came across was after the installation completed successfully when the default monitor resolutions was too high for the desktop display. After the system would load, the monitor would go blank and the message "Can't display in this video mode" would appear. I had to connect the server to our portable projector to see the GUI desktop. After a little research I found that I could break out of the GUI desktop by pressing ALT-CTRL-F1. This started a new shell in the command screen with the command prompt. I reset the display to VT100 terminal emulator and I could see everything on my monitor once again.

Also, I had problems seeing the new server on the network and seeing the rest of the network from the new server. I wasn't able to successfully PING another IP or to PING the IP of this server from my other servers. I discovered that the network cable had been put into the secondary NIC port rather than the primary port. Once I switched the cable to the other port then everything connected and PING-ed and worked very well.

When I returned from vacation I needed to finish my part of the installation and to do that I needed to be at the command prompt to perform the last set of tasks. The first two tasks: "apt-get update" and "apt-get upgrade" instruct the server to access a "mirror" of the software on the Internet and to pull down the latest update and upgrade of the loaded components. The final task was to load "openssh" which would allow BWS to make a secure remote connection to our server. After a little experimenting to discover the exact name of the application I needed, I ran "apt-get install openssh-server" and the software installed successfully.

I installed PuTTY on my Windows workstation so that I also could connect "remotely" to the new server to test it. It is free software, available on the Internet, very easy to install and fairly easy to use. It opens a terminal emulation box very similar to a Windows command box, which is almost the same as being on the server itself.

On September 7 I sent Brendan (ByWater Solutions) the login information for our network and he was able to access our Host server (where the Symphony software resides) and to PING the Debian server. With the installation completed and "openssh" installed he is also able to connect to the Debian server remotely.

So....our server is up and running and ready for ByWater Solutions to log into to complete the configuration of Debian and the installation of Koha.

Cathi

Friday, August 13, 2010

Moving Ahead

We were pleased that our new Koha project was passed by the City Council. This gave us the funds needed for a new server, the consultant's maintenance charge, and training on the new system.

Once July came we were all ready to start... we had the funds, the energy, and enthusiasm. We had discussed the needed server requirements with ByWater Solutions and then we asked our City IT staff to purchase one for us.

The requirements were:
  • A Linux server: Debian is what most people use.
  • Apache
  • MySQL
  • Perl
  • Root on the server
  • A reasonable level of comfort with the command line
  • Database administration skills


This photo shows all five of our servers. Our new server is the third black box on the left on the lowest shelf. Cathi's workstation is on the other side of the room.


We received our new server this week from Dell. This included:
  • PowerEdge T310 Chassis w/ up to 4 Hot-Plug Hard Drives & LCD Diagnostics
  • 4GB Memory (2x2GB) 1333MHz Dual Ranked RDIMM, Memory for 1CPU Platform
  • X3470 Xeon Processor, 2.93 GHz8M Cache, Turbo,HT PowerEdge T310
  • HD Multi-Select
  • No Operating System
  • On-Board Dual Gigabit Network Adapter
  • iDRAC6 Enterprise
  • 16X DVD-ROM, SATA, Internal
  • 146 GB 15K RPM Serial-Attach SCSI 3Gbps 3.5 Hotplug Hard Drive
  • RAID 5 - Add-in PERC6i/H700 , 3-4 Hot Plug Hard Drives
  • Power Supply- Redundant, 400W

Of course, various cables, monitor, and keyboard were included. Now we need the software. We will be working with ByWater Solutions staff on this.

Jackie