Category Archives: Free Education

Creating WordPress Multisite Network

    • Install WordPress
    • Add the following line just above /* That’s all, stop editing! Happy blogging. */
    • define(‘WP_ALLOW_MULTISITE’, true);
    • Last step enables the Network Setup item in your Tools menu.
    • Go to Dashboard => Tools => Network Setup.
    • Do as directed. It will ask you to choose from the following two network options:
  • Sub-domains — a sub-domain based network in which sub-sites use subdomains. Example: http://lamp.sangkrit.net
  • Sub-directories — a path-based network in which sub-sites use directory path. Example: https://sangkrit.net/lamp
    • If you choose sub-domain network option then you will need to generate wild card from your c-panel check this tutorial: Subdomain Network: Adding A Wild-Card DNS In DNS Server
    • Network details get filled in automatically but you are free to make changes:
  • Server Address: The domain of the URL to access your WordPress installation.
  • Network Title: The title of your multisite network.
  • Admin E-mail:  Super admin’s email address for whole network.
  • Click the Install button.
  • Follow on screen instructions.  It provides you with cold blocks to add on your site’s wp-config.php and .htaccess files and prompts you to create a directory:
  • Create a directory for media file uploads. Directory should be writable by webserver.
  • Add the specified lines to your wp-config.php file
  • Add the specified lines to your .htaccess file
    If you do not have a .htaccess file, then create it in root directory.
  • Clear your browser’s cache and login to your site.
  • From your Dashboard at the top left corner you will see My Sites menu. Now you may visit your Network Administration from My Sites => Network Admin => Dashboard.

Google+ iPad App Is Now Available

Google+ new app for iPad is now available at iTunes App Store. Today Google announced this app’s release on its blog.

The best feature of this app is  Google+ “Hangouts”. Using this app one can start video chat with up to 9 friends anywhere, anytime. You may turn on ringing notifications to make your friends know about the Hangout. Google recently launched events feature on Google Plus, using this app you can manage them right from your iPhone.

Introducing New Features of this App. Google writes:

The Google+ app for iPad was designed with the device in mind. Your stream styles content based on popularity, type and orientation. We’ve also added unique ways to interact with the app—lean back and try these out:

  • Pinch and expand posts right in your stream to add your comments
  • Use two fingers to drag a post from your stream to easily re-share it
  • Start a Hangout from your iPad and stream it to your TV using AirPlay

Setting Up Linux Media Server And Sharing Files Between Multiple Linux Machines

You can connect your multiple machines for sharing multimedia files through a centralized web server. In this tutorial you will learn how to set up Firefly Media Server on Ubuntu Server.

What is Firefly Media Server?

Firefly Media Server (formerly mt-daapd) is an free and open-source media server or daemon for the Roku SoundBridge and iTunes. It serves media files using Roku Server Protocol (RSP) and Digital Audio Access Protocol (DAAP).

Features of Firefly Media Server

  • Support for running on Unix/POSIX platforms
  • Support for running on Microsoft Windows and Mac OS X
  • Support for running on the Apple Inc. iPhone and iPod touch
  • Support for MP3, AAC, Ogg, FLAC, and WMA
  • Support for Roku SoundBridge via RSP
  • Support for on-the-fly transcoding of Ogg, FLAC, ALAC, and WMA
  • On Windows platforms, on-the-fly transcoding of WMA Lossless, WMA Pro and WMA Voice.
  • Web-based configuration
  • Support for user-created smart playlists
  • Integration with iTunes library including reading playlists
  • Supports serving streaming radio stations

Installing Firefly Media Server

Since we are installing on a Ubuntu Server, the installation is simple:

  • Open Linux terminal
  • Run the command sudo apt-get install mt-daap
  • Enter the user password

Configuration

Open configuration file and look for this line:

mp3_dir = /home/media/music

In this line you need to change to reflect the directory from where you will serve your media.

Here I created a new sub-directory in /opt called music.  Perform this action by this command:

sudo mkdir /opt/media

Now make that directory DAAP server readable by using this command:

sudo chmod ug+r -R /opt/media

Other than this there are many more options available in the configuration file like server name, password protection, port, extensions, codec types and many more. Few options are described below:

  • Servername: Name your DAAP server will broadcast. Default is Firefly RELEASE_NUMBER HOSTNAME.
  • Password Protection: Limit access of users to the DAAP server.
  • Port: You may use a port other than the default (3689).
  • Extensions: The file types to be served by DAAP server.
  • Valid Codectypes: Configurations for the format conversion.

Starting Daemon

Complete configuration file, go ahead and move your media files into the directory and start the server using this command:

sudo /etc/init.d/mt-daap start

With this running server you can fire up a DAAP enabled client, just like iTunes or Songbird. DAAP server installation is good for small internal network where you can share multimedia files. It requires a running Linux server.

Migrating Multiple Blogs To WordPress Multisite

  • Export content of your existing WordPress installations from Dashboard=> Tools=> Export
  • Install WordPress
  • Activate Multisite by adding define(‘WP_ALLOW_MULTISITE’, true); in your wp-config.php
  • Open Dashboard of your new WordPress installation.
  • Open Tool=> Network Setup from Dashboard and do as directed.
  • Create blog for each site you like to import.
  • Import each site’s content you exported from old installations from Dashboard=> Tools=> Import
  • Install all themes and plugins of your old site if you like and network activate them.
  • If your old installations have their own domain names then Map domains to your main site using MU Domain Mapping

Embedding RSS Feed In Your WordPress Posts And Pages

Open Your themes function.php and add the following code at the bottom:

include_once(ABSPATH.WPINC.’/rss.php’);

function readRss($atts) {
extract(shortcode_atts(array(
“feed” => ‘http://‘,
“num” => ‘1’,
), $atts));

return wp_rss($feed, $num);
}

add_shortcode(‘rss’, ‘readRss’);

Save function.php and whenever you need to embed RSS in any of your post or page write the following short code inside your post:

[ rss feed=”https://sangkrit.net/feed” num=”5″ ]

In the above give short code replace https://sangkrit.net/feed with your feed address and in num=5 replace 5 with the number of posts you like to show.

Note: Remember there is no space between [ and rss feed and num=”5″  and  so after you copy the short code; check the space, remove it (if there is some space) and then publish it.

Network Monitoring With Etherape

EtherApe is a graphical utility that allows you to see in real-time where connections are being made on your network, or between your network or computer and the Internet. If you are experiencing unexpected network activity on your computer or LAN and wish to see where the activity is occurring. Both “local” user and “root user” installations are created; in general you must use the root user installation to see all your network traffic.

sudo apt-get install etherape

Features:

  • Network traffic is displayed graphically. The more “talkative” a node is, the bigger its representation.
  • Node and link color shows the most used protocol.
  • User may select what level of the protocol stack to concentrate on.
  • You may either look at traffic within your network, end to end IP, or even port to port TCP.
  • Data can be captured “off the wire” from a live network connection, or read from a tcpdump capture file.
  • Live data can be read from ethernet, FDDI, PPP, SLIP and WLAN interfaces, plus several other incapsulated formats (e.g. Linux cooked, PPI).
  • The following frame and packet types are currently supported: ETH_II, 802.2, 803.3, IP, IPv6, ARP, X25L3, REVARP, ATALK, AARP, IPX, VINES, TRAIN, LOOP, VLAN, ICMP, IGMP, GGP, IPIP, TCP, EGP, PUP, UDP, IDP, TP, ROUTING, RSVP, GRE, ESP, AH, EON, VINES, EIGRP, OSPF, ENCAP, PIM, IPCOMP, VRRP; and most TCP and UDP services, like TELNET, FTP, HTTP, POP3, NNTP, NETBIOS, IRC, DOMAIN, SNMP, etc.
  • Data display can be refined using a network filter using pcap syntax.
  • Display averaging and node persistence times are fully configurable.
  • Name resolution is done using standard libc functions, thus supporting DNS, hosts file, etc.
  • Clicking on a node/link opens a detail dialog showing protocol breakdown and other traffic statistics.
  • Protocol summary dialog shows global traffic statistics by protocol.
  • Node summary dialog shows traffic statistics by node.
  • Node statistics export to XML file.
  • Scrollkeeper/rarian-compatible manual integrated with yelp.

Tips For Successful WordPress Site Submission To Search Engine

  1. You can submit your site to search engines through many resources. You may do so manually. Whatever method you choose search engine welcomes the site if your content is good.
  2. Search engine scans all content whenever a site is submitted. So be sure about content, it should be there in your site.
  3. Your site should have at least 9 posts so that search engine can get something to examine and evaluate.
  4. Never submit your site to same search engine more than once a month. Never let a search engine note your anxiousness.
  5. Always be ready to copy-paste or write a brief description of your site in about 200 words.
  6. Submit those categories that belong to search engine’s directory.
  7. Keep a list of your website’s various “addresses/URLs” .
  8. You can submit your site’s root directory,  various categories and feeds to search engines. This expands your search coverage.
  9. Keep a track of what you have submitted and when to avoid random re submission.

WordPress Blogging From Android, iOS, BlackBerry, Nokia, WebOS

Making your website’s theme mobile compatible or installing any mobile theme for your WordPress site is good but you can also choose from different mobile apps available for WordPress blogging through smartphone.

WordPress for Android

You can use this for publishing new posts to your blog, responding to comments, getting notified and much more from you Android machine.

Website | Download

WordPress for iOS

iOS app lets you write posts, upload photos, edit pages, and manage comments on your blog from your iPhone, iPad, or iPod touch.

Website | Download

WordPress for BlackBerry

Post to your WordPress blog from your BlackBerry. Manage comments and media, upload videos and more with this BlackBerry native app.

Website | Download

WordPress for Nokia

Nokia app allows you to edit your existing blog content, add new posts and pages, manage comments, and more — directly from your S60 or Maemo-powered Nokia device.

Website | Download

WordPress for WebOS

WebOS represents a different way to blog. It uses Sliding Panels that makes managing existing content on your blog intuitive and powerful.  You can use visual editor for posting content to your blog.

Website | Download

Twitter Introduced Search Autocomplete And Search Within People You Follow

Twitter has introduced new search features.

  • Search Autocomplete And
  • Search Within People You Follow

In addition to recent updates to searching feature these two new features would be making twitter search more complete by putting you closer to what you are looking for.

Search Autocomplete displays a dropdown set of like keywords while you enter them in the search box. It is more useful if you are searching any topic with hash-tag.

Following list gives a brief introduction to new features. List was released by Twitter with its new search update:

  • Spelling corrections: If you misspell a term, we’ll automatically show results for your intended query.
  • Related suggestions: If you search for a topic for which people use multiple terms, we will provide relevant suggestions for terms where the majority of that conversation is happening on Twitter.
  • Results with real names and usernames: When you search for a name like ‘Jeremy Lin,’ you’ll see results mentioning that person’s real name and their Twitter account username.
  • Results from people you follow: In addition to seeing ‘All’ or ‘Top’ Tweets for your search, you can also now see Tweets about a given topic from only the people you follow when you select the ‘People you follow’ view. Viewing Tweets about a topic from just the people you follow is a great way to find useful information and join the conversation.

Here are some tweets showing how people reacted on this new feature:

Features of related search suggestions, search autocomplete and spelling corrections are also available in Twitter for iPhone and Android.

Should I Change My Mind For New Samsung Galaxy Note Sporting 5.5 Inch Screen

I am not sure whether I should change my mind about Samsung’s new Galaxy Note sporting a 5.5-inch screen. It is inconvenient for holding in one hand or against your face but size doesn’t matter if the stuff you carry makes you keep other stuff aside. Likewise hanging a laptop on your shoulder, holding a tablet in your hand, and still keeping a mobile in your pocket is a bad idea.

Nexus 7 is not a subject related to the failure of Google Plus. Google Plus was better than Facebook, it was well-integrated, fast, and really open (unlike Facebook) but it failed because it was not having the critical mass that Facebook already gained. The same thing happened with Facebook’s Email service. This time Facebook was lacking critical mass, unlike Gmail. But quoting this we cannot say that Facebook’s Email service was bad or Google doesn’t know how to work with social networking.

Nexus 7 and Samsung’s new Galaxy Note both work on Android 4.1 Jelly Bean. But I suppose Google knows better working with Android than Samsung.  Samsung was only Android’s marketing vehicle before the existence of Nexus 7.

Android is Google’s baby that Google adopted keeping in mind all its services that is why using Android on any machine prompts you to log in with your Google Account so that you can get connected with Google services hence connecting & using your Google account becomes most useful and important activity on any Android machine. I have used other Android machines and a few of them like Sony Ericsson Xperia fail to connect with Google account and you get confused between hardware and software conflicts. So why not use Nexus 7 where everything comes to Google using Google’s machine for Android is a better option as it would be working better than anything else.  So I’ll be waiting till October for Nexus 7 release in India.

Social Crawlytics – Free Social Sharing Analysis Tool

Social Crawlytics is free service used to scan website and provide reports on each page for all  major social networks.

They give you there plans out of which two are free and for the third plan which is for super large websites they ask you two contact them for information. As shown in the given image:

Start by logging-in with your Twitter Account. Click Login With Twitter.

It will ask for your permission to authorize Social Crawlytics to use your account. Authorize the app and you will be redirected automatically to your Social Crawlytics Dashboard.

Now enter the URL you want to analyze, click SUBMIT, follow few more steps and get statistical overview of progress of your articles which have fared across Facebook, Twitter, LinkedIn, Delicious, Google+ and Stumbleupon.

Using Google To Search Within A Specific Website

You may use Google to search certain keywords within a specific website. This can be done by writing Site: followed by website’s address and Keywords which you like to search. For Example:

If you want to search Extinction List in Sangkrit.Net : –

Site:sangkrit.net Extinction List

  • Press Enter

Where Site: is used as a prefix. sangkrit.net is the name of the site. and Extinction List is the keyword you are searching for.

Google Can Convert Currencies

You may use Google for converting currencies. For Example :-

If you want to convert 500 Rupees to US Dollar :-

500 INR in USD

  • Press Enter

This would display the converted amount : –

500 Indian rupees = 9.10100 U.S. dollars

In the same way you can convert USD to YEN, EUR to INR etc.etc.

Facebook Introduced App Center

I just logged in my Facebook account and got a notification “Introducing App Center” on side bar. I clicked it and now I can see a left sidebar showing category group of ALL, WEB & Mobile followed by a list of different categories:

  • Games
  • Entertainment
  • Facebook
  • Lifestyle
  • Music ‘
  • News
  • Photos & Videos
  • Sports
  • Travel & Local
  • Utilities
  • Requests

You must be knowing about each category and what it stands for as Facebook Apps are not new, only App Center is development.
Now I come to header which is showing two blocks on top left corner with these names:

  • Mobile Apps
  • Timeline Apps

Top Right corner of header shows random adds of different apps.

Body section shows two columns:

  • Suggested Apps (left column) Personalized app suggestions for you.
  • Friends’ Apps (right column) Apps that your friends have used recently.

After I scrolled a little I can see a menu of The highest rated and most used apps as follws:

  • Top Rated
  • Trending
  • Top Grossing

After moving back to home I can see icon of App Center in apps menu on left sidebar under groups and favorite section.

One Command LAMP Server Installation

Installing LAMP Server

  • Open your Linux Terminal.
  • Type: sudo apt-get install lamp-server^
  • Press Enter

Checking the Installation

  • Open a web browser
  • Type: http://localhost/
  • If your browser shows the message: “It Works” then you have successfully installed LAMP

Tasksel Method

Other than the above given method you may use the Tasksel method for installing LAMP server. Use following given commands on your Linux Terminal:

sudo apt-get install tasksel
sudo tasksel install lamp-server

PhpMyAdmin

If you need to install PhpMyAdmin for managing your website’s database:

sudo apt-get install phpmyadmin

iGoogle, Google Video, Google Mini & Others Don’t Exist On Google Any More

Google is removing the services which are not core to its business. Popular services like iGoogle, Google Video, Google Mini don’t exist anymore. Following is the listing  of services that Google has successfully removed:

  • Knol
  • Sidewiki
  • Desktop
  • Fast Flip
  • One Pass
  • Aardvark
  • Notebook
  • Google Pack
  • Google Wave
  • Google Gears
  • Image Labeler
  • Patent Search
  • Google Related
  • Subscribed Links
  • Picasa for Linux
  • Google Web Security
  • Google Friend Connect
  • Google Bookmarks Lists
  • Google Search Timeline
  • Different Slide Products
  • Google Flu Vaccine Finder
  • Google Maps API for Flash
  • Google Sync for BlackBerry
  • Mobile web app for Google Talk
  • Picasa Web Albums Uploader for Mac
  • Picasa Web Albums Plugin for iPhoto
  • Renewable Energy Cheaper than Coal (RE<C)

Ubuntu Linux: CD-Record Has No Permission To Open Device

If you are receiving common Linux error: cdrecord has no permission to open the device:

  • Open Terminal
  • Type: sudo chmod 777 /dev/scd0
  • Replace “/dev/scd0” with your device

Remember: chmod 777  grants full permission to a folder. The 777 mask indicates that read, write, and execute permission given to all users.

Searching A Specific File Format In Google

On Internet there are millions of files with different formats. Google recognizes them and hence you may search web for a specific file format. Likewise if you want to search certain book in PDF format then you should type the book’s name (in double quotes) followed by filetype and then book’s format in Google’s search box as show in the following given example:

Example: If you want to search book After The Software Wars in PDF format on world wide web:

Type as show below in Google’s search box

“After the Software Wars” filetype:PDF

Now You Can Listen Music With Your Friends On Facebook

Facebook launched new music feature. Now you can listen music with your friends on Facebook . If one your Facebook friend plays music then you and a group of other friends can join him and each one can listen the same track at the same time.

How Facebook Music Feature Works?

Check music note in the Facebook chat sidebar to know which of your friends are listening to music. You can listen the same track with your friend by hovering over their name and clicking the listen button and the music will play through the service your friend is using.

You can chat with your friends about what you are listening, others are also free to join that chat and listen along but if you want you may control your listening with others through settings.

Facebook Is Working On Want Button

Facebook is testing Want Button similar to Like Button which is used across all pages on Facebook. Developer Tom Waddington said that a Want Button is added to the Facebook Javascript SDK as an XFBML tag <fb:wants>. Facebook has yet not listed this extension publicly. The button is for the objects marked as products on Open Graph.

Developers may use this new feature of Facebook for creating their Want Buttons  but authorization of any third party application is necessary to make it work.

Facebook Want Button is a Flop or Not?

Facebook Want Button would be quiet different from Facebook Like Button. Like Button shows individual interest but Want Button would be good for business purpose.

On one hand Facebook Like Button shows the user interest in product. Anyone can show his interest on certain product likewise a person who don’t have money to buy Apple I-Pad doesn’t mean that he don’t like it.

And, On the other hand Facebook Want Button would be showing individual’s interest on getting the product or buying it. Hence it reduces ambiguity for advertisers and target audience become more clear.

How Facebook Want Button Works?

Following is the tag released by Tom Waddington for Facebook Want Button:

<fb:want href=”…”></fb:want>

Reaction of Facebook Regarding Want Button

They responded that they are always testing new Platform features, however they have nothing new to announce.