This is a simple tutorial for beginners to SSH to a Linux host. This is quite easy with the easy-to-use software freely available but the beginners need a tutorials to start with. Hence, I write this tutorial about how to ssh to a Linux host. This tutorial is for users on Windows.
I suggest PuTTY. The download link can be found in Open Source and Portable SSH, SCP, SFTP and VNC Clients for Windows to Remote Control Linux (this post also provides links to other software that may be usefull).
At least, the user should already get the host’s name and port for SSH along with the username and password from the administrators.
Then SSH to the Linux host following this tutorial (it is short and easy to follow).
Now, you should have logged in to the Linux host with access to a shell (such as bash) and achieved the goal in this tutorial.
I write a lot latex documents and most of the documents have images in it. Latex deals EPS very well, while sometimes we need to add JPG / PNG images to it. I find converting the JPG images to EPS ones is the most convenient way to embed JPG images to latex documents. On Linux, this is quit easy with ImageMagick.
An online tool is available: JPG to EPS Converter.
You need to install ImageMagick if it is not already installed in the system:
# yum install ImageMagick
Convert image image.jpg from JPG to EPS format:
$ convert image.jpg image.eps
For other image formats, the command is similar.
In addition to returning your collectible Justin Bieber wig and your Kim Kardashian wedding photo album, don’t hesitate to return technological gadgets that provide insufficient quality for your buck. Sure, your family meant well when they gave you that cheap Android tablet, but you especially know that you can do better. By returning some of the lowest quality gifts of the season, you will have the chance to obtain better gadgets that will make your life easier.
Return: Low Quality Android Tablets — Lousy Android tablets like the PanDigital 72-70FW 7-inch tablets will be buggy and slow. In addition, they will run a version of Android that may never be updated. Better to put the money toward an Android tablet that you will actually be using five years from now.
Buy Instead: Exchange now for the Samsung Galaxy Tab, or wait just a little while for the ASUS Transformer Prime to come out. If you’re getting the Samsung, then go with the Galaxy 10.1 or 8.9. If you’re waiting for the ASUS, then just be aware that the Wi-Fi was having issues right before shipment. Some ASUS models were delayed until after Christmas so that the Wi-Fi issue could be ironed out.
Return: LCD eBook Readers — LCD eBook readers combine the functionality of an eBook reader with the advantages of a tablet. Unfortunately, the eBook tablet is a jack of all trades and a master of none.
Buy Instead: If you want an eBook reader, then choose an e-ink display like the Nook Simple Touch reader or the ever popular Kindle. If you want a tablet, then choose an Apple iPad 2, Samsung Galaxy Tab or wait for the ASUS Transformer Prime.
Return: Digital Photo Frame — These gadgets looked neat on Star Trek 20 years ago, but digital photo frames have become obsolete.
Buy Instead: Replace your digital photo frame with a tablet on your kitchen table or a slide show on your television provided by a media center or a game console.
Return: Low-End Digital Camera — Digital cameras that function on their own can easily be exchanged for a smartphone that already has a camera included. You’ll carry one less piece of equipment while enjoying the multiple advantages of a smart phone.
Buy Instead: The Samsung Galaxy S2 is one of the best Android smart phones on the market today. In addition to superior camera and video shooting technology, you’ll get an intuitive user interface and the best that the Android Market has to offer. The Apple iPhone 4S also touts an impressive camera which can put any low-end point and shoot unitasker to shame.
Return: iPod Touch — The iPod Touch is a great device, but a newer and better design is just around the corner.
Buy Instead: Wait for the next version of the iPod Touch or for the iPhone 5. The iPhone 5 promises NFC technology, which will help to transport you into the future of convenient payments and the latest in user-focused content. Also, expect an even better camera and a cleaner design.
Related posts:
VMware Player and VirtualBox are two cool and free full virtualization solutions and both can run on top of a Linux host. In this post, we introduces how to install, run, and uninstall VMware Player and VirtualBox on Fedora Linux.
Download the installation bundle from VMware’s website. For example, the file we download is: VMware-Player-4.0.0-471780.x86_64.bundle .
Install needed kernel header and devel packages
# yum install kernel-headers kernel-devel
Run the bundle file
# sh VMware-Player-4.0.0-471780.x86_64.bundle
Then just follow the instruction of the GUI of the VMware installer, and you can finish the installation.
For Fedora 16 with kernel 3.1.0 or 3.1.1 with VMware Player 4.0.0, the vmnet module can not compile vmnet module. The VMware-Player-4.0.1-528992.x86_64 fixes this problem and works well with 3.1 kernel. If you want to run VMware Player 4.0.0, the community give patches to it so that it works with kernel 3.1. The patch and script given by Stefano Angeleri works well for me. You may use it quickly by the following commands.
$ wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/09/vmware8linux31fix.tar.gz $ tar xf vmware8linux31fix.tar.gz # sh ./patch-modules_3.1.0.sh
systemctl prints a “[FAILED]” message. But you can ignore it and VMware Player works.
Just execute
$ vmplayer
Start a virtual machine just by one command
$ vmplayer /path/to/virtual/machine/config.vmx &
Give the path to the virtual machine configuration file (a .vmx file under the virtual machine’s directory) to vmplayer as its parameter.
VMware installer provides the method to uninstall VMware products. We can use this tool
# vmware-installer --uninstall-product vmware-player
It has a GUI and just follow its instruction to finish the uninstallation.
We use VirtualBox’s repository for Fedora here. We use VirtualBox-4.1 as the example.
Download the repository file.
# cd /etc/yum.repos.d # wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
Install VirtualBox using yum
# yum install VirtualBox-4.1
Just execute
$ virtualbox
Start a virtual machine just by one command
# VBoxManage startvm name_of_the_virtual_machine
VBoxManager use the virtual machine’s name as its parameter. The name can be found from VirtualBox’s virtual machine list.
As installing VirtualBox, we can uninstall (erase) it using yum
# yum erase VirtualBox-4.1

