Configuring NFS Server on Fedora 18

I find that I often need to remember the steps to configuring NFSv4 on Fedora.  Note that under Fedora 18, nfs-utils may already installed depending on the options you select.

[root@master ~]# yum -y install nfs-utils

[root@master ~]# vi /etc/idmapd.conf

# line 5: uncomment and change to your domain name

Domain = server.world

[root@master ~]# vi /etc/exports

# write like below *note
/home 10.0.0.0/24(rw,sync,no_root_squash,no_all_squash)

# *note
/home ⇒ shared directory
10.0.0.0/24 ⇒ range of networks NFS permits accesses
rw ⇒ writable
sync ⇒ synchronize
no_root_squash ⇒ enable root privilege
no_all_squash ⇒ enable users’ authority

[root@master ~]# systemctl start rpcbind.service

[root@master ~]# systemctl start nfs-server.service

[root@master ~]# systemctl start nfs-lock.service

[root@master ~]# systemctl start nfs-idmap.service

[root@master ~]# systemctl enable rpcbind.service

[root@master ~]# systemctl enable nfs-server.service

[root@master ~]# systemctl enable nfs-lock.service

[root@master ~]# systemctl enable nfs-idmap.service

[via ServerWorld]

Grub2 Not Booting into Windows 7 After Fedora 17 Install

I have a number of dual boot machines working fine with earlier versions of Fedora.  After a Fedora 17 install I get, along with at locale file error message flashing up

error: invalid signature
Press any key to continue

And Windows won’t boot.  Following the example in the bugzilla.redhat.com posting I made the change of adding

set root=(hd0,msdos1)

and everything works just as it should. 

Moodle2 Installation Error with Fedora 16: The Zip PHP extension is now required by Moodle

A new installation error when installing Moodle 2, today I was working on Fedora 16 with Moodle 2.2.2+ and received this error on the Package Check Screen

Installation error: The Zip PHP extension is now required by Moodle, info-ZIP binaries or PclZip library are not used anymore.

The trick is that the Zip PHP extension was included in Fedora 15 but not Fedora 16.  There is an interesting discussion thread why.

Not to worry

Sam almost has the instructions right on, there is an assumption he makes without stating that you have php-devel installed, and he has an error in where the PHP modifications go as well as the command with systemd to restart the servers.

Try this

1. Install dependencies as root or using sudo:

yum install pcre-devel gcc zlib zlib-devel

1a. Install php-devel the same way, again as root or using sudo:

yum install php-devel

2. Install zip module using PECL (PEAR‘s sister):

pecl install zip

3. [Modified] Where you used to edit the main PHP configuration file to register the new module, now you create a zip.ini in the /etc/php.d directory.  Copy another one and remove its extension and add this text:

extension=zip.so;

4. [Modified] Restart your web server as root or using sudo:

systemctl restart httpd.service

5. Check that support is enabled using phpinfo(). You should have a section on your phpinfo() page that looks like the image below.

Screenshot of zip support shown on phpinfo() page

This should do the trick.

How Red Hat Became a Billion Dollar Business

How Red Hat killed its core product—and became a billion-dollar business

By Jon Brodkin | Published 10 days ago on Ars Technica

Read the entire article on their site, better links, related articles, comments, and serendipitous reading opportunities.

I am saving the article here as I am an unabashed RedHat supporter.  Disclaimer: I have taught RedHat Academy in High School and taught as a Red Hat Certified Instructor for three years at Working Connections.

How Red Hat killed its core product—and became a billion-dollar business

A decade ago, Linux developer Red Hat faced a decision that would make or break the company: whether to stop producing the very product that gave Red Hat its name. The company was built on Red Hat Linux, but when Paul Cormier—now the head of Red Hat’s technologies and products group—joined the company as vice president of engineering in 2001, he knew Red Hat’s devotion to open source alone couldn’t create a business model capable of standing up to the Microsofts and Oracles of the world. He pushed for drastic action.

To move from small player to big-time enterprise software competitor, Cormier argued that Red Hat had to ditch the freely downloadable Red Hat Linux. Instead, it should replace Red Hat Linux with a more robust enterprise software package that maintained the principles of free (as in freedom) software without actually being free (as in price) to customers.

People within Red Hat told Cormier he was crazy. "A lot of engineers at the time didn’t care about a business model," he told Ars. "They wanted to work on Red Hat Linux. We had some level of turmoil inside the company with going to this new model. Some engineers left, but more stayed."

Cormier’s vision required a "bet the farm decision," and he won out over the doubters when he convinced then-CEO Matthew Szulik to stop producing Red Hat Linux. The last stable release of the operating system appeared in 2003 at the same time RHEL—Red Hat Enterprise Linux—hit the market. Since then, the company has been on a steady climb in revenue and profitability, aided by the growing popularity of Linux-based servers and Red Hat’s expansion into new markets.

The company now faces new challenges as it looks to expand its empire through a big bet on the virtualization market—a market so utterly dominated by VMware that Red Hat may stand little chance. Yet Red Hat’s prominence in the enterprise Linux server market ensures growing revenue and profits for some time to come.

This week, at the end of its fiscal year on February 29, Red Hat marks a major milestone: it becomes the first billion-dollar-a-year company making its revenue entirely (or almost entirely) from building and maintaining open source software.

Raspberry Pi Fedora Remix is Ready, Want Pi!

The Raspberry Pi Fedora Remix provides a complete software environment for the Raspberry Pi, a $35 computer system designed to spur interest in computer science, software development, and electronic technology among young people. This software release marks an important milestone in Seneca’s Centre for Development of Open Technology’s (CDOT) applied research in building open source software for emerging low-energy ARM systems. Seneca students and faculty have collaborated with the Raspberry Pi Foundation – http://www.raspberrypi.org – and the Fedora Project to prepare open source software to run on this device. More information on CDOT: http://cdot.senecac.on.ca