RedHat Family

Open As Administrator on Fedora

Is there a nautilus gksu equivalent for Fedora?

for Open As Administrator on Fedora.

 

YES, there is. In Fedora you can use “Beesu”

 

Using Beesu

Installing Beesu

Open a terminal and install the following packages:

$sudo yum install beesu nautilus-beesu-manager 

Configuring Beesu

After you have installed the packages above, you run

$nautilus-beesu-manager

to configure how you want to use Beesu.

The most useful settings are:

Edit with gEdit Execute/Execute Application Files and Folders/Delete Selected Files Files and Folders/New File Here Files and Folders/New Folder Here Open Terminal Here Open Nautilus here < ---- 

Using Beesu

Open up Nautilus

Navigate to the file or folder you want to manage, Right-Click the mouse, select Scripts >> beesu and a list of options which you have configure earlier was available.

Please note that some options worked on folders and some options worked on files while some worked on both.

Install the PHP DOM Extension on CentOS

Here we cover the fastest, most effective way to get the PHP DOM extension installed on CentOS. If you’ve just found out you need to install this extension, but don’t really know what it is, we’ve included some background first.

What is DOM?

“The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objectsin HTMLXHTML and XML documents.” (Source: DOM in Wikipedia.)

What is PHP DOM extension?

“The DOM extension allows you to operate on XML documents through the DOM API with PHP 5.” (Source: Introduction to the PHP DOM Extension on php.net.)

How to install the PHP DOM Extension on CentOS

You will need superuser privileges. Run the following command:

sudo yum install php-xml

Don’t forget to restart Apache so PHP picks up the new extension:

sudo service httpd restart

How to Check PHP DOM is Installed

You can see PHP DOM is installed by creating a simple web page that calls the phpinfo()function:


When you go to this webpage in a browser, you should see this output for the dom extension if it’s installed:

dom

DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.26
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

Tested on CentOS 5.3. Sumber : http://smartwebdeveloper.com/centos/install-the-php-dom-extension-on-centos