Monthly Archives: November 2012

Network services

To start all the network services:
service network start
To stop all the network services:
service network stop

To turn off the network interface:
ifdown eth0
To turn on the network interface:
ifup eth0


Apache share folder + Junction Link Magic

In order to create a new folder available on a web server running Apache tomcat.
First, you need to check the what is the default DocumentRoot value in

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"

# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# First, we configure the "default" to be a very restrictive set of
# features.
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all

Then, go to above folder and create a new directory in it.
once you open your web browser  you should be able to navigate to


Now, to use Junction Link Magic to create a junction point.

And you can share all your data!

Error: Cannot retrieve repository metadata (repomd.xml) for repository: “repo-name”. Please verify its path and try again

I have come across the problem while trying to install new packages.

ftp://ftp.***.com/pub/redhat/linux/***/6Server/en/os/SRPMS/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 – “couldn’t connect to host”
Error: Cannot retrieve repository metadata (repomd.xml) for repository: “repo-name”. Please verify its path and try again

The issue is that OS cannot access the repository

edit the file /etc/yum.repos.d/”repo-name”.repo
vim /etc/yum.repos.d/rhel-source.repo

and disable causing problems repository by setting

Save and exit the file.


install on SUSE 10 SP 3 x64

Install on SUSE 10 SP3 x64 without installation cd/dvd.

Normally, yast2 can be used to install the missing package
yast2 -i

To install the missing package you need to have access to the SUSE repository.

then, download the package on your hard disk and install it.
you can either right click on it or use the following command as root:
rpm -ivh file.rpm

After that you should be all set.