To get most hardware specifications of your desktop using Fedora 14
# yum install lshw
Usage:
# lshw -short -class disk
# lshw -short -class memory
# lshw
Subscription
Categories
- HowTos (612)
- Linux Devices (40)
- Linux Diggs (620)
- Linux News (1541)
- Linux Videos (24)
Recent Posts
Saturday, February 12, 2011
Fedora 14: How to List Down Hardware Specs
Posted by
VeRTiTO
at
10:46 AM
1 comments
Labels: HowTos, Linux Devices
Saturday, June 20, 2009
How To Perform HTTP-GET via Curl Commands inside PHP
PHP supports libcurl that allows you to connect and communicate to many different types of servers with many different types of protocols.
libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, and user+password authentication.
Here's a quick scan of how I just wasted several days and couple of hours trying to integrate simple PHP curl codes with existing API backends from Enom and Namecheap. Currently Namecheap does not have publicly available integration interface that is as simple as 1-2-3 site installation.
Now the fun begins.
$url = 'API server host';
$curl;
$curl = curl_init();
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 2);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($curl, CURLOPT_URL, $url);
$result = curl_exec($curl);
curl_close($curl);
header('Content-Type: application/xml; charset=ISO-8859-1');
print $result;
By default, curl makes use of HTTP-GET unless explicitly specified to be false and as HTTP-POST method.
This PHP codes simply checks a specified particular domain TLD via PHP form, for the possibiblity of domain existence. That's it. As we all know, the free WHOIS and DOMAINTOOLS servers are limited by request for security reason, that is why this code has been created for some time. Note that the return results from Namecheap API server https://api.sandbox.namecheap.com comes in XML format.
Probability is, this is the same approach that has been utilized for desktop and web applications like twitter, entrecard, myblog, and even YMail and GMail - the difference is that the front-end differs, where a few of them enjoyed more of AJAX and SOAP. :) The rest are PHPs.
Furthermore, these codes can also be expanded to actually register domains, and even have a full-pledged DNS control and management system acting as domain registrar platform, like Godaddy, Namecheap, Onlinenic and Enoms.
For the docs.
Posted by
VeRTiTO
at
2:40 AM
6
comments
Labels: HowTos
Friday, June 19, 2009
Fedora 11 - HTML Doc Installation
Have you ever needed a tool that converts HTML source files, into indexed HTML, or adobe postscripts or even to adobe PDF files? Here's a quick post on how to convert HTML files into indexed HTML, postscript or adobe PDF file.
What is HTMLDOC?
HTMLDOC converts HTML source files into indexed HTML, PostScript, or Portable Document Format (PDF) files that can be viewed online or printed. With no options a HTML document is produced on stdout. The second form of HTMLDOC reads HTML source from stdin, which allows you to use HTMLDOC as a filter. The third form of HTMLDOC launches a graphical interface that allows you to change options and generate documents interactively.
HTMLDOC converts Hyper-Text Markup Language ("HTML") input files into indexed HTML, Adobe® PostScript®, or Adobe Portable Document Format ("PDF") files.
HTMLDOC supports most HTML 3.2 elements, some HTML 4.0 elements, and can generate title and table of contents pages. The 1.8.x releases do not support stylesheets. HTMLDOC can be used as a standalone application, in a batch document processing environment, or as a web-based report generation application.
How To Install HTMLDOC into Fedora 11?
HTMLDOC Installation on Fedora
HTMLDOC is supported by Fedora 11 yum repos. To install, simply
# yum -y install htmldoc
The above command will also install C++ user interface toolkit called fltk.
HTMLDOC Usage
Executing HTMLDOC binary launches a GUI window where in you can customize its default settings and feed in the required input files and eve specify the output file as shown from the captured HTMLDOC window below
# htmldoc
Posted by
VeRTiTO
at
5:36 PM
0
comments
Labels: HowTos
Monday, June 8, 2009
Fedora 10: How To Install and Integrate Sun Java on x64 Systems
In order to instal Flash on 64-bit Fedora 10 linux, here's a quick guidelines on how to install macromedia flash x64 to Firefox under Fedora 10 OS.
Fedora 10: How To Install Flash x64 with Firefox
1. Download Sun Java's Linux x64 bit rpm here.
2. Chmod 700 jre-6u13-linux-x64-rpm.bin
3. ./jre-6u13-linux-x64-rpm.bin
The above now shows the License and Agreement. Press 'q' to proceed and type 'yes' to agree.
4. Issue these commands.
# update-alternatives --install "/usr/bin/java" "java" "/usr/java/jre1.6.0_12/bin/java" 20000
# update-alternatives --set java /usr/java/jre1.6.0_12/bin/java
# ln -sf /usr/java/jre1.6.0_12/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/
# mozilla-plugin-config -g -c -v
5. Restart Firefox and head on here to test your Sun Java's Fedora 10 installation.
6. To verify Mozilla plugin integration, type
about:plugins
from the address bar and confirm that you are seeing lines as shown:
libnpjp2.so
File name: libnpjp2.so
MIME Type Description Suffixes Enabled
application/x-java-vm Java Yes
application/x-java-applet Java Yes
application/x-java-applet;version=1.1 Java Yes
application/x-java-applet;version=1.1.1 Java Yes
Works great.
Posted by
VeRTiTO
at
3:08 AM
0
comments
Labels: HowTos
Wednesday, September 24, 2008
How To Reconfigure X From Terminal on Fedora 9
First time Fedora installation on untested hardware sometimes needs some tweaking encouragement and tips from time to time. At times, X just would not work. Sometimes, X is misconfigured and needs to be reconfigured. Reconfiguring X takes no standard approach depending on the type of video card you have from your box.
Posted by
VeRTiTO
at
1:45 PM
0
comments
Labels: HowTos
Wednesday, September 10, 2008
How To Selectively Archive and Backup MBox/IMAP Mails Using ArchiveMail
Maybe some of your mailboxes are quite large (eg, over 10,000 messages) and they are taking a while to load in your mail reader. Perhaps they are taking up too much space on your disk. Archiving old messages to a separate, compressed mailbox is possible. Here's a quick post on managing your mbox/imap mailboxes directly. Using this tool, you can move mail messages older than x days to a separate mbox file, or even to a compressed backup file.
What is Archivemail?
Archivemail is a tool written in Python for archiving and compressing old email in mailboxes. Archivemail can move specific and/or group of mbox/imap email messages older than the specified number of days to a separate mbox format mailbox that is compressed with gzip, or optionally just delete old email or simply archive it to separate mbox/imap file.
Here are several advantages of implementing archivemail:
1. Your mail reader will get a huge performance boost loading and reading your mail.
2. You will be taking up less disk space, since old mail will be compressed. (Mail usually compresses quite nicely.)
3. You won't be confronted with semi-obsolete mail all the time.
Features overview
* Supports archiving IMAP, mbox, MH and Maildir format mailboxes.
* Old mail can be either archived or just deleted.
* The age in days that is considered old is configurable – it defaults to 180 days. You can also set an absolute limit date.
* Messages that are flagged important are not archived or deleted unless explicitely requested.
* Can be configured to preserve unread mail.
* Can be configured to only archive messages over a given byte size.
* Stores the compressed archive mailboxes in a directory of your choice, with an extension of your choice.
* Easy read-only testing, not touching your valuable data.
* Supports IMAPS/SSL.
* When archiving IMAP mailboxes, the message selection can be refined by extending the underlying IMAP SEARCH command with arbitrary search keys (you will have to cope with the raw IMAP protocol, though).
How To Install ArchiveMail in Fedora 9
Simply issue yum
# yum -y install archivemail
Sample usage of archivemail
To archive mails older than 10 days, simply
# archivemail -d 10 root
legend:
10 - number of past days
root - mbox/imap mail
Result:
root:
archived 133 of 540 message(s) (128.0kB of 142.6MB) in 13.3 seconds
The above archivemail command moves all mbox mails that is older than 10 days and store it to root_archive.tgz as a backup mbox file. If the archive file is already existing, archivemail simple appends any results to existing archivemail archive.
To archive mbox mails older than 2008-08-10
# archivemail -D "2008-08-10" root
To specify destination folder when archiving mail, simply make use of -o parameter
# archivemail -d 30 root -o /root/archive
To delete all mails rather than archiving it, simply use archivemail as shown
# archivemail --delete -d 100 root
Use the above command with caution as it handling the mbox/imap mails directly.
To copy archived mails rather than archive it, simply
# archivemail -v --copy -d 360 mymail
By default, all archivemail output files are compressed and follow the format mailbox_archived.tgz file format. You can override the compression setting by issuing
# archivemail -d 15 root --no-compress
The above command does not compressed the file.
If you wish to execute an archivemail dry run, without actually arching mail, simply
# archivemail -v -n -d 15 mymail
All is done.
Related Posts:
How To Create Linux Backup File using RDiff-Backup
Posted by
VeRTiTO
at
12:48 AM
0
comments
Labels: HowTos
Tuesday, September 9, 2008
How To Scan DNS BIND Conf File For Errors On Fedora
What is BIND?
BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols. BIND includes a DNS server (named), which resolves host names to IP addresses; a resolver library (routines for applications to use when interfacing with DNS); and tools for verifying that the DNS server is operating properly.
When you install BIND on Fedora, BIND comes with command line utilities that you can use to check your DNS status, DNS statistics and even DNS configuration file.
Here's a quick post on how to check your DNS BIND Conf file for errors. As a requirement, DNS BIND should be currently installed from your Fedora box.
To check and scan DNS BIND configuration file for possible errors, simply issue
# named-checkconf /etc/named.conf
If you are running a chrooted-BIND, simply issue
# named-checkconf /var/named/chroot/etc/named.conf
Issuing the above commands would display any erroneous DNS BIND configuration lines. If you did not see any output from your screen, that is a good sign that your DNS BIND service would start normally.
As an example result of using named-checkconf :
# named-checkconf /var/named/chroot/etc/named.conf
/var/named/chroot/etc/named.conf:28: missing ';' before '}'
The above simply means that DNS bind is expecting a character from line 28 which is currenty missing from DNS BIND configuration file. DND BIND is expecting either the ; or } character , which is usually located at the end line from the DNS conf file.
Related Posts:
How To Configure Sendmail for DNS BlackListing Filter
How To Install and Configure Caching DNS on Fedora
How To Bypass DNS Monitoring by your ISP
Don't Be A Victim of DNS Security Holes
Posted by
VeRTiTO
at
12:20 AM
0
comments
Labels: HowTos
Monday, September 8, 2008
How To Convert White Spaces To Line Break
At times, when dealing with text file that contains numeric values that are separated by white space, there is a need to convert white spaces between numbers into line breaks or new lines.
Here's a quick tip on how to convert white space to new lines or line breaks.
As an example, a created text file contains numeric values as shown below
# cat file.txt
123 456 768
312 654 987
123 456 768
312 654 987
123 456 768
312 654 987
To remove white spaces of text file located between numbers as shown above, simply use linux tr command to convert those white spaces into line breaks or new lines.
# cat file.txt | tr ' ' '\n'
Results:
123
456
768
312
654
987
123
456
768
312
654
987
123
456
768
312
654
987
All is done.
Related Posts:
How To Delete First Word of Line from Text File
How To Delete Extra Word of Spaces Between Word from Text File
How To Delete Multiple Empty Lines From Text File
How To Remove Tabs or Tab Character from Text File
How To Rename Multiple Files Recursively
How To Delete New Lines and Return Lines from Text File
How To Remove Spaces From Filenames
String Manipulation and Parsing Using Linux Tr Command
Posted by
VeRTiTO
at
1:02 PM
0
comments
Labels: HowTos
Friday, September 5, 2008
How To Install PHPMyAdmin on Fedora 9
phpMyAdmin is an opensource tool written in PHP intended to handle the administration of MySQL database and table over the web. Currently, phpmyadmin can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges, export data into various formats and is being distributed in more than 50 languages.
PHPMyAdmin Installation on Fedora
Fedora 9 ISO images comes with PHP, MySQL and Apache as part of its distribution release. It is a requirement for PHPMyAdmin to work that the below services are currently installed, and running.
- MySQL as Backend Database Server
- Apache as HTTP Web server - Installation Here
- PHP scripting language - Installation Here
Step One
To install PHPMyAdmin using yum, simply issue
# yum -y install phpMyAdmin.noarch
Step Two
PHPMyAdmin Security Access
By default installation, phpmyadmin administration page can only be accessed from localhost via web browser for added security. If you wish to access phpmyadmin page from multiple hosts, modify phpmyadmin conf page as shown below
# vi /etc/httpd/conf.d/phpMyAdmin.conf
and edit the necessary settings. For example, if you require phpmyadmin web page to be accessible from a computer host with an IP address of 123.123.123.123, edit phpMyAdmin.conf to reflect the below similar lines
order deny,allow
deny from all
allow from 127.0.0.1
allow from 123.123.123.123
Save, exit and reload apache web server.
# service httpd reload
Step Three
PHPMyAdmin User Access Authentication
Before PHPMyAdmin can successfully connect to MySQL backend database, a MySQL username and password is needed to gain authorization to MySQL database server . To do this, simply edit PHPMyAdmin conf file like so
# vi /etc/phpMyAdmin/config.inc.php
and modify the similar lines.
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'USERNAME'; // MySQL user
$cfg['Servers'][$i]['password'] = 'PASSWORD'; // MySQL password (only needed
Replace USERNAME and PASSWORD with your MySQL username and password respectively.
By default, PHPMyadmin connects to MySQL via localhost with default port and socket. If you wish to modify these settings, change the below similar lines
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
to fit your needs.
And finally, launch your browser and point it to your PHPMyAdmin web page.
For localhost
http://localhost/phpMyAdmin/
For non-localhost apache server
http://123.123.123.123/phpMyAdmin/
Enter your MySQL username and password.
A similar phpmyadmin screenshot
More PHPMyAdmin info.Hope this helps.
Related Posts:
How To Install Apache HTTP and PHP on Fedora
How To Create a PHP Calendar
How To Install PHPAlbum Web Photo Management
Execute Linux Binary inside PHP Web Page
How To Increase PHP File Upload Limit
How To Install PHP Ioncube Encoder/Decoder
How To Redirect Page (301 HTTP Redirection) using PHP or Perl
How To Install RoundCube Webmail
Posted by
VeRTiTO
at
4:30 AM
0
comments
Labels: HowTos
How To Install K3B MP3 Audio Decoder Plugin
When starting K3B, a friend of mine complained about a MP3 decoder message that appears everytime he starts K3B. The K3B warning message is similar below
Mp3 Audio Decoder plugin not found.
K3b could not load or find the Mp3 decoder plugin. This means that you will not be able to create Audio CDs from Mp3 files. Many Linux distributions do not include Mp3 support for legal reasons.
Solution: To enable Mp3 support, please install the MAD Mp3 decoding library as well as the K3b MAD Mp3 decoder plugin (the latter may already be installed but not functional due to the missing libmad)
K3B is an opensource CD/DVD linux burning software that has a lot of useful and creative features on handling copying CD/DVD images and data. However, there are propriety library modules and rpms that were not included with the releases of Fedora for legal reasons.
To make use of a feature-rich and easy to handle CD/DVD burning application, here's how to install K3B Audio MP3 decoder.
Step One.
Install K3B. Simply instructions can be found here.
Step Two
Install Livna yum repo. Livna howtos for F7, F8, F9
Burn CD/DVD via Console Terminal
Step Three
Install additional audio MP3 decoder/encoder plugins for K3B.
# yum -y install k3b-extras-nonfree.i386
Now, launch your K3B.
Enjoy.
Related Posts:
Brasero CD/DVD Burning Software
How To Edit and Re-Encode Video Files
Posted by
VeRTiTO
at
1:05 AM
0
comments
Labels: HowTos
Wednesday, September 3, 2008
How To Install Python Module for Google Data API Services on Fedora
Recent repetitive job for the past several days triggers my subtle and sleeping mind from doing another playful hobby. Just a thought, I have convinced myself, to do some boring but interesting play, atleast give Google API a try.That is, manage and administer Google data like Blogger posts via Google Data API connecting locally using python, or even Java, from my Fedora desktop.
Did my research and found some leads.
I managed to learn few tricks and Google API tips on managing posts (Google data) to and from Google blogger using Google API, :) it is tedious but interestingly open. You can learn it too!
If you wish to access your google data and services using google API via phyton, this can be done by using Google Data APIs or Google data. This Google API provides simple protocol for reading and writing data on Google web.
Each of the following Google services provides a Google data API:
* Base
* Blogger
* Calendar
* Picasa Web Albums
* Spreadsheets
* Documents List
* Contacts
* YouTube
* Google Apps Provisioning
* Code Search
* Notebook
Sourced from Google API.
The Google Data Python Client Library provides a library and source code that make it easy to access data through Google Data APIs.
Now, one way to access Google data using Fedora is by using and installing python modules.
What is Python GData Module?
Python Gdata, sometimes referred to as python-gdata, in shortest definition, is a Python module for accessing online Google services, such as:
- Blogger
- Calendar
- Picasa Web Albums
- Spreadsheets
- YouTube
- Notebook
If you need to experiment stuff with Google data via python, python gdata installation is the first step.
How To Install Python GData on Fedora 9
# yum -y install python-gdata.noarch
The above would install the necessary requirements for you to be able to launch and execute python commands to access your Google data via web. Several requirements and dependencies are shown below:
ElementTree - For XML parsing
httplib - Part of the core Python library since version 2.0, so it should
already be present.
urllib - For URL creation and URL encoding, should already be present in
current versions of Python.
Shown below is a snipped python code via python-data on managing and playing around with Google blogger data, as an example.
# Demonstrate how to publish a public post.
public_post = self.CreatePost("Back from vacation",
"I didn't want to leave Aruba, but I ran out of money :(
",
"Post author", False)
print "Successfully created public post: \"" + public_post.title.text + "\".\n"
# Demonstrate various feed queries.
print "Now listing all posts."
self.PrintAllPosts()
print "Now listing all posts between 2007-04-04 and 2007-04-23."
self.PrintPostsInDateRange("2007-04-04", "2007-04-23")
# Demonstrate updating a post's title.
print "Now updating the title of the post we just created:"
public_post = self.UpdatePostTitle(public_post, "The party's over")
print "Successfully changed the post's title to \"" + public_post.title.text + "\".\n"
Using this approach, and several hours of python programming, steps can be taken to extend your knowledge and accomplish simple to complex Google API functions such as:
- blogger batch postings
- blogger batch deletions
- add/edit/delete/view of blogger posts
- blogger posts/posts tags edits indirectly or directly and more
I have to contact them since Blogger data posting has a default 50 limit posts per day quota. Thanks for the override help! :)
More Google API documentation can be found here.
Enjoy and have fun!
Posted by
VeRTiTO
at
2:02 AM
0
comments
Labels: HowTos
How To Install Beautiful Soup in Fedora 9
What is beautiful soup?
Beautiful Soup is a Python HTML/XML parser designed for quick turnaround projects like screen-scraping. Three features that makes Beautiful Soup powerful:
- Beautiful Soup won't choke if you give it bad markup.
- Beautiful Soup provides a few simple methods and Pythonic idioms for navigating, searching, and modifying a parse tree.
- Beautiful Soup automatically converts incoming documents to Unicode and outgoing documents to UTF-8.
Beautiful Soup parses anything you give it.
Valuable data that was once locked up in poorly-designed websites is now within your reach. Projects that would have taken hours take only minutes with Beautiful Soup.
Beautiful Soup Installation on Fedora 9
Launch yum installer to install beautiful soup rpm for Fedora 9 as shown below.
# yum -y install python-BeautifulSoup.noarch
Beautiful soup requires python to be currently installed from the system.
More information can be obtained from here along with beautiful soup documentation.
Posted by
VeRTiTO
at
1:49 AM
0
comments
Labels: HowTos
Tuesday, September 2, 2008
How To Install PHP Tidy on Fedora 9
How To Install Tidy on Fedora 9
What is Tidy?
Tidy is fundamentally a tool that reads in HTML cleans it up and writes it out again. It was developed as a program you run from the console prompt, but there are GUI encapsulations available, e.g. HTML-Kit, which you might prefer.
Tidy is a standard PHP module provides tidy library support. Tidy is currently available for PHP 4.3.x and PHP 5 as a PECL extension. Tidy can easily be installed to Fedora OS.
Tidy Installation on Fedora 9
The hard way to install tidy is by manual installation, which was based from PHP site here. The below code is a sniff copy from it taken from PHP tidy help site:
gunzip tidy-xxx.tgz
tar -xvf tidy-xxx.tar
cd tidy-xxx
phpize
./configure && make && make install
Alternatively, fedora repo supports tidy rpm, and can easily be installed using yum installer.
Step One
To install PHP Tidy module and tidy shared libraries for fedora, simply
# yum -y install libtidy.i386
# yum -y install php-tidy.i386
The default PHP-tidy conf file would be pointed to /etc/php.d/tidy.ini with a tiny library file to /usr/lib/php/modules/tidy.so .
To install tidy for Fedora as a stand alone terminal component, simply
# yum -y install tidy
If you want to use tidy with python, optionally you can install tidy phyton wrapper like so
# yum -y install python-tidy.noarch
and for perl programmers that makes use of tidy, simply install tidy perl tools
# yum -y perltidy.noarch
# yum -y perl-HTML-Tidy.i386
There is no need to edit php.ini for tidy to properly work. However, for PHP tidy reference, the default tidy configuration file set inside /etc/php.ini is currently pointed to
/usr/local/lib/php/default.tcfg
which does not bother my need at all.
More PHP TIdy info can be read here.
Posted by
VeRTiTO
at
10:50 PM
0
comments
Labels: HowTos
Thursday, August 21, 2008
How To Install Adobe Flash Player 10 into Firefox 3 under Fedora 9
The latest release for Adobe Flash Player reaches version 10, code-named Astro. As seen from Adobe's site
Adobe® Flash® Player 10, code-named "Astro," introduces new expressive features and visual performance improvements that allow interactive designers and developers to build the richest and most immersive Web experiences. These new capabilities also empower the community to extend Flash Player and to take creativity and interactivity to a new level.
The Flash Player has been improved to support new and cool internet browsing features such as 3D effects, advanced 3D layouts and more. You can visit Adobe Flash Player 10 cool features here.
Adobe Flash Player 10 Installation into Firefox 3 under Fedora 9
To install flash 10 with your Firefox browser under Fedora 9 OS, simply follow the following steps.
Step One
As root, uninstall any existing adobe flash player named flash-plugin rpm package like so
# rpm -qa | grep flash-plugin | xargs rpm -eUninstall Fedora's gnash and swfdec rpm packages like so
# rpm -qa | grep swfdec | xargs rpm -e
# rpm -qa | grep gnash | xargs rpm -eUninstalling Fedora's mozplugger rpm is not required but can be optional. Removing mozpluggerrc would disable other browser plugins of Firefox. If you wish to uninstall mozpluggerrc rpm package, simply
# rpm -qa | grep mozpluggerrc | xargs rpm -eStep Three
For i386 machines, download and install every rpm that you can find from this link
To install, simply
# rpm -ivh curl-7.18.2-3.fc9.i386.rpm
# rpm -ivh curl-debuginfo-7.18.2-3.fc9.i386.rpm
# rpm -ivh libcurl-7.18.2-3.fc9.i386.rpm
# rpm -ivh libcurl-devel-7.18.2-3.fc9.i386.rpmIf you have any existing rpm package simply use rpm upgrade like so
# rpm -Uvh curl-7.18.2-3.fc9.i386.rpm
# rpm -Uvh curl-debuginfo-7.18.2-3.fc9.i386.rpm
# rpm -Uvh libcurl-7.18.2-3.fc9.i386.rpm
# rpm -Uvh libcurl-devel-7.18.2-3.fc9.i386.rpmIf you your platform is not of i386 type, locate your machine's architecture here and download those rpms located under platform folder and install it into your F9 using the same rpm command as shown recently.
If you have earlier Fedora versions, you could get libcurl rpm of your old Fedora versions here
Step Four
Now, get back to your terminal window. Ensure that curl library is within the search path
# updatedb ; locate libcurl.so.3
/usr/lib/libcurl.so.3Ensure also that Firefox binary can be found from default path as well
# which firefox
/usr/bin/firefoxStep Five
Download Adobe Flash Player rpm plugin and install it via rpm
# wget -c http://download.macromedia.com/pub/...081108.i386.rpm
# rpm -ivh flashplayer10_install_linux_081108.i386.rpmThe above adobe flash rpm is for compiled for Fedora 9 i386 platforms, no other rpms are available for other linux platforms as of this posting.
Step Six
Go to /usr/lib/mozilla/plugins/ folder# cd /usr/lib/mozilla/plugins/
# ls -la /usr/lib/mozilla/plugins/
and make sure you have the following lines
lrwxrwxrwx 1 root root 39 2008-08-20 08:40 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.soStep Seven
Restart your firefox browser and head on to www.youtube.com to test your latest installation of adobe flash player 10.
Congratulations, you've just installed Adobe Flash Player 10!
Adobe Flash Player 10 Installation Verification
Launch Firefox browser and enter about:config as your URL . Check for adobe flash plugin lines.
Troubleshooting
Note that nspluginwrapper rpm is not required for successful installation using Fedora 9 OS. If the installation does not work, and you have earlier version of Fedora, try installing nspluginwrapper rpm using yum like so
# yum -y install nspluginwrapperHope this helps.
Related Post Articles
Earlier Adobe Flash Player 10 Version Installation
Adobe Flash Player 9 on Fedora 9
No Flash Sound Issue with Adobe Flash Player
Adobe Flash Player 8 on Fedora 8
Alternative Youtube Flash Player on Fedora 9
Posted by
VeRTiTO
at
7:46 AM
0
comments
Labels: HowTos
How To Monitor and Be Informed of IP Address Changes From Your Network
An IT client enters your company, your boss ordered you to provide a browsing local IP address for that client's laptop for one week. Your boss gave emphasis to also monitor his IP address changes if any and let him be informed immediately for such IP address changes. But you don't have access to your client's laptop. And you don't want to request access from him as well as he would immediately comprehend your intentions somehow.
And so, you provided him his temporary browsing IP address as your LAN does not support DHCP nor boot from network services. How would you monitor and log any possible IP address changes coming from the said IT client's laptop.
Introducing Arpwatch
The arpwatch package contains arpwatch and arpsnmp. Arpwatch and arpsnmp are both network monitoring tools. Both utilities monitor Ethernet or FDDI network traffic and build databases of Ethernet/IP address pairs, and can report certain changes via email. In short, arpwatch is a linux network monitoring tools for tracking IP addresses on your network.
Arpwatch Installation
# yum -y install arpwatch
Monitoring IP Address Changes By Email via Arpwatch
Edit /etc/sysconfig/arpwatch and make sure the below similar conf files exists
OPTIONS="-u arpwatch -e ver -s 'Arpwatch'"
Save and exit.
Make sure your system is configured to accept and deliver mails.
Start Arpwatch Service
# service arpwatch start
Stop Arpwatch Service
# service arpwatch start
Permanent Arpwatch Startup Between Reboot
# chkconfig --levels 35 arpwatch on
Monitoring IP Address Changes By Log via Arpwatch
By default, arpwatch send its log details to /var/log/messages. To monitor all arpwatch log messages
# tail -f /var/log/messages | grep arpwatch
# cat /var/log/messages | grep arpwatch
Monitoring IP Address Conflicts By Log via Arpwatch
To list down all IP address changes occurrences within your network reachable by your current IP address configurations
# cat /var/log/messages | grep arpwatch | grep 'flip\|flop'
Tracing IP Address Changes using Arpwatch
Get the last and known IP address changes from the target host
# cat /var/log/messages | grep "192.168.2.33"
Tracing MAC Address of IP Address Changes using Arpwatch
Retrieve all MAC Address of all host that changed their IP address to 192.168.2.33 and count their occurrences
# cat messages | grep '192.168.2.33'
Aug 14 18:05:49 ver arpwatch: bogon 192.168.2.33 0:2:6f:46:74:f
Aug 14 18:05:54 ver arpwatch: bogon 192.168.2.33 0:2:6f:46:74:f
Aug 14 18:06:05 ver arpwatch: bogon 192.168.2.33 0:2:6f:46:74:f
Aug 14 18:06:31 ver arpwatch: bogon 192.168.2.33 0:2:6f:46:74:f
Filter and count all occurrences using grep, awk, sort and uniq linux command as shown
# cat messages | grep '192.168.2.33' | awk '{print $8}' | sort | uniq -c
Tracing Other IP Address Changes Used by Target Host using Arpwatch
From the recent command, copy the MAC Address and use it as a grep filter from arpwatch log file. For example, using 0:2:6f:46:74:f as the target MAC Address, simply
# cat /var/log/messages | grep arpwatch | grep '0:2:6f:46:74:f'
Aug 16 14:03:51 ver arpwatch: bogon 192.168.2.33 0:2:6f:46:74:f
Aug 16 14:04:03 ver arpwatch: bogon 192.168.2.33 0:2:6f:46:74:f
Aug 16 14:04:03 ver arpwatch: bogon 192.168.2.33 0:2:6f:46:74:f
Aug 16 14:04:03 ver arpwatch: bogon 192.168.2.33 0:2:6f:46:74:f
The above would give you all details of IP address changes coming from the source host including the source MAC address.
Taken from the result is the MAC Address 0:2:6f:46:74:f . You can further filter out and count the number of occurrences by using grep and awk like so
# cat messages | grep arpwatch | grep '0:2:6f:46:74:f' | awk '{print $7}' | sort | uniq -c
32365 192.168.2.33
5130 192.168.100.33
The above shows more than 32,000 occurrences of bogon from 192.168.2.33 and more than 5,000 from 192.168.100.333. You can further filter out by adding IP address changes only by using flip flop filter word
# cat messages | grep arpwatch | grep 'flop' | grep '192.168.2.33' | awk '{print $7}' | sort | uniq -c
All is done
Posted by
VeRTiTO
at
6:34 AM
0
comments
Labels: HowTos
Monday, August 18, 2008
Three Steps To Have Perfect Fedora 9 Desktop Experience Part 2
After following a recent post of a perfect fedora 9 desktop, which automatically installs most requested fedora desktop softwares, you can install another and more fedora applications easily by referring to another automatic fedora installer called Easylife, as an alternative automatic installer for fedora desktop systems.
Easylife covers a lot of rpm package and features that most fedora desktop needs. Easylife can install most desktop stuff, and configure them by using mouse clicks via Linux X, which is very easy and clean.
Easylife can install a lot of fedora desktop softwares into your system and does this automatically, easily and a much more sit, watch and wait process ; well atleast compare to the steps taken using via yum and web browsers.
Here are the list that easylife fedora software can easily install into your desktop.
- Resize Fonts
- Keyboard Setup
- Setup Windows
- Iconset
- SsLockOff
- SudoSetup
- DesktopLinks
- Selinux Off
- Utc Off
- Rhgb Off
- Ntfs
- Flash
- Fonts
- Utils
- GoogleApps
- K3B
- Codecs
- MediaPlayers
- DVD Tools
- Skype
- AdobeReader
- Thunderbird
- Java
- NetworkManager
Easylife Installation on Fedora 9
Step One
Autonine rpm package removal is a must before easylife rpm installation.
# yum remove autonine
Step Two
Download and install easylife rpm. I have prepared an easylife rpm package for Fedora 9, which is available here.
After downloading the rpm file, simply
# rpm -ivh easylife-20080818-1.fc9.noarch.rpm
Step Three
Launch Easylife and configure your needed desktop needs for easylife automatic installation.
# easylife
Easylife ScreenShot
Click the image for larger image view
More info:
EasyLife at SourceForge
Easylife Website
All is done.
Posted by
VeRTiTO
at
5:40 AM
0
comments
Labels: HowTos
Three Steps To Have Perfect Fedora 9 Desktop Experience
The most common talk abouts against Fedora versions and features is most softwares needs to be installed by users either manually or using an internet installer called yum. This is geek cool for terminal-based fedora loyal users, but could be a little bit scary and dangerous to desktop and mouse-driven desktop linux users around the web.
To make desktop experience a more easy and enjoyful, here's a quick post on how to install the most wanted desktop softwares and stuff in Fedora that could make your Fedora desktop experience a great and enjoyful experience.
How To Install Most Wanted Desktop Stuff in Fedora To Make It More Enjoyable
This Fedora 9 post has been possible by using AutoNine rpm package, thanks to dangermouse for his dedication and grea job! Autonine automatic fedora installer can install the following fedora softwares for you automatically in a snap.
AutoNine Installation Feature
- flash-plugin
- dvd-playback
- java 6u5
- nvidia FX + driver
- parental controls
- broadcom 43xx
- madwifi
- ar5007
- skypre
- lightscribe
- sudo with password
- sudo no password
- frostwire
- limewire
- realplayer
- google desktop
- google picasa
- gnome color chooser
- webilder
- backgrounds
- compiz-fusion gnome
- compiz-fusion kde
AutoNine Installation on Fedora 9
Step One
On fedora 9, download autonine rpm from here or use yum as shown below. A conflict would appear if you have easylife sourceforge rpm installed, uninstall when necessary.
# yum -y install autonine
Step Two
If you download autoninee from dangermouse site, proceed below. If you use yum to install autonine, proceed to step three immediately.
# rpm -ivh autonine-0.1-9.fc9.noarch.rpm
Step Three
Launch AutoNine
# autonine
Install AutoNine on Fedora 8
On fedora 8, simply
# wget -c http://dnmouse.webs.com/scripts/dangermouse
# sh dangermouse
AutoNine Screenshot

