Having a host, server or workstation installed with CentOS Linux operating system with an empty directory of ‘yum.repos.d’ is quite devastating since several utilities or packages need to be installed using yum package manager.
In CentOS or any Redhat operating system variant which has the same flavor, yum package manager is used to manage package, utility or application in it.
To be able to install a new package, utility or application, the operating system provide a way to perform it by using yum package manager utility. It is actually a tool which can be executed in a command line. To be able to install a new package, yum needs to refer to file used for repository description which ends with .repo extension and it is saved by default in /etc/yum.repos.d directory.
Continue reading “Recreate Yum Package Manager Repository File”
This article is about download file with utility or tool which can give an additional option to reconnect back or resume the file downloading process without having to redo it from the beginning.
Usually when the internet connection is not stable or even frequently disconnected, we have to redownload the file which is going to be downloaded from the very beginning. But using the right tool and the correct command parameter, it can be resumed without having to download the file from the start.
The tool which is used to do it is ‘wget’. It is a utility available as part of GNU Project. It is stands for World Wide Web and get. Below is the pattern of the download process using ‘wget’ :
wget : It is a command which is actually used to call tool to download
url_of_file_which_is_going_to_be_dwnloaded : It is a parameter of 'wget' command which is actually in form or URL, for an example http://www.mydomain.com/data.zip
Continue reading “Using wget to download a file with resume option”
This is an article consists information about to use wget utility behind a proxy server. Eventually, if in one case there is no proxy server which is needed to be passed in order to directly connected to the internet, wget can work normally as is without any further configuration.
But the story will be different if there is a proxy server which is needed to be bypassed in order to directly connected to internet. As it is realized to be one of popular Linux operating system distribution tool to download file and based on the manual page it is said that it is the non-interactive network downloader, a proxy server will be a hindrance if wget cannot be configured properly to adapt with the proxy server.
This is what happened if trying to download file using wget behind the proxy server for an example downloading file named CentOS-7-x86_64-GenericCloud-1511.qcow2 from the available URL of http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1511.qcow2 as shown below :
root@hostname:~# wget http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1511.qcow2
Continue reading “Configure wget with proxy”