Holiday shopping for any gadget lover in your life can be confusing unless you are equally technologically inclined. Between trying to keep track of new products and who is producing the best of each and then shopping around for the best deal, it can frustrate a shopper to the point of simply going into an electronics store and letting them talk you into whatever they want to sell you. Those of you who fall into this category, take heart; you need a list to use as a jumping off point. Here are ten of the best, most sought after new technological gizmos for 2011.
Unless you have been living in a cave for several years, you will not be surprised that a fruitful techno shopping trip involves a trip to the Apple product orchard.
This is the Holy Grail of Christmas presents. As the originator of the tablet device, Apple’s head start has paid off; while its intuitive simple-to-use interface makes it ideal for even the most technophobe among us, it is still prized by those who pride themselves on being on the cutting edge of innovation. The iPad 2’s versatility assures its wide appeal; users can enjoy movies or get down to business with equal ease. Those who have ridden the latest technological wave from its beginning will especially appreciate the longevity of its battery life. Be aware, however, that all of this excellence comes at a price: between 0 and 0 except with especially good deals.
Apple devotees will consider this the only noteworthy notebook, but even those who aren’t completely sold on the “all Apple all the time philosophy of computer technology” will love this one; it is hands down the fastest and the easiest to tote with you on the go. The MacBook Air costs less than its nearest competitors and is more solidly made. Although not the lightest in weight or the one with the most memory or storage, its speed combined with its price sends it to the top of the list for those wishing for an ultrathin notebook. Cost: between 0 and 00.
Probably the most affordable member of the family, this Apple product provides HD TV streamed from either an iPhone or an iPad. Apple TV is also compatible with Netflix and the only one that can stream iTunes so even those new to the Apple family can enjoy this item. Cost: about 0.
Those not already entrenched in the Apple universe will love this ultimate in streaming devices for its multitude of programming options. Among those items available on Roku but not on Apple TV are FoxNews.com, Al Jazeera English, Facebook photos and AngryBirds. Another advantage, albeit probably a temporary one, is that Roku will stream all TV and not just the high-definition programs. Cost: about 0 or less.
This is the best all-round smart phone on the market, and many people who have not smart phoned-up want one; even those who say they do not, really do. Perhaps it is because of the importance email has achieved in our lives and the desire for mobile email capability that has fueled the passion for smart phones. Whatever the reason, HTC is a good option for both the novice and those looking to upgrade. In addition to the highly publicized 4G, it also features an 8.0 mp camera equipped with LED flash and HD capable video record and play. For many, the superior reception is reason enough to choose this phone.
Apples lovers will want nothing less than the iPhone 4S. Despite its lack of 4G, it does have a fantastic camera and there are also the innovations that can only be had with an Apple product, such as access to the iCloud, the ultimate in a hosted exchange where everything from photos to music can be safely stored and retrieved as needed by the iPhone or other Apple device.
The new Kindle goes way beyond being just an eReader; it can run thousands of applications thanks to its dual-core processor, including streaming capacities. For those who scoffed at its earlier limitations as well as those who loved its simplicity, this updated version will be much appreciated. It is perfect for those who are trying to ease their way into the multitasking device arena and makes an ideal stepping stone to more advanced gadgets.
Perfect for the Spielberg wannabe on your list, the Playsport is a sturdy mini camcorder that can go where the action is without needing kid gloves treatment. It is waterproof up to 3.0 meters (9.8 feet) yet is made of a textured plastic with rubberized grip to reduce the chance of it being dropped. Be forewarned that the Kodak Playsport will not float, so although waterproof, it will have to be retrieved before it reaches its depth limit.
Those who did not immediately buy a Wii when it first came out can pat themselves on the back; the newest addition of Nintendo Wii employs wireless and motion-sensitive technology to entertain as well as invigorate the user. This wireless feature makes it more user-friendly for shut-ins who can benefit greatly from the exercise it can provide as well as for small children who sometimes forget and become tangled in a wired device.
A big seller this year will be Playstation 3 both for its drop in price and its versatility. In addition to its obvious role as a gaming machine and its ever-expanding list of games exclusive to Playstation, it also can be used as a Blu-Ray player. Other features that illustrate how this item is a cross between a multimedia device and an entertainment center including online music streaming and Internet access capabilities.
Related posts:
Fedora’s repositories provide most of the software packages needed when using Linux. However, for various consideration, they do not provide some packages, such as MPlayer, ffmpeg. Fortunately, some community maintained repository provides these software. And they may also package propriety software, , such as ATI fglrx dive, NVIDIA driver, into rpm packages. In this post, we introduce theses additional repositories and how to install them into Fedora.
“RPM Fusion provides software that the Fedora Project or Red Hat doesn’t want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5 and 6; you can use the RPM Fusion repositories with tools like yum and PackageKit.”
RPM Fusion has two separate software repositories. The free for Open Source Software (as defined by the Fedora Licensing Guidelines) which the Fedora project cannot ship due to other reasons. The nonfree for redistributable software that is not Open Source Software (as defined by the Fedora Licensing Guidelines); this includes software with publicly available source-code that has “no commercial use”-like restrictions.
To enable access to both the free and the nonfree repository use the following command.
Released and currently supported Fedora versions:
# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm # yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
Fedora Rawhide and what will become the next Fedora version (Alpha, Beta and snapshots):
# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm # yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
This post makes a list of actions should be done to upgrade Fedora using yum. Please note that this is for experienced users only, if you are not sure what you are doing and what do these commands mean, please stop here and read the manuals first, or go to Fedora’s Wiki about upgrading Fediora using yum.
This post aims to be a general method, although we use Fedora 15 to Fedora 16 as the example. We configure and install grub2 as the bootloader.
It is a good time to remove packages we don’t use. These packages could be candidates for removal, but check to see whether you use them directly or if they are used by applications not backed by rpm packages.
# package-cleanup --leaves
You can find orphaned packages (i.e. packages not in the repositories anymore). This will also show packages which have been partially uninstalled but where the “%postun” script failed.
# package-cleanup --orphans
ctrl + alt + F2
init 3
yum update yum
yum clean all
For Fedora 16, it is
rpm --import https://fedoraproject.org/static/A82BA4B7.txt
yum --releasever=<release_number_you_want_to_sync_to> distro-sync
For upgrading Fedora 15 to Fedora 16:
yum --releasever=16 --disableplugin=presto distro-sync
Double check the updated repositories after distro-sync
yum repolist
yum groupupdate Base
List all other groups
yum grouplist
and also update them
yum groupupdate ALL GROUPS LISTED
Make configuration for grub2
/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
Install grub2
/sbin/grub2-install BOOTDEVICE
For example, to install grub2 on sda:
/sbin/grub2-install /dev/sda
cd /etc/rc.d/init.d; for f in *; do /sbin/chkconfig $f resetpriorities; done
After reboot, you may see new kernel version on new Fedora version. For example, kernel 3.1.1 on Fedora 16
[root@localhost ~]# uname -a Linux localhost.localdomain 3.1.1-1.fc16.x86_64 #1 SMP Fri Nov 11 21:47:56 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
I’ve been having the same issue for the past 4-5 days, since gmail got it’s new look here in italy (but i started having the problem even before switching to the new look)
vafer.org – Latest Comments in Gmail POP3/IMAP problems?
This is a tutorial on ns-2 which gives a overview of ns-2 and introduces how to define a simple topology and the network flow. This tutorial is based on the slides for Lab session of COMP 4622 at HKUST in the fall semester of 2011.
The slides of tutorial on ns-2 can be download from here:
Read more:
ns is a discrete-event network simulator targeted primarily for research and educational use. There are two version of ns, ns-2 and ns-3, which are quite different with each other in the implementation and method to use them. In this post, we introduce how to install ns-2 and ns-3 on Fedora Linux.
Download the allinone package
$ wget http://downloads.sourceforge.net/project/nsnam/allinone/ns-allinone-2.34/ns-allinone-2.34.tar.gz
Uncompress the pacakge
$ tar xf ns-allinone-2.34.tar.gz
Install needed pacakges
# yum install gcc make libX11-devel libXt-devel libXmu-devel
Ns-2 requires older version of gcc. So we install gcc-34 and gcc-34-c++ for it
# yum install compat-gcc-34 compat-gcc-34-c++
Install the allinon package of ns-2. During the install process, specify the CXX compiler we use
$ cd ns-allinone-2.34 $ CXX=g++34 ./install
Configure the environmental variables for ns-2 and nam, and add the executables to the PATH so that we can use ns and nam directly.
Add to ~/.bashrc if you use bash
NS_HOME=/full/path/to/ns-allinone-2.34 PATH=$NS_HOME/bin:$NS_HOME/tcl8.4.18/unix:$NS_HOME/tk8.4.18/unix:$PATH export PATH
or
Add to ~/.cshrc_user if you use c shell
setenv NS_HOME "/full/path/to/ns-allinone-2.34"
setenv PATH "${PATH}:${NS_HOME}/bin:${NS_HOME}/tcl8.4.18/unix:${NS_HOME}/tk8.4.18/unix"
setenv LD_LIBRARY_PATH "${NS_HOME}/otcl-1.13:${NS_HOME}/ns-2.34/lib:/usr/local/lib"
setenv TCL_LIBRARY "${NS_HOME}/tcl8.4.18/library"
The installation is done by this step. Open another shell and try our installation:
$ nam
and
$ ns
Install needed packages
# yum install libxml2 libxml2-devel gcc gcc-c++ make automake \ autoconf binutils openssh-server openssh-clients openssl python \ python-devel mercurial bzr scons flex bison tcpdump valgrind gdb
Download the allinone pacakge for ns-3
$ mkdir tarballs $ cd tarballs $ wget http://www.nsnam.org/release/ns-allinone-3.12.1.tar.bz2 $ tar xjf ns-allinone-3.12.1.tar.bz2
Build ns-3
$ cd ns-allinone-3.12.1/ $ ./build.py
We will now interact directly with Waf in the ns-3.12.1 directory
$ cd ns-3.12.1
Configuration with Waf
$ ./waf -d optimized configure --enable-examples; ./waf
Validate our installation by running one example
$ ./waf shell $ cd build/optimized/examples/ $ udp/udp-echo
Use tcpdump to display the simulation result
$ tcpdump -tt -r udp-echo-0-1.pcap
Read more: