Thursday, March 29, 2012

Weekly Report Dated 30,March 2012

Weekly Report Dated 30,March 2012

#1 Blog

#1.1 Install VMware Player 4.0.2 on Fedora 16/Linux :

#1.2 Install Tor and Polipo on Fedora 16 :

#1.3 Install gtk-recordmydesktop on Fedora 16

#2 Free Media

Provided Fedora 16 i686 cd + dvd

#3 miscellaneous tasks

working on ask fedora

trying to get one GUI based shell script as zenity is not that good with gui

Install gtk-recordmydesktop on Fedora 16




recordMyDesktop is a desktop session recorder for GNU / linux that attemps to be easy to use, yet also effective at it's primary task.

As such, the program is separated in two parts; a simple command line tool that performs the basic tasks of capturing and encoding and an interface that exposes the program functionality in a usable way.

The commandline tool (which essentially is recordMyDesktop) is written in C,while there are two frontends, written in python with  pyGtk (gtk-recordMyDesktop) and pyQt4 (qt-recordMyDesktop).

recordMyDesktop offers also the ability to record audio through ALSA,OSS or the JACK audio server

recordMyDesktop produces files using only open formats,These are theora for video and vorbis for audio,using the ogg container.

Install gtk-recordmydesktop


gtk-recordmydesktop is added in fedora repository,To install gtk-recordmydesktop


sudo yum install gtk-recordmydesktop


Start recording with gtk-recordmydesktop in Fedora 16

 

Wednesday, March 28, 2012

Install Tor and Polipo on Fedora 16


What is Tor ?


Tor is free software and an open network that helps you defend against a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships



Why Use Tor ?



  • Tor prevents anyone from learning your location or browsing habits.

  • Tor is for web browsers, instant messaging clients, remote logins, and more.

  • Tor is free and open source for Windows, Mac, Linux/Unix, and Android


Install Tor and Polipo on Fedora 16


1. Switch to root User


sudo -i


##OR##


su



2. Install Tor and Polipo


Polipo is a caching web proxy that can block ad networks and filters packets that might give you away.


Tor and Polipo are in Fedora repository and can be installed easily


To install Tor and Polipo



yum install tor


yum install polipo


3. Configure Polipo


Download the Polipo config file from the following link


http://www.fileserve.com/file/XX6gyMp/polipo_confignow


now rename the downloaded file as "config" and copy the file


in /etc/polipo/config


##OR##


you can do it from terminal



sudo cat polipo_config > /etc/polipo/config


Now Polipo is configured to use Tor and request can go to 127.0.0.1:8118 to be filtered by Polipo and then routed through Tor.



4. Start Tor and Polipo


To start Tor



sudo service tor start


To start Polipo



sudo /etc/init.d/polipo start


NOTE: Sometime when starting Polipo, the terminal will get stuck. Just close it and you will see that Polipo started just fine.



5. Get the Tor button for Firefox


get the Tor button for you Firefox Browser by going to


https://www.torproject.org/torbutton/




After Following all the above steps you can use the Tor directly just by clicking on tor button in Firefox

Sources: https://www.torproject.org/

http://www.pps.jussieu.fr/~jch/software/polipo/

Sunday, March 25, 2012

Install VMware Player 4.0.2 on Fedora 16/Linux


What is VMware Player ?


VMware Player is the easiest way to run multiple operating systems at the same time on your PC. With its user-friendly interface, VMware Player makes it effortless for anyone to try out Windows 8 developer release, Windows 7, Chrome OS or the latest Linux releases, or create isolated virtual machines to safely test new software and surf the Web. VMware Player can also be used to run a virtual copy of an old PC so that you can recycle the old machines you have under your desk or stored in the closet.



Features of VMware Player



  • Better than Windows XP Mode

  • Easiest Way to Play with Virtualization

  • Safest Way to Try New Software

  • Most Advanced Virtualization Platform




Install VMware Player on Fedora 16/15,Cent OS,Red Hat 6.2



1. Download VMware Player


You can download Vmware Player from VMware Download Page



2. Switch to root user


sudo -i


##OR##


su



3.Make package executable


VMware Player 4.0.2


chmod +x VMware-Player-4.0.2-591240.i386.bundle



4. Run installer



5.VMware Player Welcome Screen Licence Terms



6. Check for Product Updates



7. Check for Usage Statistics



8. Begin Installation Process



9. Installing VMware Player 4.0.2



10. VMware Player 4.0.2 Installation Successful



11. Accept End User License Agreement



12. VMware Player start up



Screenshot of VMware Player running on Fedora 16


Saturday, March 24, 2012

