YUM – List all avialable packages from a given repository – Fedora/Centos/Rhel

Published on Author gryzli

1. Get the repository ID This is sample repolist on Centos/RHEL 7.X [root@provision-test ~]# yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * atomic: mirror1.34sp.com * base: mirrors.neterra.net * extras: mirrors.neterra.net * updates: mirrors.neterra.net repo id repo name status atomic/7/x86_64 CentOS / Red Hat Enterprise Linux 7 – atomicrocketturtle.com 843 base/7/x86_64 CentOS-7… Continue reading YUM – List all avialable packages from a given repository – Fedora/Centos/Rhel

Linux ImageMagick (convert) some basic stuff

Published on Author gryzli

ImageMagick (convert) tool could be used for different image manipulation tasks. Here I will mention some of them I have used it for. Get verbose information about image # convert some_test_image.jpg -verbose info:   Change JPEG image quality # convert original_image.jpg -quality 50 new_image_with_50_quality.jpg   Convert/Resize image to 1600×1600 to fit ebay requirements I need this conversion in order… Continue reading Linux ImageMagick (convert) some basic stuff

lftp – Rsync over FTP alternative

Published on Author gryzli

This is very useful software, which can be used for “mirroring” data through FTP. Under Centos 6.x, the package is called: lftp , and is available through standard package repo. Here are some usage examples;   1. Mirror Destination FTP directory –> To local directory # First connect lftp user@domain.com # Then mirror the desired directory… Continue reading lftp – Rsync over FTP alternative

Mounting remote filesystem through SSH/SCP by using SSHFS

Published on Author gryzli

Background Recently I found myself frequently editing files locally (with some nice IDE/ text editor) and then having to re-upload them to a destination server. And…. one day I searched for “SSH filesystem” through Google, which was so kind to return me the following result: https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh This was my first touch to sshfs, which seemed… Continue reading Mounting remote filesystem through SSH/SCP by using SSHFS