Wednesday, July 1, 2015

Upgrade Fedora 21 to Fedora 22

Fedora 21 to Fedora 22 Upgrade howto:

# Boot Fedora 21 first :)

# update the system
yum update


# Run this command to bring in all fedora 22 rpms ( takes lots of time - may be you want to run this overnight)
fedup --network 22

# Now , you may have faced some issues related to some packages which are all displayed at last, just
take those logs in text file. This helps just in case you face any issue in the future.

# Now, reboot the system , Select upgrade in grub menu.

# After installing packages, system will boot as fc22. :)


Post Fedora 22 update:

# update all packages in fc22
sudo dnf update

# If you want to have maximize, minimize buttons install this.

dnf install gnome-tweak-tool.noarch
Open gnome-tweak-tool  -> Windows -> ON Maximize, minimize buttons.

# You may want to explore more gnome-tweak-tool depending upon your needs.


Ref:
http://www.linuxveda.com/2015/05/28/things-installing-fedora-22/

Tuesday, June 16, 2015

encrypt / expiry date for shell script


Can you encrypt a shell script?
Can you set a expiry date so that shell script will no longer execute?

check this link:
http://www.thegeekstuff.com/2012/05/encrypt-bash-shell-script/

Tuesday, June 9, 2015

sshfs fuse - howto


mkdir /mnt/gfvm1

sudo sshfs root@192.168.122.209:/  /mnt/gfvm1



seems there is some bug in fuse.
ls -ltr /mnt on gfvm1 shows some special ?? chars

firefox image display issues


Firefox unable to display images present on the website

Unable to see small images on website:

check this option, it may be unchecked.

Contents -> Fonts and colors -> Advanced.

Allow pages to choose their own font - should be CHECKED.

Friday, May 29, 2015

merge two/more pdf files , rotate pdf file



How to join two pdf files (in Linux):
 ===============
yum install pdfjam

# pdfjoin file1.pdf file2.pdf


Where file1.pdf and file2.pdf are the pdf files to be joined.


output will be file2_joined.pdf
(So, You need not specify this output file as part of pdfjoin command)

============================

How to rotate a pdf file and then save (in Linux):

qpdfview /path/to/file1.pdf

rotate using menus. then just save the file. thats it :)

============================