Installing And Using G++ On Fedora

http://www.youtube.com/watch?v=NNF4nevgjWo&feature=colike

Thursday, March 22, 2012

Weekly Report Dated March 23 2012

#1 Blog

1(a) Changed the Theme of blog

1(b) install gnome-shell-themes on gnome dsktop
1(c) Enable root login on fedora

1(d)  Install Kazam Screencaster in Fedora

#2 started helping the folks on ask.fedoraproject.org

http://ask.fedoraproject.org/users/931/akshay/

#3 Installed Fedora 16 on Dell studio

Install Kazam Screencaster in Fedora


A screencasting program created with design in mind.

Kazam is a simple screen recording program that will capture the content of your screen and record a video file that can be played by any video player that supports VP8/WebM video format.

Optionally you can record sound from any sound input device that is supported and visible by PulseAudio.



1. Download Kazam screencaster


You can Download Kazam Screencaster from its Download page



2. Switch to root user


sudo -i


##OR##



sudo -c


##OR##



su


3. Install Dependencies


Before installing Kazam you need to install some dependencies


these are the following dependencies


bzr


intltool


python-keybinder


gnome-python-rsvg


python-xlib


python-distutils


just type the given command to install them



yum install bzr intltool python-keybinder gnome-python-rsvg python-xlib python-distutils


4. Extract the Kazam tarball


tar -xvzf kazam_1.0.3.tar.gz



5.Make setup executable


To make the setup executable open the folder



cd kazam-1.0.3


now set the setup permissions



chmod +x setup.py


6 . Install Kazam


Just copy the following command to install kazam



sudo python setup.py install


7. Screenshot of Kazam on Fedora 16(Verne)




Sources : https://launchpad.net/kazam

Enable Root Login on Fedora

You can Enable root login on Fedora GUI Desktop

just follow these simple steps

1. Open Terminal


Open Terminal from Application------>System tools



2. Change root user


sudo -i


##OR##



su -c


##OR##



su


3. Create backup


Create back up of the folder


/etc/pam.d


copy the following command and replace (user name) to your user name



cp -r /etc/pam.d / /home/(username)


4. Edit File(s)


Edit /etc/pam.d/gdm configuration file


by




vi /etc/pam.d/gdm



##OR##




vim /etc/pam.d/gdm



##OR##





gedit /etc/pam.d/gdm




