Apr 262010
 

3rd Party Repositories:

sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

MP3 Players:

sudo yum -y install audacious audacious-plugins-freeworld*
sudo yum -y install amarok xine-lib-extras-freeworld
sudo yum -y install rhythmbox gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg
sudo yum -y install amarok xine-lib-extras-freeworld

Media Players:

sudo yum -y install mplayer mplayer-gui gecko-mediaplayer mencoder
sudo yum -y install xine xine-lib-extras xine-lib-extras-freeworld

TrueType Fonts:

sudo rpm -ivh msttcore-fonts-2.0-3.noarch.rpm

Adobe YUM repository:

sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
sudo rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
sudo yum -y install flash-plugin
sudo yum -y install AdobeReader_enu

Java:

Download the JRE from Sun.
sudo sh jre-6u18-linux-i586-rpm.bin
Use the “alternatives” command to use the Sun Java instead of the OpenJDK.
sudo /usr/sbin/alternatives –install /usr/bin/java java /usr/java/default/bin/java 20000

Mozilla Firefox Plugin for Java:

sudo /usr/sbin/alternatives –install /usr/lib/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so /usr/java/default/lib/i386/libnpjp2.so 20000

Citrix Install:

sudo rpm -Uvh ICAClient-11.100-1.i386.rpm
sudo yum -y install libXaw-1.0.6-4.fc12.i686 : I just typed the package name libXaw.
sudo yum -y install openmotif-2.3.2-5.fc12.i686

Chat Client:

sudo yum -y install pidgin

MySQL Install:

sudo yum -y install mysql mysql-server
sudo mysqladmin -u root password yourrootsqlpassword
sudo mysqladmin -h server1.example.com -u root password yourrootsqlpassword
sudo chkconfig –levels 35 mysqld on
CREATE USER ‘rob’@’localhost’ IDENTIFIED BY ‘somepass’;
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘rob’@’localhost’ WITH GRANT OPTION;
mysql> CREATE USER ‘rob’@’%’ IDENTIFIED BY ‘somepass’;
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘rob’@’%’ WITH GRANT OPTION;
mysql> CREATE USER ‘admin’@’localhost’;
mysql> GRANT RELOAD,PROCESS ON *.* TO ‘admin’@’localhost’;
mysql> CREATE USER ‘dummy’@’localhost’;

Apache Install:

sudo yum -y install httpd
sudo chkconfig –levels 235 httpd on

Go to http://localhost to test the webserver
Apache’s default document root is /var/www/html on Fedora, and the configuration file is /etc/httpd/conf/httpd.conf. Additional configurations are stored in the /etc/httpd/conf.d/ directory.

PHP Install:

sudo yum -y install php
Restart Apache –      sudo service httpd restart
sudo vi /var/www/html/info.php
Enter:
<?php
phpinfo();
?>

Save the file and go to http://localhost/info.php
PHP5 is working, and it’s working through the Apache 2.0 Handler, as shown in the Server API line. If you scroll further down, you will see all modules that are already enabled in PHP5. MySQL is not listed there which means we don’t have MySQL support in PHP5 yet.

Install PHP-MySQL:

sudo yum -y install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss php-mapserver php-mbstring php-mcrypt php-mssql php-shout php-snmp php-soap php-tidy
Restart Apache

PhpMyAdmin Install:

sudo yum -y install phpmyadmin
Restart Apache

Install KDE:

sudo yum -y install @kde-desktop
sudo yum -y install gtk-qt-engine

Install XFCE (lightweight Desktop Environment)

sudo yum -y groupinstall XFCE

NetworkManager:

How to get rid of the message “Enter password for default keyring to unlock” when running NetworkManager.

The application ‘NetworkManager Applet’ (/usr/bin/nm-applet) wants access to the default keyring, but it is locked.

The solution

  1. Right-click on the wireless applet in the task bar
  2. Find your wireless connection, and hit Edit.
  3. Check the option “Available to all users”.

CNetworkManager (Wireless Networking from Run Level 3):

yum -y install cnetworkmanager
To join a wireless network named RobHolland type: cnetworkmanager -C RobHolland –wep-hex 26DigitHexKey
To view all the wireless networks within range type: cnetworkmanager -a

.

Apr 032010
 

Debian Linux – Ubuntu

Method #1: sudo dpkg -i install_flash_player_10_linux.deb

Method #2:
$ cd /tmp
$ wget http://fpdownload.macromedia.com/get/flashplayer/current/    install_flash_player_10_linux.tar.gz
$ tar -zxvf install_flash_player_10_linux.tar.gz
$ cd install_flash_player_10_linux
$ ./flashplayer-installer

RedHat Linux – Fedora