Howto: Installing Firefox 5 on Fedora 15 | Linux

Hello Friends,

Today I am posting a Trick to Install Firefox 5 on Your Linux Box.

I have Successfully tested this trick on Fedora 15.

Before Following This trick i would like to tell you that, We’ll use Non-Standard Repository for this, Non-Standard means this repository is not from any official Fedora or Red Hat Enterprise Linux.

If you are sure and you want to perform this then Please take a back up of your all Mozilla Firefox’s Current Version, like BookMarks and all that stuff.

So You have to Use this on your own risk. If you are not ready to take the risk then Don’t move ahead.

Fedora 14 and Fedora 13 Users can also Install Firefox 5 by using same method but for the same Fedora 13 and Fedora 14 users have to install following RPMs, It might work or not, I haven’t tested this but should work.

RPM To Install Firefox 5 on Fedora 13 :-  http://rpms.famillecollet.com/remi-release-13.rpm

 

 

RPM To Install Firefox 5 on Fedora 14 :-  http://rpms.famillecollet.com/remi-release-14.rpm

Perform 5 following steps to Install Firefox 5 on Fedora 15 :-

1) You need to be root to perform this howto. No Need to Switch to GUI, You can use su – and sudo also.

2) Open Your Terminal. ( Applications -> System Tools -> Terminal )

3) Now Execute Following Command on your Terminal.
rpm -ivh http://rpms.famillecollet.com/remi-release-15.rpm

4) Now Execute Following Command on Your Terminal
yum update firefox –enablerepo=remi ( Two hyphens here with space (- -enablerepo)

OR

yum install firefox –enablerepo=remi ( Two hyphens here with space (- -enablerepo)

If you want to install without asking anything then execute Following command :-
yum -y update firefox –enablerepo=remi ( Two hyphens here with space (- -enablerepo)

OR

yum -y install firefox –enablerepo=remi ( Two hyphens here with space (- -enablerepo)

5) To Start Using Firefox 5, Go to Applications -> Internet -> Firefox

That’s it for Fedora 15 .

To Install Firefox 6 On RHEL Post will come soon as soon as possible.

Hope You all like it. IF you are facing error or issue then do let me know for the same through comments i will try to help you out.

Waiting for your Comment :)

Enjoy Firefox 5 on Linux :) Enjoy Browsing on Linux :) Enjoy Linux :) Enjoy Open Source :)

[SOLVED] Fedora 15 df -h duplicate/double Mount Point Bug ???

Hi Friends,

I was very much excited to Install Fedora 15 on my Laptop, Installed it Successfully and Working fine, Shortly I am going to post steps to Install Fedora 15.

There is a 1 more reason for Excitement to Install Fedora 15 is GNOME 3. First Screen is Fantastic. I just liked it so much. Very Nice Graphics.

Exact after Installing Fedora 15, I just opened Terminal and Execute df -h guess what ??? I came to know about the Bug on Just First command. Got little bit disappointed, because df -h shows duplicate mount points. Don’t worry, Google Helped me to solve the issue.

OUTPUT looks like follow :-

Filesystem            Size  Used Avail Use% Mounted on
rootfs                 49G  4.7G   41G  11% /
udev                  490M     0  490M   0% /dev
tmpfs                 498M  560K  497M   1% /dev/shm
tmpfs                 498M  668K  497M   1% /run
/dev/sda2              49G  4.7G   41G  11% /
tmpfs                 498M  136K  497M   1% /sys/fs/cgroup
tmpfs                 498M     0  498M   0% /media
/dev/sda1             485M   31M  430M   7% /boot
/dev/sda2              49G  4.7G   41G  11% /tmp
/dev/sda2              49G  4.7G   41G  11% /var/tmp
/dev/sda3              49G  4.7G   41G  11% /tejas-barot
/dev/sda3              49G  4.7G   41G  11% /tejas-barot

In Above output you can see that it is showing multiple mount points, Duplicate mount points into df -h command.

TO SOLVE THIS ISSUE Execute Following Commands as root :-

#/etc/init.d/sandbox stop

# chkconfig sandbox off

# init 6

On Next reboot you will not see that duplicate mount points into df -h command. I don’t know the exact issue why this service is creating issue, but this is the way to solve, I am finding the thing for the same and will post it in details.

To Know about the same bug visit this link :- https://bugzilla.redhat.com/show_bug.cgi?id=701176

Hope this helps you guys, Waiting for your comment.

Enjoy Fedora 15 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂


Fedora 15 Released | Linux | Open Source

Hello,

Fedora Linux 15 is now available, providing users on the desktop with a full GNOME 3 experience including the GNOME Shell user interface.

Fedora 15, codenamed ‘Lovelock’ also introduces new security, spin, networking and virtualization features to the community Linux project, sponsored by Red Hat.

“GNOME Shell is a big change and I’d be doing people a disservice if I didn’t say that GNOME 3 and GNOME Shell is a fairly radical departure from the GNOME 2 experience,” Jared Smith, Fedora Project Leader told InternetNews.com. “That being said, a lot of people find the change refreshing.”

GNOME 3 as an upstream project was officially released in April and Fedora 15 is the first major Linux distro to include it as part of the core release. Smith noted that GNOME Shell was designed to have fewer interruptions for users and enable users to more easily access their data and applications.

The GNOME Shell is not something that everyone in the Linux community likes. Rival Linux distribution Ubuntu split with GNOME for their 11.04 release and released their own Unity user interface as a competitive alternative to GNOME 3. Smith noted that for Fedora users that don’t have the graphics hardware to run the GNOME Shell, there is a fallback mode that includes the gnome-panel, metacity and a notification-daemon.

For more :- http://itmanagement.earthweb.com/osrc/article.php/3934356/Fedora-15-Lovelock-Linux-Debuts-GNOME-3.htm

For Fedora 15 Official Release Notes :- http://docs.fedoraproject.org/en-US/Fedora/15/html/Release_Notes/

To Download Fedora 15 :- http://fedoraproject.org/get-fedora

Enjoy Fedora 15 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

Howto:Installing Firefox 4 on Linux | Fedora 14 | Fedora 13

Hello Friends,

Today I am posting a Trick to Install Firefox 4 on Your Linux Box.

I have Successfully tested this trick on Fedora 14 and for RHEL 6 ( Red Hat Enterprise Linux 6) its coming soon.

Before Following This trick i would like to tell you that, We’ll use Non-Standard Repository for this, Non-Standard means this repository is not from any official Fedora or Red Hat Enterprise Linux.

If you are sure and you want to perform this then Please take a back up of your all Mozilla Firefox’s Current Version, like BookMarks and all that stuff.

So You have to Use this on your own risk. If you are not ready to take the risk then Don’t move ahead.

Perform 5 following steps to Install Firefox 4 on Fedora 14/13 :-

1) You need to be root to perform this howto. No Need to Switch to GUI, You can use su – and sudo also.

2) Open Your Terminal. ( Applications -> System Tools -> Terminal )

3) Now Execute Following Command on your Terminal.
rpm -ivh http://rpms.famillecollet.com/remi-release-14.rpm

4) Now Execute Following Command on Your Terminal
yum update firefox –enablerepo=remi ( Two hyphens here with space (- -enablerepo)

If you want to install without asking anything then execute Following command :-
yum -y update firefox –enablerepo=remi ( Two hyphens here with space (- -enablerepo)

5) To Start Using Firefox 4, Go to Applications -> Internet -> Firefox

That’s it for Fedora 14/13 .

To Install Firefox 4 On RHEL Post will come soon as soon as possible.

Hope You all like it. IF you are facing error or issue then do let me know for the same through comments i will try to help you out.

Waiting for your Comment 🙂

Enjoy Firefox 4 on Linux 🙂 Enjoy Browsing on Linux 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

http://rpms.famillecollet.com/remi-release-14.rpm

Howto: Running TeamViewer 5/6 as root on Linux | Fedora | Ubuntu | RHEL | CentOS

Hello,

First of all Let me tell you that this HOWTO is performed on Fedora Ubuntu Red Hat Enterprise Linux and CentOS. This post is applied for TeamViewer Version 5 and 6.

Here is the post on TeamViewer on Linux Again. Hoping that you guys enjoyed previous post regarding TeamViewer Installing on Linux.

Now Here I am going to post 1 trick and tips for TeamViewer. Many Users who likes to work as root and but in TeamViewer 5 there is restriction for Running as root.

Whenever you are trying to run TeamViewer as root from Terminal, You will get message like below :-

TeamViewer must not be executed as root!

By Following very few steps you will be able to run TeamViewer as root.

Perform Following Steps to run TeamViewer As root.

  1. Of Course you have to be root to perform these all steps.
  2. Please Open Terminal on Fedora, Red Hat, CentOS ( Applications -> System Tools -> Terminal )
    Please Open Terminal on Ubuntu ( Applications -> Accessories -> Terminal )
  3. Now Lets find where exactly teamviewer command is. Execute Following command to Find it out.
    [root@tejasbarot.com]# which teamviewer
    /usr/bin/teamviewer
    <– You will get this kind of output on your terminal
  4. Be safe So First Lets take a backup of Original TeamViewer Command. Execute Following Command
    cp /usr/bin/teamviewer /usr/bin/teamviewer-orig 
  5. Let’s Open teamviewer file. Here in /usr/bin/teamviewer they have put the restriction for root user. So Lets Remove it. Open File By Executing vim /usr/bin/teamviewer and You will able to see following lines into /usr/bin/teamviewer :-

    userid=$(id -u)if [ $userid = 0 ]
    then
    echo TeamViewer must not be executed as root!
    exit 1
    fi

    CHANGE those line to

    ##userid=$(id -u)

    ##if [ $userid = 0 ]
    ##then
    ##        echo TeamViewer must not be executed as root!
    ##        exit 1
    ##fi

    Save and Exit this file ( Press “ESCthen Press :wq! )

     

  6. To Open TeamViewer from GUI. Click on Applications –> Internet -> TeamViewer
  7. To Open TeamViewer from Terminal in Fedora, Red Hat and CentOS. Click on Applications -> System Tools -> Terminal. On Terminal Execute Command teamviewerTo Open TeamViewer from Terminal in Ubuntu. Click on Applications -> Accessories -> Terminal. On Terminal Execute Command teamviewer
  8. That’s It Guys

Hope you all like this tip about Running TeamViewer as root on Fedora, Ubuntu, CentOS and RHEL. Please let me know if you face any difficulties while performing above steps. I have not tested it on Ubuntu but it should work with same way.

If you have not installed TeamViewer then please install it by visiting my previos post on TeamViewer :- http://www.tejasbarot.com/2010/12/02/installing-team-viewer-5-on-linux-teamviewer-fedora-rhel-centos-linux/

Let me have your feedback guys. Thanks for reading Article.

Enjoy TeamViewer on Linux 🙂 Enjoy TeamViewer as root 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

TeamViewer must not be executed as root!

Sudo with LDAP on RHEL 5 | RHDS | Red Hat Directory Server | OpenLDAP | Linux

Hello Friends,

On Internet this Post Known as :- Configuring sudoers with Red Hat Directory Server | Fedora Directory Server | Open Source | Linux

Yesterday at office i was trying to configure sudo with LDAP. To Configure SUDO with LDAP I have used RHEL 5 and with RHEL i have used Red Hat Directory Server and OpenLDAP with the same.

I was very shocked by Results because i was not sure that i will able to do it this in atleast 2 days, but as i said i was shocked by results that i was able to configured and get it working within 15-20 Minutes.

Requirement :- Users should authenticate with LDAP.

# cd /usr/share/doc/sudo-1.6.9p17/

Hello Friends,

Yesterday at office i was trying to configure sudo with LDAP. To Configure SUDO with LDAP I have used RHEL 5 and with RHEL i have used Red Hat Directory Server and OpenLDAP with the same.

I was very shocked by Results because i was not sure that i will able to do it this in atleast 2 days, but as i said i was shocked by results that i was able to configured and get it working within 15-20 Minutes.

Requirement :- Users should authenticate with LDAP.

# cd /usr/share/doc/sudo-1.6.9p17/

[root@station15 sudo-1.6.9p17]# ls
BUGS     HISTORY  README       sample.pam      sample.syslog.conf  schema.OpenLDAP  sudoers.pod  TROUBLESHOOTING  visudo.pod
CHANGES  LICENSE  README.LDAP  sample.sudoers  schema.iPlanet      sudoers2ldif     sudo.pod     UPGRADE
[root@station15 sudo-1.6.9p17]# cp schema.iPlanet /etc/dirsrv/schema/99sudo.ldif
[root@station15 sudo-1.6.9p17]# cp schema.iPlanet /etc/dirsrv/slapd-`hostname -s`/schema/99sudo.ldif
[root@station15 sudo-1.6.9p17]# /etc/init.d/dirsrv restart
Shutting down dirsrv:
station15…                                           [  OK  ]
Starting dirsrv:
station15…                                        [  OK  ]
[root@station15 sudo-1.6.9p17]# /etc/init.d/dirsrv-admin restart
Shutting down dirsrv-admin:
[  OK  ]
Starting dirsrv-admin:                                                            [  OK  ]
### Create LDIF Which contains below conetnt
[root@station15 ~]# cat sudoers.ldif
dn: ou=SUDOers,dc=station15,dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
ou: SUDOers
[root@station15 ~]# ldapadd -x -c -W -f sudoers.ldif
root@station15 ~]# cd /usr/share/doc/sudo-1.6.9p17/
[root@station15 sudo-1.6.9p17]# ls
BUGS     HISTORY  README       sample.pam      sample.syslog.conf  schema.OpenLDAP  sudoers.pod  TROUBLESHOOTING  visudo.pod
CHANGES  LICENSE  README.LDAP  sample.sudoers  schema.iPlanet      sudoers2ldif     sudo.pod     UPGRADE
[root@station15 sudo-1.6.9p17]# chmod +x sudoers2ldif
[root@station15 ~]# SUDOERS_BASE=ou=SUDOers,dc=example,dc=com
[root@station15 ~]# SUDOERS_BASE=ou=SUDOers,dc=station15,dc=example,dc=com
[root@station15 ~]# export SUDOERS_BASE
[root@station15 ~]# echo $SUDOERS_BASE
ou=SUDOers,dc=station15,dc=example,dc=com
[root@station15 sudo-1.6.9p17]# ./sudoers2ldif /etc/sudoers > /tmp/sudousers.ldif
[root@station15 sudo-1.6.9p17]# ll /tmp/
total 76
-rw-r–r– 1 root root  2509 Sep  9 18:33 base.ldif
-rw-r–r– 1 root root  1639 Sep  9 17:56 buildscript
-rw-r–r– 1 root root  7388 Sep  9 18:34 group.ldif
-rw-r–r– 1 root root 17976 Sep  9 18:34 passwd.ldif
-rw——- 1 root root  9760 Sep  9 18:01 setupUP3wwp.log
-rw-r–r– 1 root root  1517 Sep  9 18:30 sudousers.ldif
[root@station15 sudo-1.6.9p17]# cd
[root@station15 ~]# mv /tmp/sudousers.ldif .
[root@station15 ~]# ldapadd -x -c -W -f sudousers.ldif
Enter LDAP Password:
adding new entry “cn=defaults,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=root,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=tejasbarot,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=visitor,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=linux-support,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=ahmedabad,ou=SUDOers,dc=station15,dc=example,dc=com”

# Configure your client to authenticate with your LDAP Server

[root@station15 ~]# authconfig –enableldap –ldapserver=station15.example.com –ldapbasedn=dc=station15,dc=example,dc=com –disableldapssl –disableldaptls –update
[root@station15 ~]# getent passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
avahi-autoipd:x:100:101:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
student:x:500:500::/home/student:/bin/bash
visitor:x:501:501::/home/visitor:/bin/bash
ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
apache:x:48:48:Apache:/var/www:/sbin/nologin
linux-support:x:502:502::/home/linux-support:/bin/bash
tejasbarot:x:503:503::/home/tejasbarot:/bin/bash
ahmedabad:x:505:505::/home/ahmedabad:/bin/bash
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47:mailnull:/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51:smmsp:/var/spool/mqueue:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
pcap:x:77:77:pcap:/var/arpwatch:/sbin/nologin
ntp:x:38:38:ntp:/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
gdm:x:42:42:gdm:/var/gdm:/sbin/nologin
avahi-autoipd:x:100:101:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
student:x:500:500:student:/home/student:/bin/bash
visitor:x:501:501:visitor:/home/visitor:/bin/bash
ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
apache:x:48:48:Apache:/var/www:/sbin/nologin
linux-support:x:502:502:linux-support:/home/linux-support:/bin/bash
tejasbarot:x:503:503:tejasbarot:/home/tejasbarot:/bin/bash
ahmedabad:x:505:505:ahmedabad:/home/ahmedabad:/bin/bash
[root@station15 ~]# echo “SUDOERS_BASE ou=SUDOers,dc=station15,dc=example,dc=com” >> /etc/ldap.conf
[root@station15 ~]# echo “sudoers: ldap” >> /etc/nsswitch.conf

######### Now Just remove entries from visudo file and Login using LDAP Authentication and just execute below command
[tejasbarot@station15 ~]$ sudo -l
Enter your password when it ask you for the password and you will able to see results as below :-
udo: unknown defaults entry `env_keep ‘ referenced near line 1
User root may run the following commands on this host:
(ALL) ALL

LDAP Role: root
RunAs: (ALL)
Commands:
ALL

[tejasbarot@station15 ~]$ sudo /etc/init.d/network restart
sudo: unknown defaults entry `env_keep ‘ referenced near line 1
Password:
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0… done.
[  OK  ]

That’s It.

I hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues at http://linuxforums.tejasbarot.com

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Sudo with LDAP 🙂 Enjoy RHDS 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