LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > Focused4Success
User Name
Password

Notices

My OpenSUSE Configuration Articles about how I have configured my OpenSUSE Linux instance to run on MacBook Pro under Parallels.
Old

Parallels VGA Modes

Posted 11-12-2010 at 08:50 PM by Focused4Success
Updated 11-12-2010 at 09:29 PM by Focused4Success (found a better configuration)

Doh, Didn't realize I needed at allocate at least 16MB of video memory to get 1440x900x16 bit display. After increasing memory to 16MB the new video modes are available:

# hwinfo --framebuffer|grep 1440
Mode 0x033c: 1440x900 (+1440), 8 bits
Mode 0x033d: 1440x900 (+2880), 16 bits
Mode 0x033e: 1440x900 (+4320), 24 bits
Mode 0x033f: 1440x900 (+5760), 24 bits
Mode 0x0361: 720x480 (+1440), 16 bits

The X-Server crashes using the 24-bit...
LQ Newbie
Views 484 Comments 0 Focused4Success is offline
Old

Using gzip Compression in Apache to Serve Pages Faster

Posted 11-07-2010 at 07:13 AM by Focused4Success
Updated 11-07-2010 at 07:15 AM by Focused4Success

Enabling gzip compression in Apache will dramatically reduce the amount of data transmitted. This is easily accomplished by doing the following as root:

cd /etc/apache2
cat <<\! > httpd.conf.local
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ \
no-gzip dont-vary
SetEnvIfNoCase Request_URI \
\.(?:exe|t?gz|zip|bz2|sit|rar|7z)$ \
no-gzip dont-vary
SetEnvIfNoCase Request_URI \.pdf$...
LQ Newbie
Views 4199 Comments 1 Focused4Success is offline
Old

Publishing the Website

Posted 11-06-2010 at 11:42 PM by Focused4Success
Updated 11-07-2010 at 06:52 AM by Focused4Success

I haven't been able to figure out how to configure Apache to access the mounted filesystem yet. In lieu of this I created a script to just copy the files that change while I'm doing development. I created a bash script called: publish, with the following contents:

#!/bin/bash
target=/srv/www/htdocs
dir=RoseOfLife
if [ ! -d ${target}/${dir} ]
then
sudo mkdir ${target}/${dir}
fi
sudo pax -r -w -v -Y -Z . ${target}/${dir}
LQ Newbie
Views 411 Comments 0 Focused4Success is offline
Old

Using SVN with a Mac OS Host

Posted 11-06-2010 at 10:24 PM by Focused4Success

I keep all of my svn repositories under: ~/svn on my MacOS host. When accessing the repository from Mac OS the URL is:

file:///Users/username/svn/...

Under OpenSUSE the URL is:
file:///mnt/username/svn/...

To flip between the two repositories, just use the following command:

svn switch --relocate file:///Users/username/svn/folder file:///mnt/username/svn/folder

The repository was originally created using the command:...
LQ Newbie
Views 438 Comments 0 Focused4Success is offline
Old

Sharing Files between MacOS and OpenSUSE

Posted 11-06-2010 at 10:10 PM by Focused4Success

I like to keep all of my unique data and configuration scripts for my VMs on the native file system vs. mixing them in with the OS. I keep my user files under /home/username on my Mac. I access these files by mounting this filesystem as /mnt/username under OpenSUSE using CIFS. I also use a shared NIC vs. a bridged NIC to maintain security. Files created should be created with the proper user and group so they remain accessible when created over the network and accessed on the host. Finally, the...
LQ Newbie
Views 354 Comments 0 Focused4Success is offline

  



All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration