A bug with vm-install and raw images?

I think I have found a bug in openSUSE 12.3. I have been running raw disk that I create with SUSE Studio with no issues, but in 12.3 I keep getting no boot sector found.

Create a app in SUSE Studio, make your disk “USB stick / hard disk image”, once it download it.

To reproduce the error do the following steps.

1) Start “vm-install”

2) Click “I have a disk or disk image with an installed operating system

3) Select  the version of operating system

4) Next under summary click on “Disks” –> “Harddisk”  –> “Browsers” –> then “Open”  –> “OK”  –> “Apply”

5) Press “OK” on the Summary window to start the virt.

The following error message comes up,  ”Error — A valid boot sector was not found. The installation may failed”

=====================================================

Now, to see if it was raw image I download I use the following command

qem-kvm -name myvirt -m 1024 myvirt.raw

Guest what the virt started.

=====================================================

I create a dump machine then replace the drive with the one I download it and it worked.

I will keep play with vm-install not sure why it doing this.

 

Doomsday Engine on openSUSE

So a couple of weeks ago, I took my son to a vintage computer show. It was very cool to see all the computers that I grew up with; Vic20, Atari130XE, Apple 2E, and much much more.

As we were going thru the exbition, we came up to a table were a guy had four 486 PC running. We Stop to take look. I was thinking at first these computer were out of place, but it then I notice they were all playing Doom. When I asked the guy, he told me that he was running DOS 6.1 on them with token card and running IPX. He wanted them to be as much of the time period has he could.

We sat down and started to explain to my son what a LAN Party was, how people would bring over there computer, hook them up to play games. I played about three  games and got up so other kids could sit down and play. Plus, I forgot how sick I got from playing DOOM, something about the pixels block.

On the way home, my son asked about DOOM, if I had a copy and could it play it.

I have a copy of Ultimate DOOM 95, which is for Windows 95. But Under wine it doesn’t play. I get a window about the size of stamp that is black in white.  I remember about Doomsday Engine.

Installing and setting up Doomsday on openSUSE 12.3

So first thing to to add the repository: openSUSE BuildService — Games

repro

Now Search and install.

search

Once it is install, you need to load the wads. Unlike the Windows and Mac version, the openSUSE version looks for the was the following place

/usr/share/doomsday

There under the directory you will will the following directories

jdoom #This were Doom,Doom2 and any other doom related wad will go
jdoom #This is where Doom64 goes.
jherectic #This where the Heretic wads goes.
jhexen #This is where the Hexen Wads goes.

You will need to use sudo to move the wads into to those directories.

Once wads are place into the correct directory. To start doomsday seem at any console type

# doomsday

Well the window come up, you will see the main menu.

doomsday

To start a game type

load

If there is an “!” in front of the game, means that doomsday didn’t find the wad for that game.

doom

Doomsday Engine gives new life to old games. The 3D rendering make it fun to play these classic again.

I

How to use yast to install a rpm.

Everyone who has used rpm,  know the following command

rpm -ivh package.rpm

This is good until you hit dependencies hell…

The best way to install rpm on openSUSE is to use YaST.

YaST ( Yet another Setup Tool) helps find dependencies and install them.  Try the following with Google Earth. Download the Google Earth. Then run the following the following command.

yast -i google-earth-stable_current_i386.rpm

YaST will check the rpm for dependencies. Once it finds what is needed, it will show the dependencies needed to be install along with the rpm.

All that is need to be done is to press “Accept”, Then “OK” install the rpm and it dependencies.

 

Once YaST is done, it will show an “Installation Summary”, just press “Finish”.  The safe and simple way to install an rpm.

 

Now the rpm is installed and working without any issues.

–Pup

My Ultimate Desktop Script

In the years that I have used openSUSE and Linux in general, I have loved reading  people’s  Perfect Desktop. I been taking clips from site for all over the net.

So with the release of openSUSE 12.3. I am release my alpha script for the “Ultimate Desktop” set up. So going forward all I need to do download the latest version and then run this script.

I created this so that it helps set up software and make set up your desktop fast so that you can use it and have fun.

The first part is from openSUSE Community… it adds two repos, and add basic stuff to play back media files.

I then break out the script into the following

  • Music/MP3 Players
  • Media Players
  • Binary Codes (  From the MPlayer website)
  • VLC
  • Microsoft Fonts
  • Additional Software
    • Pinta, Gimp, Thunderbird, marble, flash-plugin, filezilla, pidgin,gwibber
    • gnucash, banshee, k3b, audacity, dvdrip, mjpegtools, lame, dkms, eclipse,  java, transmission, azureus, and more
  • Winff
  • Kompozer
  • Wine and Playonlinux
  • Nightingale ( Great player like iTunes)

I will add Google Earth and Adobe reader later.

Here the first script. Again USE AT YOUR OWN RISK!!! If you see anything I can improve on, please  send me an email….

Subject:   Ultimate openSUSE Desktop

terrorpup at opensuse.org

====================Start Script==================================

#!/bin/bash
# This is a way to help set up a great desktop
# this is alpha. Use at your own risk!!!!
# .001

BASEARCH=$(uname -i)

echo “Terror PUP’s Ultimate openSUSE Setup”

echo “Repo to make sure you have the best apps”
zypper addrepo -r http:///suse/12.3/packman.repo
zypper addrepo -r http://www.opensuse-guide.org/repo/12.3/libdvdcss.repo

echo “Install Base Media”

zypper install -y libxine2-codecs k3b-codecs ffmpeg lame gstreamer-0_10-plugins-bad \
gstreamer-0_10-plugins-ugly gstreamer-0_10-plugins-ugly-orig-addon \
gstreamer-0_10-plugins-ffmpeg libdvdcss2

echo “Installing Music/MP3 players”

zypper install -y xmms xmms-mp3 xmms-faad2 xmms-flac xmms-pulse \
xmms-skins xmms2 audacious audacious-plugins-freeworld* rhythmbox \
gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg \
gstreamer-plugins-bad-nonfree amarok xine-lib-extras-freeworld

clear

echo “Installing Media Player”

zypper install -y mplayer mplayer-gui gecko-mediaplayer mencoder \
xine xine-lib-extras xine-lib-extras-freeworl \
banshee gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg

clear

echo “Installing Binary Codecs”

mkdir -p /usr/lib/codecs
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
tar -jxvf all-20110131.tar.bz2 –strip-components 1 -C /usr/lib/codecs/

clear

echo “Installing VLC”
zypper install -y vlc

clear

echo “Install Microsoft Fonts”
wget http://www.mjmwired.net/resources/files/msttcore-fonts-2.0-3.noarch.rpmfusion
rpm -ivh msttcore-fonts-2.0-3.noarch.rpmfusion

clear

echo “Installing Addational Software”

zypper install pinta gimp thunderbird marble flash-plugin filezilla \
pidgin gwibber libreoffice gnucash scribus banshee k3b audacity dvdrip \
mjpegtools lame dkms eclipse java kolourpaint mypaint transmission \
azureus google-earth-stable okular amarok mplayer smplayer gtkpod \
clementine exaile xine-ui xine-plugin soundconverter bluefish

clear

echo “Installing Winff”
if [ $BASEARCH = "x84_64" ]; then
rpm -ivh http://winff.googlecode.com/files/winff-1.2.0-1%7Eppa1l.x86_64.rpm
else
rpm -ivh http://winff.googlecode.com/files/winff-1.2.0-1%7Eppa1l.i386.rpm
fi

clear

echo “Installing Kompozer”
if [ $BASEARCH = "x84_64" ]; then
rpm -ivh http://olea.org/paquetes-rpm/fedora-13/kompozer-0.8-0.5.b3.fc13.x86_64.rpm
else
rpm -ivh http://olea.org/paquetes-rpm/fedora-13/kompozer-0.8-0.5.b3.fc13.i586.rpm
fi

clear

echo “Installing wine and Play on linux”

zypper install wine
wget http://rpm.playonlinux.com/playonlinux.repo -O /etc/yum.repos.d/playonlinux.repo
zypper update
zypper install playonlinux

clear

echo “Installing Deluge a better bittoren”

zypper install deluge

clear

echo “Installing Nightingale”
cd /tmp
wget http://sourceforge.net/projects/ngale/files/1.11.0-Release/Nightingale_1.11.0-2223_linux_x86_64.tar.bz2
mkdir -p /usr/local/nightingale
tar -jxvf Nightingale_1.11.0-2223_linux_x86_64.tar.bz2 –strip-components 1 -C /usr/local/nightingale
ln -s /usr/local/nightingale/nightingale  /usr/bin/nightingale

echo “Enjoy, you know have the Ultimate openSUSE Desktop”

exit 0

====================Stop Script==================================

How to check to see if a process is running on Linux.

If you get a alert from Zenoss that “Process not running”, look inside the ticket for a string to grep on,

Example

Device: cfulptw01.chick-fil-a.com
Component: ../../common/wrapper/3.2.3/bin/native/linux32/wrapper /apps/portal/ptportal/10.3.0/./settings/config/wrapper.conf set.SERVER_HOME_DIR=/apps/portal/ptportal/10.3.0 set.SERVER_HOME_URL
Severity: Critical
Time: 2012/04/09 09:05:18.000

Log into the server, you can find the name from Device.

The string is process we want to look for, you don’t need to use the whole line, find three or four things to search on…

Example

/settings/config/wrapper.config

Once you are logged on, you can run either command to check for the process, the grep -v grep, is so that we don’t get a return on the grep command we are running. Using the “–color=always” helps find the string you are greping so that it stands out.

ps ax | grep “string” –color=always | grep -v grep

ps -ef | grep “string” –color=always

Example

[DEV-root@cfulptw01-~-6] # ps ef | grep “common/wrapper” –color=always

If nothing is return, then the process is not running.

Example

[DEV-root@cfulptw01-~-16] # ps -ef | grep “named” –color=always | grep -v grep
[DEV-root@cfulptw01-~-17] #

If the process is running you should get a return with the process id (pid).

Example

[DEV-root@cfulptw01-~-24] # ps -ef | grep “common/wrapper” –color=always | grep -v grep
cfaweb    6734     1  0 Feb16 ?        00:01:18 ../../common/wrapper/3.2.3/bin/native/linux32/wrapper /apps/portal/ptupload/10.3.0/./settings/config/wrapper.conf set.SERVER_HOME_DIR=/apps/portal/ptupload/10.3.0 set.SERVER_HOME_URL=file:/apps/portal/ptupload/10.3.0 set.PLATFORM=linux32 set.PROGRAM_NAME= wrapper.pidfile=/apps/portal/ptupload/10.3.0/bin/.././alifileupload.pid wrapper.java.statusfile=/apps/portal/ptupload/10.3.0/bin/.././alifileupload.stat wrapper.daemonize=TRUE
cfaweb   31228  6734  0 09:01 ?        00:00:25 /apps/portal/ptupload/10.3.0/bin/../../../common/jre/1.5.0_32/bin/java -Xms32m -Xmx256m -Djava.endorsed.dirs=”/apps/portal/ptupload/10.3.0/bin/../java_endorsed” -Dcatalina.base=”/apps/portal/ptupload/10.3.0/bin/../../../common/container/tomcat/6.0.14″ -Dcatalina.home=”/apps/portal/ptupload/10.3.0/bin/../../../common/container/tomcat/6.0.14″ -Djava.io.tmpdir=”/apps/portal/ptupload/10.3.0/bin/../../../common/container/tomcat/6.0.14/temp” -Dbid.application=”/apps/portal/ptupload/10.3.0/bin/..” -Dbid.bootstrap.jars=”/apps/portal/ptupload/10.3.0/bin/../../../common/openmanagement/4.0.0/” -Dbid.application.config=”/apps/portal/ptupload/10.3.0/bin/../../../common/../settings” -Dbid.bootstrap.loglevel=”INFO+” -Dbid.application.instance=”EAS:contentupload” -Djava.library.path=/apps/portal/ptupload/10.3.0/bin/../../../common/wrapper/3.2.3/lib/native/linux32 -classpath /apps/portal/ptupload/10.3.0/bin/../../../common/wrapper/3.2.3/lib/wrapper.jar:/apps/portal/ptupload/10.3.0/bin/../../../common/jre/1.5.0_32/lib/tools.jar:/apps/portal/ptupload/10.3.0/bin/../../../common/container/tomcat/6.0.14/bin/bootstrap.jar:/apps/portal/ptupload/10.3.0/bin/../../../common/container/tomcat/6.0.14/bin/plumtree-bootstrap.jar:/apps/portal/ptupload/10.3.0/bin/../../../common/container/tomcat/6.0.14/lib/servlet-api.jar -Dwrapper.key=KW13vyjU8C68T4r0 -Dwrapper.port=32003 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=6734 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=3 org.tanukisoftware.wrapper.WrapperStartStopApp com.plumtree.container.Bootstrap 1 start com.plumtree.container.Bootstrap true 1 stop

Once you have the pid number, also run lsof to make sure the process is active

lsof -p <pid>

[DEV-root@cfulptw01-~-28] # lsof -p 6734
COMMAND  PID   USER   FD   TYPE   DEVICE  SIZE    NODE NAME
wrapper 6734 cfaweb  cwd    DIR    253,0  4096 1799189 /apps/portal/common/wrapper/3.2.3/bin/native/linux32
wrapper 6734 cfaweb  rtd    DIR      8,3  4096       2 /
wrapper 6734 cfaweb  txt    REG    253,0 99401 1799190 /apps/portal/common/wrapper/3.2.3/bin/native/linux32/wrapper
wrapper 6734 cfaweb  mem    REG      8,3        204757 /lib/libc-2.5.so (path inode=204742)
wrapper 6734 cfaweb  mem    REG      8,3        204750 /lib/ld-2.5.so (path inode=204739)
wrapper 6734 cfaweb  mem    REG      8,3        204781 /lib/libpthread-2.5.so (path inode=204768)
wrapper 6734 cfaweb    0u   CHR      1,3          1562 /dev/null
wrapper 6734 cfaweb    1u   CHR      1,3          1562 /dev/null
wrapper 6734 cfaweb    2u   CHR      1,3          1562 /dev/null
wrapper 6734 cfaweb    5r  FIFO      0,6         47216 pipe
wrapper 6734 cfaweb    6w  FIFO      0,6         47216 pipe
wrapper 6734 cfaweb    7u  IPv4 15296084           TCP localhost.localdomain:32003->localhost.localdomain:31000 (ESTABLISHED)

You can use the TCP line to do a test to make sure the port is up and alive

telnet localhost <portnumber>

Example

telnet localhost 32003
Trying 127.0.0.1…
Connected to localhost.localdomain (127.0.0.1).
Escape character is ‘^]’.

