Showing posts with label OpenSUSE. Show all posts
Showing posts with label OpenSUSE. Show all posts

Tuesday, September 21, 2010

Setting Up An NFS Server And Client On OpenSUSE 11.3

Follow me on Twitter
Last edited 09/14/2010

This guide explains how to set up an NFS server and an NFS client on OpenSUSE 11.3. NFS stands for Network File System; through NFS, a client can access (read, write) a remote share on an NFS server as if it was on the local hard disk.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

I'm using two OpenSUSE systems here:

NFS Server: server.example.com, IP address: 192.168.0.100 NFS Client: client.example.com, IP address: 192.168.0.101

 

2 Installing NFSserver:

On the NFS server we run:

yast2 -i nfs-kernel-server

Then we create the system startup links for the NFS server and start it:

chkconfig --add nfsserver
/etc/init.d/nfsserver start

client:

On the client we can install NFS as follows:

yast2 -i nfs-client

 

3 Exporting Directories On The Serverserver:

I'd like to make the directories /home and /var/nfs accessible to the client; therefore we must "export" them on the server.

When a client accesses an NFS share, this normally happens as the user nobody. Usually the /home directory isn't owned by nobody (and I don't recommend to change its ownership to nobody!), and because we want to read and write on /home, we tell NFS that accesses should be made as root (if our /home share was read-only, this wouldn't be necessary). The /var/nfs directory doesn't exist, so we can create it and change its ownership to nobody and nogroup:

mkdir /var/nfs
chown nobody:nogroup /var/nfs

Now we must modify /etc/exports where we "export" our NFS shares. We specify /home and /var/nfs as NFS shares and tell NFS to make accesses to /home as root (to learn more about /etc/exports, its format and available options, take a look at

man 5 exports

)

vi /etc/exports

# See the exports(5) manpage for a description of the syntax of this file.# This file contains a list of all directories that are to be exported to# other computers via NFS (Network File System).# This file used by rpc.nfsd and rpc.mountd. See their manpages for details# on how make changes in this file effective./home 192.168.0.101(rw,sync,no_root_squash,no_subtree_check)/var/nfs 192.168.0.101(rw,sync,no_subtree_check)

(The no_root_squash option makes that /home will be accessed as root.)

Whenever we modify /etc/exports, we must run

exportfs -a

afterwards to make the changes effective.

 

4 Mounting The NFS Shares On The Clientclient:

First we create the directories where we want to mount the NFS shares, e.g.:

mkdir -p /mnt/nfs/home
mkdir -p /mnt/nfs/var/nfs

Afterwards, we can mount them as follows:

mount 192.168.0.100:/home /mnt/nfs/home
mount 192.168.0.100:/var/nfs /mnt/nfs/var/nfs

You should now see the two NFS shares in the outputs of

df -h

client:

Thursday, September 16, 2010

How To Set Up WebDAV With Apache2 On OpenSUSE 11.3

Follow me on Twitter
Last edited 09/07/2010

This guide explains how to set up WebDAV with Apache2 on an OpenSUSE 11.3 server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the Apache server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

I'm using an OpenSUSE 11.3 server with the IP address 192.168.0.100 here.

 

2 Installing WebDAV

If Apache is not already installed, install it as follows:

yast2 -i apache2

Afterwards, enable the WebDAV modules:

a2enmod dav
a2enmod dav_fs
a2enmod dav_lock

Then create the system startup links for Apache and start it:

chkconfig --add apache2

/etc/init.d/apache2 start

 

3 Creating A Virtual Host

I will now create an Apache vhost www.example1.com in the directory /srv/www/web1/web. If you already have a vhost for which you'd like to enable WebDAV, you must adjust this tutorial to your situation.

First, we create the directory /srv/www/web1/web and make the Apache user (wwwrun) and group (www) the owner of that directory:

mkdir -p /srv/www/web1/web
chown wwwrun:www /srv/www/web1/web

Now we create the Apache vhost for www.example1.com:

vi /etc/apache2/vhosts.d/www.example1.com.conf

Installing PHP5 Debugger On OpenSUSE 11.3

PHP

This tutorial shows how to install php5 debugger (xdebug) on OpenSUSE11.3.

I suppose you have installed Apache2 and PHP5 packages through zypper or yast. If not, please run:

zypper install php5 apache2 apache2-mod_php5

The reasonI use xdebug is, as far as I know now, xdebug supports php 5.3 or above.

I have the following installation environment:

OS: OpenSUSE 11.3 32 bit

Webserver: Apache 2.2.15 linux/suse

PHP: 5.3.2, with xdebug 2.1.0

Now let's begin (I runthe following step as root, although you may not need it for some steps).

Step 1. Download xdebug 2.1.0 from http://www.xdebug.org/files/xdebug-2.1.0.tgz into /tmp directory, run tar command to unzip it, and cd into the xdebug2.1.0 directory:

cd /tmp

tar zxvf xdebug-2.1.0.tgz && cd xdebug-2.1.0

Step 2. Install additional packages before compiling xdebug, for my system, I need gcc, make, and php5-devel:

zypper install gcc make php5-devel

Step 3.  Make sure /usr/bin/phpize and /usr/bin/php-config exist (soft links to /etc/alternative/):

ls -l /usr/bin/php

Tuesday, September 14, 2010

openSUSE Announce First 11.4 Development Milestone With Improved Package Management Performance, New XOrg, KDE and GNOME

Metalink multichannel download, so package candy melts your screen, not your internet connection.

openSUSE 11.4 Milestone 1 is available today, Thursday, September 2 for developers, testers and community members to test and participate in the development of openSUSE 11.4. M1 starts off openSUSE 11.4 development at a cracking pace with performance improvements in the package management network layer and version updates to major components.

This milestone contains libzypp version 8.1, which has a new backend for http and ftp package downloads. MultiCurl replaces the old MediaAria backend, and brings support for zsync transfers and better Metalink download support. These will improve both repository refresh and package install and update performance. Metalink allows the m

openSUSE Weekly News, Issue 139 is out!

04.09.2010 IBM developerWorks/Roderick W. Smith: Resizing Linux partitions, Part 2: Advanced resizing Google Video/Chat Plugin KDE News/Sebastian Kügler: Help Test the Next Generation of KDE’s Kontact

Content:

Announcements Status Updates Team Reports In the Community New Applications Security Updates Kernel Review Tips and Tricks Planet SUSE openSUSE Forums On the Web Contact us Credits Translations

New Search for openSUSE Wiki

Here is the news that a lot of you have been waiting for!  The new wikis (en.opensuse.org, languages.opensuse.org, and dewiki.opensuse.org) have been switched to the new Lucene search engine.  The legacy wikis are still running the old search, but they will start using Lucene as they are migrated to the new wiki system.  So what should users expect with the new search?

Relevance and Ranking

The new search uses more complex algorithms to determine search rankings.  This means that you can find what you want faster.

Suggestions

The new search engine can produce suggestions based on the wiki content.  This means that it can suggest names, obscure terms, and other words that wouldn’t be found in a standard dictionary.  In addition, it can provide suggestions for whole phrases, even if all the words within the phrase are correct.

Fuzzy Searching

Not sure how to spell it?  Just add

openSUSE Weekly News, Issue 140 is out!

11.09.2010 Sankuru: Using ffmeg to batch convert cd audio files to mp3 OMG!SUSE! team: Geeko Gist – September Network World/Joe Brockmeier: Linux desktop market share: Small no matter how you measure

Content:

Announcements Status Updates Team Reports In the Community New Applications Security Updates Kernel Review Tips and Tricks Planet SUSE openSUSE Forums On the Web Contact us Credits Translations

Monday, September 13, 2010

Forum Users Benefit from openSUSE KDE Repository

Without question, users who frequent the openSUSE forums are very appreciative of all the work being done by ALL the various development teams. The progressive nature of KDE4 continues to spark a great deal of interest generally, though especially do users want options to try the latest and greatest, yet at the same time maintain a level of stability. With KDE development moving so quickly between distribution releases, users don’t want to be stuck with the distro release version of KDE. The much requested 4.5.

openSUSE Conference 2010 – Collaborate Across Borders

The openSUSE Conference brings together users, contributors and friends of the openSUSE project from 20th to 23rd October in Nuremberg, Germany. Over four days, more than seventy talks and workshops explore the theme of ‘Collaboration Across Borders‘ in Free and Open Source software communities, administration and development. The conference is the yearly get-together of  the openSUSE project to give its people a chance to meet face to face, talk to and inspire each other. It takes place in the Berufsförderungswerk Nuremberg in the beautiful surroundings of the Franconian metropole. Everybody interested is welcome to join and enjoy the program which starts each day at 9am, the admission is free.

Read on to learn more about details of the program, involved people and the event in general.

Wednesday, August 25, 2010

Installing Nginx With PHP5 And MySQL Support On OpenSUSE 11.3

Follow me on Twitter
Last edited 08/05/2010

Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on an OpenSUSE 11.3 server with PHP5 support (through FastCGI) and MySQL support.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate.

 

2 Installing MySQL 5

First we install MySQL 5 like this:

yast2 -i mysql mysql-client mysql-community-server

Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:

chkconfig --add mysql
/etc/init.d/mysql start

Now check that networking is enabled. Run

netstat -tap

The Perfect Server - OpenSUSE 11.3 x86_64 [ISPConfig 2]

PHPSambaSecurityAnti-Spam/VirusStorageVirtualizationKVMOpenVZVMwareVirtualBoxXenOtherFreeBSDCommercialMini-HowtosForumsContributeSubscriptionLoginSite Map/RSS FeedsUser login Username:
Password:
Remember Me? Create a new account
Request new passwordWho's onlineThere are currently 7 users and 2302 guests online.HowtoForge Forumspure-ftpdSell all cc contry
, dob , fullz ,
BOA, track ...Sell all cc contry
, dob , fullz ,
BOA, track ...Where is
phpmyadminpre install
question RE:
interface IP
setup...transfering
nameservers: how
long does it take?Please
help>
Unknown setting:
mechanisms ...Configure php with
Zlib in Debian
Lenny 5.0How to disable
Email
functionalityPlease remove ZEN!NewsProof SCO Knew IBM Was Involved in Linux From 1998 OnwardSome lessons from Bruce SteinbergNo Steam For LinuxGoogle Chrome OS tablet in repeat rumorfestBordeaux 2.0.8 for FreeBSD and PC-BSD ReleasedMotorola Milestone XT720 reviewTaking a Long Look at Salix OS 13.1.1 (DistroWatch Weekly #368)Matterhorn: Open source lecture recording toolHP confirms WebOS tablet for 2011Why this Linux Fan roots for MeeGo - not AndroidmoreRecent commentsHi, great tutorial. But i
1 day 13 hours agozlib change version
1 day 17 hours agoRe: Thx for this tutorial, good
2 days 3 hours agoThank you very very very
2 days 4 hours agoClamd cpu 100%
2 days 8 hours agoThanks!
2 days 10 hours agoGreat, thanks
2 days 11 hours agoRe: SQL Sever part
2 days 14 hours agoLDAP
2 days 14 hours agoI am using on my site
2 days 20 hours agoNewsletterSubscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.(To unsubscribe from our newsletter, visit this link.)Syndicate