If you are looking for graphics and wireless drivers for Fedora, visit dangermouse links here.
Posted by
VeRTiTO
at
3:49 AM
0
comments
Labels: HowTos
How To Edit and Re-Encode Video Files via Linux X
With recent post of converting a video file format to another video format using ffmpeg via terminal, here's another post on alternative means of video re-encoding with a highlight feature of video editing via linux X.
Introducing Avidemux
Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. Avidemux supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting capabilities.
Avidemux uses GTK/QT GUI as its menu and screen interface that makes it user friendly for those linux users who normally uses GNOME/KDE and any other X to perform their desktop activities. Avidemux can easily edit video files and re-encode video files to other video file formats.
Avidemux can easily help you to create MPG, MP4, Xvid DVD video files. Avidemux has features to de interlace, and resize video files and save it to another video format. You can also save and capture video frame and save it as JPG files using Avidemux.
Avidemux Installation
To install on Fedora, simply launch yum
# yum -y install avidemux
Launch Avidemux
Start video editing and re-encoding by launching avidemux like so
# avidemux2_gtk
Avidemux is available for Linux, BSD, Microsoft Windows and Mac OS X (under x11).
Avidemux Related Sites:
Avidemux Home Page
Avidemux English Documentation and Tutorial
Avidemux DVD Authoring Guide
Avidemux Template Guide
Related Post:
Video Encoder via Linux Terminal
Nero Burning Software in Linux
Brasero Linux CD/DVD Burner
K9Copy CD/DCD Copier in Fedora
Create and Burn ISO From Terminal
All is done.
Posted by
VeRTiTO
at
12:14 AM
0
comments
Labels: HowTos
Sunday, August 17, 2008
How To Find Volume Name From Terminal
ISO-9660 file system usually carries a volume name identifier called volume name. One typical ISO-9660 file system is CD-ROM. CD-ROM normally carries this CD volume name embedded from the disk. These volume name can easily be retrieved in linux via terminal.
Here's a quick post on how to find the volume name of ISO-9660 file system from linux terminal
Find Volume Name From Terminal
One of linux command normally used by CD/DVD burning software on retrieving volume name is called volname. To use volname, simply issue
# volname /dev/cdrom
Sample result:
CentOS_5.1_Final
All is done
Posted by
VeRTiTO
at
11:26 PM
0
comments
Labels: HowTos
How To Find Your Current Host ID
A host ID is a unique identifier of your computer hosts. This host ID is particualrly used for unique host's computer identification. The concept of using this unique host identifier enables most commercial software companies to ahve additional identification function to their commercial softwares. Commercial software can lock license based on this unique host or computer IDs. If ever this host ID changes, the license provided with it could also be lost and would then result to unusable license code.
Here's a quick post on how to find and retrieve your unique host ID from your linux computer
Find Your Computer Host ID
Simply issue
# hostid
Sample result
e5530840
All is done.
Posted by
VeRTiTO
at
11:18 PM
0
comments
Labels: HowTos


