PowerWindows for Linux
As root I mounted /dev/cdrom, and as the "Quick Start" sheet instructed I ran the setup program on the CD (Setup.sh). I was then asked for my initials, my desktop environment (GNOME or KDE) and the install directory. I opted for /opt/appgen rather than the default /usr/appgen. The CD has GNOME and KDE desktop links that point to a Java-based install (gojava), but that install fails on my system (Mandrake 6.0--more on this later).
The install failed upon creating the KDE link:
Setting up KDE ... ln: cannot create symbolic link ´/opt/kde/share/applnk/Applications´ to ´/root/Desktop/PowerWindows.kdelnk´: No such file or directory sh: /opt/kde/bin/kfmclient: No such file or directory Refresh Desktop failed. You can do it manually later. You can remove the cdrom now. /mnt/cdrom/Setup.sh: line 1: 893 Broken pipe dd if=/mnt/cdrom/zAG_INIT 894 Done | sh
I got around this by looking at /root/Desktop/PowerWindows.kdelink and seeing it was just a call to /opt/appgen/autoag:
[root@moe /root]# /opt/appgen/autoag [root@moe /root]# /opt/appgen/java/jre1.3/bin/i386/native_threads/java: error in loading shared libraries: /opt/appgen/java/jre1.3/lib/i386/native_threads/libhpi.so: symbol sem_init, version GLIBC_2.1 not defined in file libpthread.so.0 with link time reference
Hmm--not off to a good start. The README on the CD mentions the installation has been tested on Caldera eDesktop 2.4, Caldera eServer 2.3 and Red Hat 6.2 with the GNOME Desktop, and it should work equally well with other "brands" of Linux. I do have the required glibc v2.1 on my Mandrake system, but it doesn't seem that the included Java Runtime Environment (JRE) wants to work for me.
I did some more looking around and saw the AppGen executable in /opt/appgen/bin, so I modified autoag to call it instead of the Java client:
. /opt/appgen/.profile #appgenjava appgen
This at least got me into the text-based interface (see Figure 1).
Determined to get the GUI working, I decided to try installation on SuSE 7.0. The README warned that the install expects the CD to be mounted in /mnt/cdrom, and since SuSE puts it in /cdrom, I made a symlink:
cd /mnt/cdrom ln -s /cdrom cdrom
As root running X, I mounted the CD and clicked on the setup program. This time the GUI install worked (see Figure 2). I again chose /opt/appgen and proceeded with the install. When the install was finished, an AppGen icon was placed on the desktop, and I was informed the application was ready to run. I shut down X as root, then ran X as user "stew", and PowerWindows showed up as an application on my KDE menus (see Figure 3).
The GUI has a modern feel to it. It allows you to open separate windows for the various applications, so you can look at a financial at the same time you are reviewing a BOM, for instance. This has been an issue at times with our text-based system at work, as it requires opening another xterm and session, consuming another license for the software which may block another user from accessing the system. One minor annoyance: if you resize the window, the child windows that may open within it do not track with the parent window, and you may find you have information outside of scrollable reach. Your best bet is probably to leave the windows at their default size. I was running a 1024 x 768 desktop on SuSE, and there was not enough room to have two windows fully visible at one time, although they could be quickly accessed with Alt-Tab. It should be noted that within each application window you also have the ability to open multiple child windows. In addition to the application window, they are displayed on a bottom taskbar, as in Win9X (see Figure 4). If you try to exit the application without closing the child windows, you are warned that you must close them prior to exiting. Responsiveness of the GUI is a little slow on a P166 machine with 80MB RAM running X and KDE. The README recommends 128MB of RAM. I also found performance to be less than optimal displaying the GUI client on another machine running X from a Telnet session on the host machine. Perhaps that will improve as the Linux GUI matures.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- Paranoid Penguin - Building a Secure Squid Web Proxy, Part IV
- SUSE LLC's SUSE Manager
- Google's SwiftShader Released
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Managing Linux Using Puppet
- My +1 Sword of Productivity
- Non-Linux FOSS: Caffeine!
- SuperTuxKart 0.9.2 Released
- Parsing an RSS News Feed with a Bash Script
- Rogue Wave Software's Zend Server
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide