Steps to install and optimize Fedora 11 VMware virtual machine

Start install from Fedora DVD
(When asked during installation, create a regular user account called ‘admin’ or whatever username you want)
———–
use default values during the installation except for:

Software packages to install (Customize now):
———–
Check “Customize now”
Select these packages:
Desktop environments – default (GNOME)
Applications – default
Development – Development Libraries, Development Tools
Servers – default
Base – Admin Tools, Base, Fonts, Java, X window system
Languages – NONE

Wait for package installations to complete then reboot.
———–

At first boot:
———–
Enable NTP and remove Fedora NTP servers and use pool.ntp.org

Disable annoying SELinux protection
———–
SELinux set to permissive.
System -> SELinux Administration
System Default Enforcing Mode to Disabled
Current Enforcing Mode to Permissive.

Bring system up to date:
———–
Login as admin
su
yum update

Disable IPv6 (some network programs try to bind to all interfaces and don’t handle IPv6 well)
———–
Inside /etc/modprobe.d/blacklist-ipv6.conf
install ipv6 /bin/true
blacklist ipv6

Inside /etc/sysconfig/network
make sure have this line:
NETWORKING_IPV6=no

turn off ip6tables firewall:
service ip6tables stop
chkconfig ip6tables off

Reboot system to use latest kernel
———–
reboot

Install VMware Tools for better VM performance
———–
Host -> VM -> Install VMware Tools
mount (see which directory /dev/hdc was mounted on)
cp /media/VMware\ Tools/VMwareTools-xxx.tar.gz ~admin/
cd ~admin/
tar -zxvf VMwareTools-xxx.tar.gz
su
cd vmware-tools-distrib
./vmware-install.pl
install using default values and select a screen resolution (1280×960
works well)

Ensure VMware Tools survives future kernel upgrades
———–
Place this script inside /etc/rc.local

# Automatically install vmware tools modules after a kernel upgrade.
# Installing new vmware tools modules causes network to go down and up.
# (The pcnet32 module is swapped out for vmxnet driver)
# This may have adverse effect on network-aware programs already running.
# So is safer to reboot to ensure everything is working properly.

if [ ! -e /lib/modules/`uname -r`/misc/.vmware_installed ]; then
printf “\nDetected absence of VM Tools- starting the modules compiling.\n\n”
/usr/bin/vmware-config-tools.pl –default
VMToolsVersion=`/usr/bin/vmware-config-tools.pl –help 2>&1 | awk ‘$0 ~ /^VMware Tools [0-9]/ { print $3,$4 }’`
printf “\nNewly installed VM Tools version: $VMToolsVersion\n\n”
touch /lib/modules/`uname -r`/misc/.vmware_installed
depmod -a
printf “\n *** REBOOTING *** Ensure a clean system with VM
Tools loaded.\n\n”
reboot
fi

As root superuser:
touch /lib/modules/`uname -r`/misc/.vmware_installed

reboot

Shutdown and turn off services unnecessary for a Fedora desktop
———–
bluetooth – no need to use bluetooth.
btseed – bittorrent only.
bttrack – bittorrent only.
firstboot – no longer needed.
mdmonitor – monitors LVM or RAID information. not necessary for VM.
microcode_ctl – utility for Intel IA32 processors. not necessary for VM.
nfs – Not planned to be used.
nfslock – good only for NFSv4
rpcgssd – good only for NFSv4
rpcsvcgssd – good only for NFSv4
rpcidmapd – good only for NFSv4
sendmail – will be replaced with postfix

chkconfig –list (shows services)

for i in \
bluetooth btseed bttrack firstboot \
mdmonitor microcode_ctl nfs nfslock \
rpcgssd rpcsvcgssd rpcidmapd sendmail; \
do (chkconfig $i off ; service $i stop) ; done

Important post-installation steps
———–
# Install Postfix so we can remove Sendmail
yum -y install postfix

# Remove Sendmail
# pcsc-lite generates lots of spurious log entries with our NIS/Kerberos setup.
# We’re not using smart cards, so we’ll just remove it
yum -y remove sendmail pcsc-lite

Optional: improve several aspects of the root superuser account
———–
Enhance the path for root superuser to make it easier to run commands
add to root superuser’s .bashrc
PATH=$PATH:/usr/sbin:/sbin:$HOME/bin
export PATH

Better colors inside shell:
cp /etc/DIR_COLORS /root/.dircolors

Install the additional repos for Fedora to gain access to more software packages
———–

RPM Fusion (free and non-free)
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum update

Livna RPMs (mostly merged into rpmfusion, but not everything was)
rpm -Uvh http://rpm.livna.org/livna-release.rpm
yum update

Get the Adobe YUM repo installation via web.
Download and install the Adobe Release RPM.

Chromium for Linux
In file: /etc/yum.repos.d/chromium.repo
[chromium]
name=Chromium Test Packages
baseurl=http://spot.fedorapeople.org/chromium/F$releasever/
enabled=1
gpgcheck=0

Bookmark and Share

Comments   Uncategorized
Related posts:

Steps to optimize a minimal base Red Hat VMware virtual machine

These are some of the steps you can take to better optimize a base (bare-bones) RHEL VMware Virutal Machine.  Feel free to add your comments with additional tips.

Fedora distro is slightly different than the Red Hat distro but similar actions can be taken for optimization.

When asked during installation, create a regular user account called ‘admin’

======================================
After creating initial VM files,
———–
Check the .vmx config file and find the MAC address.

If have a DHCP server on the network, include the MAC address  so that desired IP address and a hostname can be automatically assigned at the time the server makes a DHCP request.

Start install from RHEL 5.4 DVD
———–
use default values during the installation except for:

Software packages to install:
———–
Uncheck Virtualization
Check “Customize now”
Select these packages:
GNOME Desktop environment
Applications – Editors – vim-enhanced (uncheck all EMACS packages)
Development – Development Libraries, Development Tools
Servers – NONE
Base – Admin Tools, Base, Java, Legacy Software Support, X window system
Virtualization – NONE
Languages – NONE

Wait for disk to be formatted and base system installation to complete then reboot.
———–

At first boot:
———–
SELinux set to permissive.
Enable NTP and remove RedHat NTP servers and use pool.ntp.org
Register with RHN

Bring system up to date:
———–
Login as admin
su
yum update

Disable IPv6 (some network programs try to bind to all interfaces and don’t handle IPv6 well)
———–
Inside file: /etc/modprobe.conf
add this line:
options ipv6 disable=1

Inside /etc/sysconfig/network
make sure have this line:
NETWORKING_IPV6=no

turn off ip6tables firewall:
chkconfig ip6tables off

Reboot system to use latest kernel
———–
reboot

Install VMware Tools for better VM performance
———–
Host -> VM -> Install VMware Tools
mount (see which directory /dev/hdc was mounted on)
cp /media/VMware\ Tools/VMwareTools-xxx.tar.gz ~admin/
cd ~admin/
tar -zxvf VMwareTools-xxx.tar.gz
su
cd vmware-tools-distrib
./vmware-install.pl
install using default values and select a screen resolution.

Ensure VMware Tools survives future kernel upgrades
———–
Place this script inside /etc/rc.local

# Automatically install vmware tools modules after a kernel upgrade.
# Installing new vmware tools modules causes network to go down and up.
# (The pcnet32 module is swapped out for vmxnet driver)
# This may have adverse effect on network-aware programs already running.
# So is safer to reboot to ensure everything is working properly.

if [ ! -e /lib/modules/`uname -r`/misc/.vmware_installed ]; then
printf “\nDetected absence of VM Tools- starting the modules compiling.\n\n”
/usr/bin/vmware-config-tools.pl –default
VMToolsVersion=`/usr/bin/vmware-config-tools.pl –help 2>&1 | awk ‘$0 ~ /^VMware Tools [0-9]/ { print $3,$4 }’`
printf “\nNewly installed VM Tools version: $VMToolsVersion\n\n”
touch /lib/modules/`uname -r`/misc/.vmware_installed
depmod -a
printf “\n  *** REBOOTING ***  Ensure a clean system with VMTools loaded.\n\n”
reboot
fi

As root superuser:
touch /lib/modules/`uname -r`/misc/.vmware_installed

reboot

Shutdown and turn off services unnecessary for a VM server
———–
avahi-daemon – no need to service discovery (printers, file servers, etc) on local network
bluetooth – no need to use bluetooth on server
cups – no need to run printing services (unless is Samba or CUPS server)
firstboot – no longer needed.
hidd – Bluetooth HID daemon for bluetooth input devices (keyboard/mouse)
hplip – for printers drivers
mdmonitor – monitors LVM or RAID information. not necessary for VM.
microcode_ctl – utility for Intel IA32 processors
pcscd – Smart Cards daemon used by pcsc-lite
rpcgssd – good only for NFSv4
rpcidmapd – good only for NFSv4
sendmail – will be replaced with postfix
setroubleshoot – SELinux troubleshooting helper (not using SELinux and it can hog CPU and memory)
smartd – not necessary to monitor disk inside a VM.
xinetd – Good only for services that are occassionally accessed.

chkconfig –list shows services based on xinetd.

yum-updatesd – not necessary to be notified of new updates. updates done manually.

for i in \
avahi-daemon bluetooth cups firstboot hidd \
mdmonitor microcode_ctl pcscd rpcgssd rpcidmapd \
sendmail setroubleshoot smartd xinetd yum-updatesd; \
do (chkconfig $i off ; service $i stop) ; done

Important post-installation steps
———–
# Install Postfix so we can remove Sendmail
yum -y install postfix

# Remove Sendmail
# pcsc-lite generates lots of spurious log entries with our NIS/Kerberos setup.
# We’re not using smart cards, so we’ll just remove it
yum -y remove sendmail pcsc-lite

Change default boot to runlevel 3 (don’t boot into X window system to save system resources)
———–
in file: /etc/inittab
find the line: id:5:initdefault and change from ‘5′ to ‘3′

if you find that you need to start up GNOME in X window, type ’startx’ at the prompt.
Optional: improve several aspects of the root superuser account
———–
Enhance the path for root superuser to make it easier to run commands
add to root superuser’s .bashrc
PATH=$PATH:/usr/sbin:/sbin:$HOME/bin
export PATH

Better colors inside shell:
cp /etc/DIR_COLORS /root/.dircolors

Optional: Install the RPMForge repos for RHEL5

(gain access to more but *unsupported* RHEL5 software packages. This can cause problems if you aren’t careful)
———–
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum update

************************
Manually cloning the VM
———–

After cloning a VM but before booting it up, the cloned vmx file will still have the original MAC address.  This will change during the first boot of the cloned VM. The newly generated MAC address needs to be included in the DHCP server so that the proper hostname can be assigned to the VM once it makes a DHCP request.

Generate a new MAC address for the VM
———–
Start up the VM and force a shut-off once it hits the boot screen. (don’t need to boot fully)
Get the new MAC address from the vmx file.
Add the MAC address to the DHCP server and pair it up with IP address and hostname.  Make sure there are both a DNS lookup of hostname and reverse DNS lookup of the IP address.

Minor cleaning up: Removing old eth0.bak interface that is no longer used.
———–
Boot fully to runlevel 5, into the GNOME window environment so can run a X GUI app.

startx

Open a terminal and su

Important note: The following steps must be done exactly in this order!

system-config-network

inside Devices tab
Make sure both ‘Nickname’ eth0 and eth0.bak are checked.
Select ‘Nickname’ eth0, keeping it checked then deactivate it.
Uncheck eth0.bak
Select eth0, keeping it checked then activate it.
Select eth0.bak, keeping it unchecked then delete it.
Quit and save the configuration.

Now the system is fully cloned with its own identity: MAC, hostname, and IP address.

Bookmark and Share

Comments   Uncategorized
Related posts:

How to use mencoder trickery to merge SRT (SubRip) subtitles and MP4 or AVI video files.

Burning hard SubRip (SRT) subtitles into AVI video clip
If using winmenc, copy c:\windows\fonts\arial.ttf to subfont.ttf inside the mplayer subdirectory (so mencoder can find a font file for the subtitles)
mencoder -oac copy -ovc raw -sub input.srt -subfont-text-scale 3.0 -subpos 95 -sub-bg-alpha 50 -utf8 -o output.avi input.avi

Burning hard SubRip (SRT) subtitles into MP4 video clip
mencoder -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -sub input.srt -subfont-text-scale 3.0 -subpos 95 -sub-bg-alpha 50 -utf8 -o output.mp4 input.mp4

How to convert MP4 into AVI and resize along the way
Get the Automated FFmpeg Win32 builds made by Ramiro Polla.
ffmpeg -i input.mp4 -map 0:0 -map 0:1 -vcodec mpeg4 -b 500k -s 640×480 -acodec copy -f avi output.avi

How to create SubRip SRT subtitles files:
Freeware for Windows: Subtitle Workshop.
Payware for Mac OSX: MovCaptioner.

Bookmark and Share

Comments   Uncategorized
Related posts:

Getting around the XFCE login problem of a Karmic Xubuntu VMware VM

A quick workaround for failed XFCE logins seen in Karmic (9.10) Xubuntu when running inside VMware VM with vmware-tools installed:

Do not attempt to change the Display size, leaving it at the default 800×600.  Login and let the session start up in 800×600.  Wait about about 5 seconds then you can use VMware-tools key short-cut of CTRL-ALT-ENTER to go to full screen and the screen resolution will automatically change to the higher settings.

If you have set the Display size, you may be experiencing the cycling login window problem.  There is a problem changing the screen resolution and the screen always returns back to the login prompt window.

To start over: select the xterm session at the login window (at the bottom) then login and remove the ~/.config directory in your home directory.

The standard (and up-to-date) Ubuntu 9.10 installation also exhibits the screen resolution problem.

*more updates*

This seems to be related to the recent kernel updates.  However, if you wait 10-15 seconds before logging in at the login prompt window, the display resolution changes work.  This may have something to do with the boot order of the modules.  VMware modules may be getting a late start and this affects the ability to change resolution inside a VMware VM until they are fully loaded and ready to go.

Bookmark and Share

Comments   Uncategorized
Related posts:

VMware and LVM – Increasing disk space within a Linux-based virtual machine

One of the great things about enterprise Linux distro installations, such as RedHat, SLES, etc is that most of them are defaulting to a LVM (Logical Volume Manager) filesystem which is a natural fit for Linux virtualized systems.

Using LVM with a virtualized hard drive makes it very easy to grow the disk space within minutes when the need arises. A good system administrator will already understand the LVM relationship between Physical Volumes, Volume Groups, and Logical Volumes.

Suppose you wanted to grow the disk space within a Linux virtual machine to 50GB:

The first step is to increase the VM vmdk file size:

This can be done via the VMware admin GUI by opening the settings of the VM and using the Expand utility to grow the hard drive size to 50 GB.

Another alternative is to use vmware-vdiskmanager.exe on the command line:

vmware-vdiskmanager.exe -x 50GB “Red Hat Enterprise Linux 5.4-cl1.vmdk”

Note that this action doesn’t have any resizing effect on the existing partitions of the virtual machine and only adds more unpartitioned space to the virtual hard drive.

Convert the unpartitioned space into usable filesystem so it can be included within the LVM filesystem.

Boot into the VM and su to the superuser account

Find the device where the unpartitioned space is:

fdisk -l

Disk /dev/sda: 53.6 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        2610    20860402+  8e  Linux LVM

since this is a virtual machine and this is the first disk expansion, it’s likely located in /dev/sda (note the size of /dev/sda which is roughly the new expanded size).

Create a new partition that takes up the remaining space and is of filesystem type 8e (LVM):

fdisk /dev/sda

n (new)
p (primary)
3 (partition number, since 1st and 2nd partition already exists)
select default first available cylinder to the default last cylinder.
t (type)
3 (partition number)
8e (set type to LVM)
p (view the new partitions layout)
w (write out the new partitions layout to disk)

reboot the system so the new partition is recognized by the system.

reboot

The new partition layout is now:

Disk /dev/sda: 53.6 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        2610    20860402+  8e  Linux LVM
/dev/sda3            2611        6527    31463302+  8e  Linux LVM

The next step is to use LVM to take the newly formed partition and turn it into a new Physical Volume, add it to a Volume Group, and finally assimilate its free space into a Logical Volume.

Convert /dev/sda3 partition into a Physical Volume so LVM can make use of it:
pvcreate /dev/sda3

Add the new Physical Volume to the Volume Group as additional free space:
vgextend VolGroup00 /dev/sda3

vgdisplay (note the free space now in the Volume Group which can now be assigned to a Logical Volume)

— Volume group —
VG Name               VolGroup00
System ID
Format                lvm2
Metadata Areas        2
Metadata Sequence No  4
VG Access             read/write
VG Status             resizable
MAX LV                0
Cur LV                2
Open LV               2
Max PV                0
Cur PV                2
Act PV                2
VG Size               49.88 GB
PE Size               32.00 MB
Total PE              1596
Alloc PE / Size       636 / 19.88 GB
Free  PE / Size       960 / 30.00 GB
VG UUID               0JB6GV-gFJW-onuN-7Xq1-OKim-n5gM-EVPUKB

Have the Logical Volume (within the Volume Group) overtake the remaining free space of the Volume Group:
lvextend -l +100%FREE /dev/VolGroup00/LogVol00

vgdisplay (note the free space in Volume Group is now gone since it was all assigned to a Logical Volume)

— Volume group —
VG Name               VolGroup00
System ID
Format                lvm2
Metadata Areas        2
Metadata Sequence No  5
VG Access             read/write
VG Status             resizable
MAX LV                0
Cur LV                2
Open LV               2
Max PV                0
Cur PV                2
Act PV                2
VG Size               49.88 GB
PE Size               32.00 MB
Total PE              1596
Alloc PE / Size       1596 / 49.88 GB
Free  PE / Size       0 / 0
VG UUID               0JB6GV-gFJW-onuN-7Xq1-OKim-n5gM-EVPUKB

Trigger online resizing of the live and mounted filesystem so the new disk space can be utilized immediately:
resize2fs -p /dev/mapper/VolGroup00-LogVol00

Now, the system has a bigger diskspace to play around with.

df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
45G  3.2G   40G   8% /
/dev/sda1              99M   19M   76M  20% /boot
tmpfs                1014M     0 1014M   0% /dev/shm

Bookmark and Share

Comments   Web/Tech
Related posts:

Watch Marlee Matlin at the FCC hearing on Broadband Access (cc)

Marlee Matlin shows up at around 26:20 into the video.

Bookmark and Share

Comments   Uncategorized
Related posts:

No application registered for smb://

If you have problems attempting to open CIFS/smb shares using Nautilus or Places –> Connect to Server (if using Gnome) and seeing a message about no application registered for the smb:// protocol.

These commands will register nautilus as smb:// protocol handler

$ gconftool-2 –set –type=string /desktop/gnome/url-handlers/smb/command ‘nautilus “%s”‘
$ gconftool-2 –set –type=bool /desktop/gnome/url-handlers/smb/enabled true
$ gconftool-2 –set –type=bool /desktop/gnome/url-handlers/smb/need-terminal false

Bookmark and Share

Comments   Uncategorized
Related posts:

A passage to Gallaudet University

The i’s have been dotted and the t’s have been crossed. It’s now official that I will be joining the Information Technology team at Gallaudet University this October. Gallaudet University has always been on the list of places where I would like to work. After several meetings with Jon Mitchiner and getting rave reviews about him from others, the positive vibes tell me that I’m on the right path. I came away impressed with the network infrastructure changes the Gallaudet IT team has made over time, and I’m looking forward to working with them. Among the compelling projects I’ll be focusing on will be building the new disaster recovery datacenter and migrating the Peoplesoft business system to a different hardware/OS platform.

It will be hard to leave Viable Communications, where I’ve been for the last two years. I’ve been lucky to work with people of very high caliber who made possible innovative products, such as the VPAD. I’ve learned a lot from the capable IT team; dealing with a complicated network infrastructure, the engineers who can handle all the gritty details of VoIP signaling and embedded systems, PR/media team who have output some of the most dazzling video/advertisements seen in the VRS industry, and other strong operational people. I’ve also had the privilege of meeting many Viable interpreters in person and they are all an outstanding and talented bunch of people.

While it’s well known that Viable is currently in a difficult financial predicament, I sincerely hope that the planned acquisition by Snap will be completed and both companies will emerge stronger as a result. Despite what some of the current sentiment might be, Viable still has remarkable people and resources. Everyone at Viable took a risk in joining a young start-up company because they could see the impact the company could have on deaf community. With the Snap acquisition, they will be able to right the boat and set sail again.

I wish the very best to Viable/Snap people as they get through this difficult transition and have confidence they will be able to see this through. If you are at Gallaudet University, feel free to meet me at EMG building- I’m looking forward to seeing some familiar faces there and meeting new ones!

Bookmark and Share

Comments   Deaf
Related posts:

Creating Backup of Installed Packages – APTonCD

APTonCD is a tool with a graphical interface which allows you to create one or more CDs or DVDs (you choose the type of media) with all of the packages you’ve downloaded via APT-GET or APTITUDE, creating a removable repository that you can use on other computers.

This is a test via Posterous.

Posted via web from jarednevans’s posterous

Bookmark and Share

Comments   Uncategorized
Related posts:

reset or fix your terminal if corrupted by cat a binary file

Sometimes, you’ll make the mistake of cat a binary file.  The goobley-gokey output can sometimes corrupt your terminal screen and any characters you see during output or typing doesn’t make any sense.

To fix this or reset the terminal characters, type at the terminal prompt:

echo -e “\xF”

Bookmark and Share

Comments   Uncategorized
Related posts:

Kudos to David Curlee for including the ASL terp in panel video

Wordpress is a popular CMS usually reserved for blogging but can be adapted for many different purposes.  Every year, there are Wordpress camps in different cities where web developers can go and take part in workshops to learn more about this CMS.  Thanks to Grant Laird who was persist and pushed for ASL interpreters at the 2009 WordCamp Dallas event, the deaf attendees got equal accessiblity (despite Aaron Hall’s lame comment about removing the interpreters to save money).  The event host has ensured that the deaf web developers are on an equal footing, rather than be ignored and left behind.

The icing on the cake was the video clips present by David Curlee, who apparently took the exta step of embedding the ASL interpreter onto the video of the panel discussion!  Thanks David Curlee for being smart enough to make the most of the presence of the interpreters and making the panel discussion accessible to everyone who comes across the video.  They have set a great example for other similar events.

Bookmark and Share

Comments   Uncategorized
Related posts:

openSUSE 11.1: How to install Nvidia video driver kernel module for Compiz

After a freshly-minted openSUSE installation, one of the first things that an user will want to do is to set up Compiz with its awesome 3D desktop effects.  I’ve yet to find a how-to guide online that cleanly explains the steps to take on an openSUSE system.  After a number of attempts with trial and error, I was able to figure out the correct steps and decided to write up a guide to save time/energy for any enterprising users who want their openSUSE system with a Nvidia video card to work with Compiz.

It may be possible to luck out and get a working 3D desktop if attempting the 1-click installation of Nvidia drivers for openSUSE.  While this step may seem to be trivial to have the Nvidia driver installed on the system, there is no control over the version of the driver. The version of the installed driver may not be fully compatible with the particular model of Nvidia video card on the running system.

For example, from my prior experience using Ubuntu on my system, Ubuntu recommends the older Nvidia Linux driver 180.44 for my video card which gives the best results, even when there are more recent Nvidia Linux drivers available.  To alleviate a lot of frustration on the users part, I believe that openSUSE team should look at and mimic how Ubuntu recommends a specific video driver. Ubuntu is able to present this critical piece of information to the user and makes it simple to install the correct video driver.

The steps I list below will skip the openSUSE 1-click installation of Nvidia driver and will instead download and install a specific version from Nvidia website.

1. Install openSUSE 11.1 from media then do a full update, including any new kernel upgrades. (YaST2 -> Online Update)

2. Reboot to ensure you are running up-to-date system.

3. Via YaST2 (Software management) or zypper, make sure ‘kernel’, ‘make’, and ‘gcc’ packages are installed.

5. Visit Nvidia Linux Driver webpage and find the version you want. (will use 180.44 for this example)

6. Download the script NVIDIA-Linux-x86-180.44.pkg1.run to  your Desktop

7. To exit the desktop environment to the shell so the driver can be installed, open a terminal, su to root, and type rcxdm stop

8. Once at shell, login as root

9. cd to the directory where you downloaded NVIDIA-Linux-x86-180.44.pkg1.run

10. sh NVIDIA-Linux-x86-180.44.pkg1.run -q

11. At this point, the Nvidia driver will be compiled and installed as a kernel module.

12. Reboot.  This is the easiest way to ensure you are running up-to-date system.

13. Once back in the desktop environment, need to exit it so can re-config Xorg to use the Nvidia driver. Open a terminal, su to root, and type rcxdm stop

14. Login as root

15. sax2 -r -m 0=nvidia  (The digit zero, not the letter o)
– Change configuration
– Select your monitor and resolution
– Save & exit

16. rcxdm start

17. open a terminal, su to root, and type nvidia-settings.  If you have dual screens, can set them here using twin-view.

18. close nvidia-settings, go back to terminal, exit from root back to your user login prompt.

19. simple-ccsm and check the ‘Enable Desktop Effects’ check box.

20. At this point, Compiz should start working and you’ll see all kinds of nifty 3D desktop effects.

Important note for future, if you update your kernel, Nvidia kernel module needs to be recompiled and put back in place.

To do this: cd to the directory where the Nvidia script is and run as root:

sh NVIDIA-Linux-x86-180.44.pkg1.run -K

Bookmark and Share

Comments   openSuse
Related posts:

My powerpoint presentation at DCARA vlog symposium

I’ve uploaded the presentation I gave at DCARA vlog symposium and you can view it by downloading it here.

It covers the evolving world of social media, including the changing role of blogs with new players on the scene: Facebook and Twitter.

Enjoy!

Bookmark and Share

Comments   Uncategorized
Related posts:

Twitter Mosaic

My Twitter Mosaic of people I follow:

Bookmark and Share

Comments   Uncategorized
Related posts:

A step closer to online captions! The bill is introduced in Congress!

Last Friday on June 26th, Congressman Edward Markey introduced the 21st Century Communications & Video Accessibility Act of 2009 to the Congress.  This is a significant step forward in a push for online captions on the Internet.

This bill represents the effort of many people in to improve accessibility on the Internet.

If you support this bill and want to increase the chances of it getting passed, there are three things you should do:

1) Give your thanks to Ed Markey for his help on the bill by emailing him via this form.

2) Write to your representative and ask them to help Markey by co-sponsoring H.R. 3101.

3) Write to your senators and ask them to introduce a similar bill.

Bookmark and Share

Comments   Uncategorized
Related posts:

« Previous Entries