Comment the following line in /etc/pam.d/gdm(Put # in front of line)


auth required pam_succeed_if.so user != root quiet



after comment it should look like this



# auth required pam_succeed_if.so user != root quiet







Save and exit the editor


Do the same with files in /etc/pam.d/ starting with “pam_” configuration file


Save and close all files, reboot your Fedora system and login with root

Wednesday, March 21, 2012

Gnome shell Tweaking with Gnome-Shell Themes

Gnome a largely used Desktop environment of Linux  is now with Gnome 3.2 and with

more graphics, beautiful look and to make it simple and easy-to-use.

This is a guide on how to modify and tweak Gnome 3.2 Gnome Shell on Fedora 16, easily with application called gnome-tweak-tool as there are many themes provided by Gnome to make your Desktop look good

Ok so to install more themes on your gnome 3.2 Desktop Just follow these simple steps

1. Change root user


sudo -i


##OR##



su -c


##OR##


su



2. Install dependency


gnome-tweak-tool is a tool used as a control panel of gnome tweaking


To install gnome tweak tool



yum install gnome-tweak-tool


3. Install Gnome-Shell Themes


Install Gnome Themes



yum install gnome-shell-theme*


##OR##


If you want to install a particular theme


yum list gnome-shell-theme


you will get the list of themes available select the one you want to


install



yum install (theme name)


4. Fix Gnome Shell User Theme Bug


simply run this command to fix the bug



sed -i 's/THEME_EXT_NAME = "user-theme@gnome-shell-extensions.gnome.org"/THEME_EXT_NAME = "user-theme@gnome-shell-extensions.gcampax.github.com"/' /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_shell.py

This bug was fixed in updated gnome tweak-tool so i recommend you to update


  gnome tweak tool if its already on your system



5. Enable Theme Extension by Restarting the Gnome Shell


Restarting Gnome shell will enable the installed theme extension


to restart Gnome shell



Press ALT+F2---->a dialog box will open------>type "r" ---->Press ENTER


6. Enable/Disable or Configure Gnome shell Themes with gnome-tweak-tool


Gnome Tweak Tool Main Screen



Gnome Tweak Tool Advance Shell



Gnome Tweak Tool Shell Extensions (User Themes Extension)



Change User/Window/Shell Themes



7. Screnshots of Themes and Extensions on Fedora 16(Verne)










Monday, March 19, 2012

Install Netbeans on Fedora 16/15,openSUSE,Cent OS,Red Hat 6.2


What is Netbeans ?


NetBeans is an open-source project dedicated to providing rock solid software

development products (the NetBeans IDE and the NetBeans Platform) that

address the needs of developers, usersand the businesses who rely on

NetBeans as a basis for their products.

Whats New in NetBeans 7.1.1?



  • Improved support for CDI, EJB, JSF, Spring, Web Services

  • Support for GlassFish 3.1.1 and WebLogic 12c

  • New UI Debugger for JavaFX and Swing

  • Batch refactoring tool for bulk changes in Java Editor

  • JavaFX 2.0.2 SDK support

  • Subversion and Mercurial enhancements and bundled Git support

  • Maven enhancements


Install Netbeans on Fedora 16/15,Cent OS,Red Hat 6.2


1. Install Java JDK


I recommend you to install Sun's java as Netbeans


works good with Sun’s Java


2. Download NetBeans 7.1.1


You can download Netbeans IDE from Netbeans Download Page



3. Switch to root user


sudo -i


##OR##


su


4.Make package executable


 Netbeans 7.1.1


 [root@localhost user]#chmod +x netbeans-7.1.1-ml-linux.sh


5. Run installer



6. NetBeans IDE 7.1.1 Welcome Screen



7. Accept NetBeans 7.1.1 Licenses



8. Choose a NetBeans 7.1.1 Installation Directory and JDK version



9. Check NetBeans 7.1.1 Installation Summary



10.Installing NetBeans 7.1.1 IDE



11.NetBeans 7.1.1 IDE Installation Complete



12.Start NetBeans 7.1.1 IDE



NetBeans 7.1 IDE running on Fedora 16


Install Gnome Shell Extensions on Fedora 16



You can easily tweak your Fedora 16 using extensions . With this guide you have two option, install all extensions once or install just fe of them  what you want to use. There’s a lot of  extensions, but those which are presented in this guide can be installed via the YUM package management, as well as they are of good quality.

1. Switch to root user


su


##OR##


sudo -i


2 Install gnome-tweak-tool

gnome-tweak-tool works as a dependency for installing extensions

to install gnome-tweak tool copy the following

[root@localhost ~]#yum install gnome-tweak-tool

3.Install Gnome-Shell extensions

3.1 Classic Alt+Tab behavior (Window based instead of app based URL)


Lets you use classic Alt+Tab (window-based instead of app-based)


in GNOME Shell. GNOME Shell groups multiple instances of the same


application together


yum install gnome-shell-extension-alternate-tab


NOTE: This extension disables grouping.


 3.2 Replace Suspend with “Power off” on user menu  


For those who want a power off item visible at all the time,


replaces GNOME Shell user menu with one featuring separate


Suspend and Power Off. Adds the ability to hibernate as well.


yum install gnome-shell-extension-alternative-status-menu


3.3 GNOME 2.style application menu for GNOME Shell


yum install gnome-shell-extension-apps-menu


3.4 Assign workspaces to applications


Lets you manage your workspaces more easily, assigning a specific workspace to each application as soon as it creates a window, in a manner configurable with a GSettings key.


yum install gnome-shell-extension-auto-move-windows


3.5 Collection of extensions providing additional and optional functionality to GNOME Shell


GNOME Shell Extensions is a collection of extensions providing additional and optional functionality to GNOME Shell. Common files and directories needed by extensions are provided here.


yum install gnome-shell-extension-common


3.6 Show CPU temperature on GNOME Shell


Gnome Shell Extensions that adds an applet on the panel which reveals current CPU  temperature in Degree Celsius and Fahrenheit.


yum install gnome-shell-extension-cpu-temperature


3.7 Shows a dock-style task switcher permanently


Shows a dock-style task switcher on the right side of the screen permanently.


yum install gnome-shell-extension-dock


3.8 Disk device manager in the status area


Adds a menu in the system status area that tracks removable disk devices


attached and offers to browse them and eject/unmount them.


yum install gnome-shell-extension-drive-menu  


3.9 GNOME Shell extension for GPaste


yum install gnome-shell-extension-gpaste


3.10 Manage icons in top bar


A gnome-shell extension to manage icons in top bar. Add/remove icons


from top bar panel by simple editing gsettings.


yum install gnome-shell-extension-icon-manager


3.11 Control Mediaplayers


A gnome-shell extension to control mediaplayers. Gnome shell extension


Mediaplayers is a simple extension for displaying player control, music &


music cover in Gnome Shell.


yum install gnome-shell-extension-mediaplayers


3.12 Arrange Windows in Overview


Arrange windows in overview in a more native way.This extension employs an


algorithm(taken from KDE) for layouting the thumbnails in the overview that


more closely reflects the positions and relativesizes of the actual windows,


instead of using a fixed grid.


yum install gnome-shell-extension-native-window-placement


3.13 Remove Name and IM Status


A gnome-shell extension for removing the name and the IM status


yum install gnome-shell-extension-noim


3.14 Disable Hot Corner Ripple Effects


This Gnome Shell extension disables Activities hot corner ripple effects


yum install gnome-shell-extension-noripple


3.15 Pidgin Integration


This package contains the necessary components to integrate pidgin with GNOME Shell


yum install gnome-shell-extension-pidgin


3.16 Gnome 2 Style Menu


Places menu indicator in the system system status area that resembles


the Places menu from GNOME 2


yum install gnome-shell-extension-places-menu


3.17 Remove Accessibility Icon


 A gnome-shell extensions for removing the accessibility icon.


This simple extension does nothing more than to remove the


accessibility icon in the top right corner of the GNOME panel.


yum install gnome-shell-extension-remove-accessibility-icon


3.18 Remove Bluetooth Icon


Removes the Bluetooth icon from upper right corner of Desktop


yum install gnome-shell-extension-remove-bluetooth-icon


3.19 Remove Volume Icon


Removes volume icon


yum install gnome-shell-extension-remove-volume-icon


3.20 Top Right Hot Corner


A gnome-shell extension for an additional hot corner to upper right of monitor.


yum install gnome-shell-extension-righthotcorner


3.21 Monitor Your System Status


yum install gnome-shell-extension-systemMonitor


 3.22 Gnome Shell User Theme Selector


yum install gnome-shell-extension-theme-selector


3.23 Lets the User Select a Custom Theme for the Shell


Lets the user select a custom theme for the Gnome shell.


yum install gnome-shell-extension-user-theme


3.24 Keyboard Selection of Windows and Workspaces in Overlay Mode


Allow keyboard selection of windows and work-spaces in overlay


mode in GNOME Shell.


yum install gnome-shell-extension-windowsNavigator


 3.25 Workspace Indicator


yum install gnome-shell-extension-workspace-indicator


3.26 Fast Switching Workspaces


yum install gnome-shell-extension-workspacesmenu


3.27 Monitor Status Indicator


yum install gnome-shell-extension-xrandr-indicator



4. Enable / Disable and Configure Gnome Shell Extensions and Themes on Fedora 16


4.1 Open gnome-tweak-tool


On menu it’s called Advanced Settings or on Terminal write:


gnome-tweak-tool


4.2 Advanced Settings (gnome-tweak-tool) Basic Config Screen


Make syntax of vi look like vim /Change vi syntax highlighting on Linux

A simple and easy way to make you vi editor look like vim

1.Change root user


sudo -i


##OR##


su



2.Install Vim enhanced package


 [root@localhost user]#yum install vim-enhanced


3.Check for version

 vim --version


 it will look like this



4.Set the alias pointing vi to vim


alias vi=vim


to make it permanent open ~./bashrc or /etc/profile  or /etc/profile.d/vi-vim.sh(depends on os)



5.Test changes


Install PHP-FPM/Nginx on Fedora 16/15

install Nginx with PHP 5.3.10 and PHP-FPM on Fedora 16/15/14

PHP-FPM is easier to use and configure than FastCGI and some tests says that PHP-FPM is even much more efficient than FastCGI.

Nginx (engine x) is a robust, small and high performance http server, reverse proxy server and also mail proxy server.

PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

1. Change to root user

sudo -i


##OR##


su


2. Install repositories

Remi Dependency on Fedora 16, 15, 14


rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm


rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm


Fedora 16


rpm -Uvh http://rpms.famillecollet.com/remi-release-16.rpm


Fedora 15


rpm -Uvh http://rpms.famillecollet.com/remi-release-15.rpm


Fedora 14


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


3. Install Nginx, PHP 5.3.10 and PHP-FPM

Fedora 16


yum install nginx php php-fpm php-common


Fedora 15/14


yum --enablerepo=remi install nginx php php-fpm php-common


4. Install PHP 5.3.10 modules

PHP 5.3.10 modules


APC (php-pecl-apc)


CLI (php-cli)


PEAR (php-pear)


PDO (php-pdo)


MySQL (php-mysql)


PostgreSQL (php-pgsql)


MongoDB (php-pecl-mongo)


SQLite (php-sqlite)


Memcache (php-pecl-memcache)


Memcached (php-pecl-memcached)


GD (php-gd)


XML (php-xml)


MBString (php-mbstring)


MCrypt (php-mcrypt)


To install all these modules on Fedora 16/15/14


yum --enablerepo=remi install php-pecl-apc php-cli php-pear php-pdo php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xm


5. Stop Apache server, Start Nginx HTTP server and PHP-FPM (FastCGI Process Manager)

Stop Apache(httpd)


systemctl stop httpd.service


##OR##


service httpd stop


Start Nginx


/etc/init.d/nginx start


##OR##


service nginx start


Start PHP-FPM


/etc/init.d/php-fpm start


##OR##


systemctl start nginx.service


6. Autostart Nginx and PHP-FPM on boot, also prevent httpd (Apache) autostarting on boot

Stop Apache autostarting on boot


systemctl disable httpd.service


##OR##


chkconfig httpd off


Autostart Nginx on boot


chkconfig --add nginx


chkconfig --levels 235 nginx on


Autostart PHP-FPM on boot


chkconfig --add php-fpm


chkconfig --levels 235 php-fpm on


7.Enable Remote Connection to Nginx Web Server

7(A).Edit /etc/sysconfig/iptables file


nano -w /etc/sysconfig/iptables


7(B).Add following line before you COMMIT


-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT


7(C).Restart Iptables Firewall


service iptables restart


##OR##


/etc/init.d/iptables restart

Install avant window navigator on Fedora 16/15



Install avant Window navigator through Binary Packages


Awn is included in the Fedora repositories for version 8 and up.

1. Switch to root user

sudo -i


##OR##


su


##OR##


sudo -s


2. Check for Repository update

[root@localhost ~]# yum repolist


[root@localhost ~]#yum check-update


##OR##


[root@localhost ~]#yum update


3.Remove any previously installed packages of awn-applets-core

[root@localhost ~]#rpm -e awn-applets-core


4.Install Avant Window Navigator on Fedora 16/15/14 on 32/64-bit

[root@localhost ~]#yum install avant-window-navigator awn-extras-applets


Install Avant Window navigator from Source


1.Download the source

to download the tarball click on the link below


https://launchpad.net/awn/+download




2.Unpack the tarball

[root@localhost ~]#tar -xzvf avant-window-navigator-0.4.0.tar.gz


3.Go to the source directory

[root@localhost ~]#cd avant-window-navigator -0.4.0


4.Run the configure script

[root@localhost avant-window-navigator-0.4.0]#./configure


By default, ./configure puts awn in the prefix /usr/local ,


so if you would like to install awn in a different location,


you need to specify the path


[root@localhost avant-window-navigator-0.4.0]#./configure --prefix=[PREFIX]  /usr/bin


5.Compile awn and associated libraries/helper programs

[root@localhost avant-window-navigator-0.4.0]#make


6. Install awn to the prefix specified (if you didn't specify one, it is installed by default to /usr/local)

[root@localhost avant-window-navigator-0.4.0]#make install


##OR##


if specified prefix


[root@localhost avant-window-navigator-0.4.0]# make install /usr/bin


after this you need to run a command ldconfig


[root@localhost avant-window-navigator-0.4.0]#ldconfig


ldconfig will ldconfig creates the necessary links and cache to the most recent shared libraries


7.Start avant-window-navigator

start avant-window navigator from menu


go to Applications----->Accessories------>avant-window-navigator


start avant-window navigator from terminal


[user@localhost ~]$avant-window-navigator &


NOTE:

in fedora 16 if you get the crash report or if avant-window navigator crashed then


kill the gconfd-2 process and restart avant-window navigator


[user@localhost ~]$killall gconfd-2


[user@localhost ~]$avant-window-navigator &

Saturday, March 17, 2012

Install Adobe Flash Player on fedora 16/15



This will guide you to install adobe flash player on your fedora 16/15

32-bit/64-bit

1. Switch to root user

sudo -i


##OR#


su


2.  Get  Adobe YUM Repository

-----------Adobe Repository 32-bit i686------------

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

---------Adobe Repository 64-bit x86_64----------

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

3. Cheack for Repository update

[root@localhost ~]# yum repolist

[root@localhost ~]#yum check-update

##OR##

[root@localhost ~]#yum update

4. Install Adobe Flash Player on Fedora 16/15/14 on 32/64-bit

[root@localhost ~]#yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl

6. Verify that the Flash Player Plugin is working

Open Mozilla Firefox and write about:plugins on address bar

Check for following

Related Posts Plugin for WordPress, Blogger...