If you get a connected to localhost.localdomain, the port is up and live. You might get some data back, that ok..

inferno:~# telnet localhost 7741
Trying 127.0.0.1…
Connected to inferno.
Escape character is ‘^]’.
16777343 localhost
0 succeeded
Connection closed by foreign host.

To exit type CTRL-] then quit, this will get you out of telnet.

Do not be alarmed if you get more than one pid returned, this means that are server processes running. If you want to see which process is the parent and which are children, you can use the command called pstree to show you. Usually it the lowest pid number.

pstree -p <pid #>

Example

[DEV-root@cfulptw01-~-26] # pstree -p 6734
wrapper(6734)ââ¬âjava(6753)
ââjava(20877)
ââjava(31228)ââ¬â{java}(31231)
â             ââ{java}(31232)
â             ââ{java}(31233)
â             ââ{java}(31234)
â             ââ{java}(31236)
â             ââ{java}(31237)
â             ââ{java}(31238)
â             ââ{java}(31239)
â             ââ{java}(31240)
â             ââ{java}(31241)
â             ââ{java}(31242)
â             ââ{java}(31244)
â             ââ{java}(31246)
â             ââ{java}(31249)
â             ââ{java}(31250)
â             ââ{java}(31253)
â             ââ{java}(31254)
â             ââ{java}(31255)
â             ââ{java}(31256)
â             ââ{java}(31257)
â             ââ{java}(31258)
ââ{wrapper}(6737)

or you can do ps axjf that will print a better on scree tree inferno:~# ps axjf | grep apache –color=always | grep -v grep
1  3677  3677  3677 ?           -1 Ss       0   0:00 /usr/sbin/apache2 -k start
3677  4057  3677  3677 ?           -1 S        0   0:00  \_ /usr/sbin/apache2 -k start
3677  4058  3677  3677 ?           -1 S        0   0:00  \_ /usr/sbin/apache2 -k start
3677  4059  3677  3677 ?           -1 S        0   0:00  \_ /usr/sbin/apache2 -k start
3677  4060  3677  3677 ?           -1 S        0   0:00  \_ /usr/sbin/apache2 -k start
3677  4061  3677  3677 ?           -1 S        0   0:00  \_ /usr/sbin/apache2 -k start
3677  6403  3677  3677 ?           -1 S        0   0:00  \_ /usr/sbin/apache2 -k start

If you see a “Z” in the first that is returned by “PS -EF”, that means the process is died and in a Zombie state.

PROCESS STATE CODES
Here are the different values that the s, stat and state output specifiers (header “STAT” or “S”) will display to describe the state of a process.
D    Uninterruptible sleep (usually IO)
R    Running or runnable (on run queue)
S    Interruptible sleep (waiting for an event to complete)
T    Stopped, either by a job control signal or because it is being traced.
W    paging (not valid since the 2.6.xx kernel)
X    dead (should never be seen)
Z    Defunct (“zombie”) process, terminated but not reaped by its parent.

For BSD formats and when the stat keyword is used, additional characters may be displayed:
<    high-priority (not nice to other users)
N    low-priority (nice to other users)
L    has pages locked into memory (for real-time and custom IO)
s    is a session leader
l    is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)
+    is in the foreground process group

You can try to kill the zombie process by running the following command

kill -1 <zombie pid>

The Unofficial SuSE News and Review Edition 1

Welcome to the unofficial SuSE News and Review. This is a not to replace the Offical News Letter from openSUSE community. It is only to supplement the news for the community from the community.

openSUSE 12.2 Milestone 1

There is a buzz on the Factory List that openSUSE 12.2 Milestone 1 is getting close to release. Stephen Kulow ( aka coolo ) announced on February 10th that he was uploading Milestone 1 ( Build 151)

The main purpose of the release at this is to find all the items that need to be change from 12.1 to 12.2. He has stated in his post that openSUSE branding had already made a great start, looked great in it’s early stage. This has started a buzz on the mailing list about the new art that is in MS1.

It should be stated that if any one in the community want to help with the re-banding of 12.2, be it feedback, comments, ideas, or even their own impovements should join either the openSUSE Artwork mailing list or on Freenode the openSUSE Artwork channel ( #opensuse-artwork ).

Some of the features that will implemented in openSUSE 12.2:

  • UsrMerge – to move the content from /bin, /sbin/, /lib, and /lib64 into the directories that lay under /usr to make improved compatibility towards other Linux and Unix distros.

    http://en.opensuse.org/openSUSE:UsrMerge

  • The use off SSSD for LDAP instead of nss_ldap, for more information please visit openFATE #313142
  • Adding Digital Forensics / Incident Response tools.

    http://en.opensuse.org/Portal:Digital_Forensics_/_Incident_Response

  • Updating the folloing application Gnome 3.4, KDE 4.8, GCC 4.7, and Plymount . There are some thought about using Mulitound input from xorg-server 1.12 and openGL 3, and using Bretzn for Appstream based app-store.

More information will be release later as the details of openSUSE 12.2 are worked out.

openSUSE 11.4 Evergreen Support

There is talk amoung the Evergreen Project to designate ( http://en.opensuse.org/Evergreen ) openSUSE 11.4 as it next candidate.

They are wanted to hear opinions and are looking for people join and contribute to the project.

For those that like to help, please join the Evergreen Projects mailing list as described on the wiki page. Remember the more feedback the project, the better they can make the project.

Travel Support Program for openSUSE

Izabel Valverde announced the kickoff of openSUSE Travel Support Program. This program will provide financial support for openSUSE contribute for travel to conferences and events.

For more information please read en.opensuse.org/openSUSE:Travel_Support_Program

openSUSE:Summit

If you missed the accouncement back in January. The openSUSE Board invites openSUSE community to start planning the openSUSE event in North America at SUSECon, September 18th to 21th in Orlando, Florida.

Planning has began and information can be found on the wiki en.opensuse.org/openSUSE:Summit_Planning.

Time to start writing again

I know since the elections it’s been very quite here.  I been on the openSUSE Wave that’s calming down a bit, which is sad, because it been a wonderful ride. It fact lately I feel I am on the downward ebb of Karma.

The wave started getting ready for Hackfest/SCALE which took place in L.A. I got to work with a great group of people. Very long hard days, but we made a very big splash at SCALE. Where I got to do a bit of training openSUSE Day, and thanks to Alan Clark, got to help give a talk at SCALE.

Coming back from that week, I got sick but couldn’t slow down because of the release of openSUSE 11.4 and working on a Poster, I assume for Linux Magazine in UK. Both were very import. The poster looks great because of Carlos awesome background and the release when great.

During this whole time, I in my mind, my blog keep calling to me, like that Beatles song — “While My Guitar Gentle Weeps.”

I have some critics that been saying, that “He only posted because he ran for the board”. Which is not true. During the pass couple of weeks I try to start writing some blogs, but because so much was going on, I couldn’t start them. I only have titles. Plus, I try to balance family, work and openSUSE. If you don’t know me, you will know that my family is very important to me. But with that said, so the work I do on openSUSE. I do try to do a lot.

I have a lot of stuff I want to work on for openSUSE, so I promise to try to write something at least once one a week. I really want to improve on the one area that has been a fight my whole life because of being dyslexic. That is my writing. I really want to get more stuff publish.

So I will start back up the Sysadmin blogs for openSUSE.

I am also going to write a few stories on how for end users on how to move from windows and mac to Linux. (Course using openSUSE for the bases). I know a lot of people say this isn’t the year of the desktop, but you know I think it. I been on openSUSE as my desktop for the pass three years and I can say that with openSUSE 11.4 it so much easier to use.

Plus, there is a new area I want to developed for openSUSE that is training. I think that if we can teach users how easy openSUSE is, that we can bring more users to openSUSE. So I want to work on guide lines on how to teach, so that others can.

As I finish this, I am listening to my soul and I don’t hear that Beatles playing, instead I do hear Fatboy Slim –Right Here, Right Now The Rockafeller. With the words of “Right Here, Right Now…” Echoing over and over.

Congrads to all

First, I want to thank all those that voted  for me.  It really does mean  a  lot to  me. Even though I didn’t  make it to the board, doesn’t mean I am going to stop working. There is  a lot of work for the ambassadors. Thanks  you.

Congrads to the winners of the openSUSE Board Elections, Henne Vogelsang (hennee) and Peter Linnell  (mrdocs). Congrads to all that ran.  It is good to see that many people willing to stand up and lead.

–Pup

My answers to the questions for the candidates — From Vincent Untz

Vincent Untz sent these questions to the Candidates, I like to share my answers with all.

====================================================

On Wed, Jan 12, 2011 at 4:23 AM, Vincent Untz
Hi,

I read the platforms of all candidates, and I have a few questions :-)
I’d appreciate if you could take some time to answer them; it’ll help me
vote in an informed way.

1) You described various issues you’d like to get fixed and goals you
want to achieve. Will you still work on (or help with) those tasks
if you’re not on the board, or do you think you really need to be on
the board for some of those tasks?

Yes, even if I don’t make to the board. I plan to cont’ to work as Ambassador and work with both marketing and the project team. No, I didn’t run so that can make the things I see we need to do. I am running because for over ten years I been using openSUSE, I have a great love and passion for the project and just want to step up. Most on the board are programmer. I like to be the first end-user/system administrator to bring fresh views from those that use our distro.

2) How much time per week can you secure (approximately) for the board?
(I know it will be 0% of your time for some weeks, and much more
for some other weeks; I’m interested in the average)

This is hard to say. I am married and I work as system administrator day to day. I do plan to give all my extra time to the project as I do now. I can’t give a percentage. But I can say, that even if I don’t get elected I still plan to give all my free time to the project.

3) Did you attend IRC board meetings already?

Once in a while. That was because the company that I had worked for blocked irc, but I would ask questions about what was going on and read the mailing list to stay up-to-date.

4) It’s interesting that I see nearly no note about budget/money in
platforms. When (not if ;-) ) we’ll have the Foundation, the board
will have to work on a budget. So a few questions about this…

4a) Have you experience with creating/dealing with a budget?

Yes, part of my daily job is to budget for equipment. So I have worked on yearly budgets for my projects. Looked at ways to save money and not cut services and not impact services. I have also worked as Accounts Receivable positions for a company for year and in college, I was the Treasure for our International Club.

4b) Where will we find money for the Foundation?

I have already started asking people if they know of programs that we can apply too. Plus, I am thinking we can do fund raisers. Asking for donations and coming up with items we can sell in the shop to help fund the project.

4c) What should we use the money for?

This is tough for me. But I like to see some money set up to help the Ambassadors, because they need money for travel and media and swag to help promote the project. I it would be best to set up the funds like we are a company, so that we management it wisely, thus help all that work on the project.

5) I do think it’d be useful to have some board-related meeting at
FOSDEM. That should help the newly-elected board members to know
faster what’s happening, and how things work. Will you come to
FOSDEM? (I know some people, and that’s most probably true for the
non-European, will likely not be able to attend; that’s not an issue)

I think that a great idea. I have no problem traveling to Europe or for that fact any part of the world. My wife is from Europe. And even if I couldn’t I would try to attend via Skype so that I can see everyone face to face. You get more done face-to-face. But should I get on the board. I will do everything I can to attend.

7) Do you care more about Free Software or Open Source? Just to be
clear: there’s no wrong answer. But it helps understand why you
contribute to projects like openSUSE.

This is a tough question. I love Free Software and really believe in it. I have since I started with computing in the 80′s when I belong to my local Atari Users Group and would help by typing in computer programs and share them with our group. In fact, it was that user group that started my love for Free Software. We did a version of shareware. You share your programs with a blank disk. In return you got a disc back with other software that others had share. One of the main reason I love Free Software and Open Source I see that same spirit we had. I think you can have free software even if you are a close source, but I think Open Source is better because you can improve on the source. Which is why Linux has been so successful. With me handing out DVD and talking about openSUSE at Linux Fest. I am very happy to pass out Free Software that is open to all.

Questions to specific candidates, related to their platform:

Chuck: where do you think we could lead, instead of copying?

openSUSE is one of the oldest distro, but we tend to copy such other distros like Ubuntu. We need to sit down and focus on what makes us good. Why are are one of oldest distro. Promote on that. Right now, we don’t need to copy Unity into our distro. We need to let the world know that we are still using Gnome and the Gnome Shell. We need to let the world know you don’t need to download a K/E/X/Lubuntu disc or a spin disc (Fedora). Our DVD includes all. One of the greatest tools we have and we don’t do much to promote it is YaST. SaX was another great tool and a big lost to our project. I would have love to see some money donated to keep that project live. Maybe the foundation could look at that.

Here are the items I love to see us lead on

1) We have one of the oldest/stable distro with a very large community.

2) I like to see us push the education disc openSUSE Li-F-E. That is a diamond. You would be amazed the number of people that don’t know about it, and are amaze that we have it and what it does. We are missing the boat if we don’t help get the word out on this more.

3) I love us to improve on the Ambassador Program. I think we need to train our Ambassador to be teachers so that they can help educate new users. I like to see people reaching out to us, asking our Ambassador to go the fest to offer workshops on Linux. Since our Ambassadors are our front line to the world. We need to help them and train them to be like Sale/Field Engineers, where not only can they answer questions on openSUSE, but answer questions on all. One thing I think to do that would us lead and Linux Distro is to start an online University. Invite other distro to join us. People that are new to Linux don’t want to come to irc/forum to ask questions only have someone say RTFM. They want clear how to’s, videos, documents that are clear and simple. I think that we can do openSUSE Build Service and SUSE Studio. That we can set up an online University that helps promote Linux and open source.

4) I like us lead in the publications. I am very sadden to see that when I pick up a Linux Magazine, that it is very rare to see openSUSE in it. Yes, you will see the DVD, but 95% of the articles are focus on mainly one distro. I want us to break this. We are usaully number 4 on distro watch. With that we should see more articles in publication. If we can do that, we can break the number 4 position and move up.

5) I like to see a stronger North America present. Here Novell shadows openSUSE. Many people here in North America don’t know that openSUSE is free, they here SUSE and think you have to pay for it from Novell. In all the places in the world, we need to bring openSUSE out of the Novell shadow let the world know that we are a very active open source community. Over the past year most of my time is trying kill the lies that openSUSE is bound by the Novell/Microsoft deal. A lot of people left openSUSE here in North America because of that. It is time to bring them back our community, by showing them that we still lead in open source community.

Sebas: what needs to be more transparent in openSUSE?

Kostas: do you have examples of “motives” we can give to people so they
participate in the project?

Peter: leaving you some more time for your platform :-)

Henne: not really a question related to your platform, but to your
experience on the board. What could be improved in the way the
board works as of today? (btw, it’s not a way for me to try to
get the current board blamed in any way: we all know things can
always get improved, and time usually helps with that)
Also, can I get a dodo?

Sankar: some of your long-term tasks are partly technical (make
openSUSE an attractive development platform, make the distro
accessibility-friendly). How do you think the board can help
with that?

Nelson: can you develop a bit more on the ‘anti burnout’ campaign? What
would it consist of?

I wish you all the best for the election :-)

Thanks,

Vincent


Les gens heureux ne sont pas pressés.

===============================================

I hope that all can see that I am very serious about running for the board. That I can count on people voting for me.

–Pup

System Administrator 101 — A Basic Bash Loop — Part 1 “for”

Being a System Administrator you will find that you need to do a lot of repetitive tasks. Moving files, grepping files, and creating users. You could spend all your time type the same commands over and over, but why?

You can save a lot of time by looping commands. There are three ways you can do that, by using one of the following; for, while or until. We will first focus on for, it my favorite of the three.

The thing to remember with a ‘for loop’ is the following syntax

for variable in x y z ; do command $variable ; done

Variable is what ever you want to call it. Most people use i as a variable, but again it can be anything you want. The x y x is the information that you want to pass to the command. The last thing to remember with a loop is when it passed everything to the command that if finish, that is why you need the done.

Here is an example of a simple count down that you can do with for a ‘for loop’.

for i in 10 9 8 7 6 5 4 3 2 1 ; do echo $i ; done

As you can see, we have set our variable to be i, in that variable we are going to pass 10 to 1 to the command echo. By the way, you can do this another way if you are using Bash 4.0, by changing the number to {10…1} , this because of inbuilt support for setting up a step value use {START..END..INCREMENT} .

Here is another example, we are going fun and make the computer count out load to 100 by 5′s…

for x in {5..100..5} ; do echo $x | festival --tts ; done

In this loop we set our variable to x, and we told it to start with 5 go to 100 by increments of 5. We then passed that on to echo that is piped into festival to read it out load, once it had reach 100, it stops.

Here are some real world examples of how System Administrator use a ‘for loop’. Let say you have a text file that you keep a list of Linux servers that you take care and you need to push a rpm or a file to them.

linux01 192.168.1.1
linux05 192.168.1.5
linux10 192.168.1.10
linux20 192.168.1.20

With a ‘for loop’ it is very simple and fast. We are going to cat the file so that we know what server to access. We are also going to use awk so that we get the ip from the second coloumn. . To get the information we will need to pipe ‘ | “ the loop into the awk command to get it, because we are run commands to get the information for the loop we will need to use ` ` in order to run the statement.

for f in `cat linux_server | awk '{ print $2}'` ; do scp somefile user@$f:/dir ; done

This loop tell that our variable f is going to pass the four ip so that we can scp the file to those boxes.

NOTE::

If you are not sure about what the output going to look like, it always best to use the following to see what the output going to be….

echo $f

Now lets say that file you pushed to the server is rpm that you need to update your server. You can do ‘for loop’, using ssh and pass the command to the boxes to update that rpm

for r in `cat linux_server | awk '{ print $2 }` ; do ssh user@$r rpm -Uvh /dir/myfile ; done

To ensure that the file was updated, you can do another ‘for loop’ check the rpm database to see if there by doing rpm -qa and pipe into a grep with the file name.

for r in `cat linux_server | awk '{ print $2 }` ; do ssh user@$r rpm -qa | grep myfile ; done

By the way you can use all of these commands together in one script to save even more time.

—————-Begin Scripts————————



#!/bin/bash
servers=”linux_server”
files=”files_to_push”

# Here we are going push files

for f in `cat $servers | awk '{ print $2}'` ; do scp $files user@$f:/dir ; done

# Here we are going to install the files

for r in `cat $servers | awk '{ print $2 }` ; do ssh user@$r rpm -Uvh /dir/$files ; done

# Here we are going to check if it got installed

for x in `cat $servers | awk '{ print $2 }` ; do ssh user@$x rpm-qa | grep $files ; done

exit 0

—————-Begin Scripts————————

As great System Administrator, finding the simplest ways to do recurring tasks frees up your time for tackling more complex problems . A ‘for loop’ is a great way to help. Next time I will go over while.

–Pup

My Platform

A couple of weeks ago, I announced that I want to run for the openSUSE board, here my platform. Please take moment and read, thank you for your support…. http://bit.ly/gMZba7

Tips and Trick: fdisk helps find and show your drives.

Have you every wanted to know how many hard drives a system has? Or how to find that USB drive that you just plugged in, that isn’t showing up? It very simple with fdisk.

Fdisk — Partition table manipulator for Linux. Is also a great tool to help you. To see your drives run the following command…

# fdisk -l

You will get an output like the following…

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders, total 156250000 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0×30303030

Device Boot Start End Blocks Id System
/dev/sda1 * 63 41945714 20972826 83 Linux
/dev/sda2 41945715 154191869 56123077+ 83 Linux
/dev/sda3 154191870 156232124 1020127+ 82 Linux swap / Solaris

Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0001c936

Device Boot Start End Blocks Id System
/dev/sdb1 16065 1465144064 732564000 fd Linux raid autodetect

Disk /dev/sdc: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000ed120

Device Boot Start End Blocks Id System
/dev/sdc1 16065 1465144064 732564000 fd Linux raid autodetect

Disk /dev/md0: 1500.2 GB, 1500291006464 bytes
2 heads, 4 sectors/track, 366281984 cylinders, total 2930255872 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0×00000000

If a disk has been partation with GUID Partition Table (GPT), usually you will fild them on Apple Hardware, fdisk will not understand how to read them.

The key to remember device types.

/dev/hd[a-h] IDE Disk
/dev/sd[a-p] SCSI, SATA, and USB
/dev/ed[a-d] ESDI
/dev/xd[ab] XT Disks

–Pup

Throwing my name as a candidate for board of openSUSE

Hi,

I like to throw my name in as a candidate for board of openSUSE. For
the past two years I have been helping out as Ambassador, but I have
been a SUSE user since 5.3. I love my work with openSUSE, and I want
to do more. I think my experince as System Administrator, End User,
Mentor, and Ambassador, plus years of experience would be a big plus
to board and to the community.

I started out with Linux in 96′ as an end, tried of Mac OS, and
fearing that it would died. This was before the return of Steve Jobs.
Start with Slackware 96 then move to Red Hat and Turbo Linux, then
moving to S.u.S.E and never leaving it.

I have worked in the IT field as System Administrator since 98. My
first job, I was able to get S.u.S.E 6.2 in to replace Red Hat 6.0.
Personally I have used it since 5.3 as server. It was until openSUSE
10.2 that I started using as a Desktop replacement at work for daily
to daily, replacing Windows XP and Macintosh OS X OS’es. I can be
honest, I still use Mac OS for some desktop publishing, but I use my
openSUSE desktop for the other 90%.

When the call came for people to become Ambassador back in 2008, I
jumped at the chance to give back to openSUSE in return for everything
it has giving to me. I have been to three linux fest. Give a couple of
number of talks to local user group. I have even wrote for a Polish
Linux this summer called Linux Identity. I have even done a video for
the OSC, which was the best but did put some faces to aliases. I am
working on other projects that once are done I will show the
community.

The other thing I am doing currently for openSUSE is I help with the
Facebook page. Trying to post links and events. And I have even set up
a twitter account for the openSUSE Ambassador that I hope in the
furture and help get out their great work to community and others.

I am currently rebuilding the Georgia openSUSE User Group. I am active
in ALE.  And love to go to Linux Fest and help spread the word about
openSUSE and open source software to the masses.

My daily-to-daily life, I am System Administrator for a start company
called Vocalocity that does a lot with SIP/Telecommunications in their
NOC team. Before that I worked at Travel Channel Media.  I am married.
I am very much international. I know that a lot of people don’ t think
that of American. But I have lived in Japan for three and half years
and taught English Communications. My wife is Turkish. I do travel
from here to there no as much as I would like. I have a six year son
that know I love Linux and every time he see a penguin points out
that, “There that software you work with Daddy”. I also have a black
cat that loves to sit in my lap while I am computer working.  I am a
bit old I think than most, I am 43 but with that I bring a lot of
experience to the table, one not being a developer, but as a end user,
a system administrator. Which covers both every day-to-day users and
business.

Sincerely,

Chuck “PUP” Payne

a.k.a terrorpup/lupinstein

Creating SSH Keys without a pass phase.

This is a simple tip, if you need to create a ssh-key without a passphase, run the following command…

ssh-keygen -t dsa -f ~/.ssh/id_dsa -N “”

Spotify on openSUSE 12.3

Level: Beginner
Needed: WINE  or Playonlinux already installed.

If you are like me, Pandora music selection is get tired very quick. I can only take listening to the same song over and over.  So welcome Spotify.  They have a great selection of music. You can play that one song that been stuck in your head or listen to that album you haven’t heard since you were in college.

One problem, they have an app that only works iOS, Android, Mac OS X, and Windows. They have an beta app for Linux ( Ubuntu ).  So what a Geeko to do. Use WINE.

WINE is a great way to run some windows apps on Linux.

First thing to do is to download Spotify for Windows and save the exe.

download_spotify

So there are two ways to install Spotify on openSUSE computer.

Wine Way

#wine SpotifySetup.exe

Playonlinux

Launch playonlinux. When the gui come up, press “+ Install”

playonlinux

 

When install menu comes up, press the “Media” icon. From the list click on the Spotify icon and then Install.

mediaplayonlinux

Playonlinux will then install and download the files that are needed to run spofity.

install_spotify

Once it is done all that is needed to be done is to click on the spofify to launch it.

pol_spotify1

Log in

spotify

And enjoy some great music.

running_spofity

One thing to note. Most people use Playonlinux to for games. It works for a lot of other apps. If you need to run MS Office it great to install it and compare to Crossover, it free. –Pup

Next Page »