Fiber Hosting

Affordable Professional Dedicated and Co-Location Services

Documentation and Tutorials by Fiber-Hosting LLC

Created for the novice server administrator of unix and linux powered servers.

Can’t locate DBD/mysql.pm

May 15th, 2008

This is the solution for the error “Can’t locate DBD/mysql.pm” that occurs on Linux or Unix.
How to fix this error:
wget http://www.cpan.org/modules/by-module/DBD/DBD-mysql-4.007.tar.gz
tar zxvf DBD-mysql-4.007.tar.gz
cd DBD*
perl Makefile.PL
makemake install
make clean

Can’t locate DBI.pm in @INC

May 15th, 2008

 The error “Can’t locate DBI.pm in @INC” on a Linux or UNIX server can be fixed the same way. We have listed the solution below.
How to fix this error:
wget http://www.cpan.org/modules/by-module/DBI/DBI-1.604.tar.gz
tar zxvf  DBI-1.604.tar.gz
cd DBI*
perl Makefile.PL
make
make install
make clean
This should correct the error while trying to run the perl script. If the next error you receive while trying to run the script is  “Can’t locate DBD/mysql.pm” then […]

Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’

February 29th, 2008

This error can be quite a pain when setting up a new server.  It normally is not hard to fix so here are the ways we have used the most:
Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’

 Your mysql.sock might be located elsewhere use ‘find / -name mysql.sock’
If it is located else where then ln -s [target] [nameoflink] this will link the file and allow it to start.

Permissions

If you didnt find […]

Working Debian with HyperVM

February 13th, 2008

We are not sure if everyone has this error, but Debian on Xen was not connecting to the Internet with default information. SSH was not starting due to errors. This is how we fixed out system

 Editing

vi /etc/network/interface  <—edit IP and other Gateway information
ifdown eth0
ifup eth0
cd /dev/
./MAKEDEV generic
ls -la | grep urandom <–see if urandom is […]

How to install HyperVM on Linux

February 13th, 2008

How to install HyperVM:
HyperVM is a web based application that will allow you to create and manage different Virtual Machines each with each vps having its own Operating System. HyperVM also allows you to run multiple HyperVM servers linked together providing a tree of host servers.
HyperVM advanced features allow you to manage your vps […]

How to connect to your unix or linux server

February 5th, 2008

1. You must first download Putty from this post.
2. Run putty.exe add in server address or host name.
3. Click Open.
4. When login prompt comes up enter in the user information you were e-mailed with in the Activation Email.

How to recompile a Linux Kernel

February 5th, 2008

Getting the Kernel Sources

The most recent releases of the kernel sources are available on ftp.kernel.org. You will want to wget the file to /usr/src or use FTP to upload it.

Configuring For a Build

If /usr/src/linux is not found you can cd /usr/src;mkdir linux;ln -s linux-2.* linux
cd /usr/src/linux
make menuconfig or make oldconfig to carry over your old […]

How to install Apache on a Linux server

February 5th, 2008

The Apache HTTP Server, commonly referred to simply as Apache, is a web server notable for playing a key role in the initial growth of the World Wide Web. Fiber-Hosting recommends downloading the latest stable release. The best place to get Apache is from the Apache HTTP Server download site listed below.

Downloading Apache

Go to the […]

Changing MOTD

February 5th, 2008

MOTD is what displays when a user first logins. This is a quite easy proccess listed below.

vi /etc/motd Add in whatever you wish to display

That it. For the motd to display again when a user type motd

vi /usr/bin/motd
add in: cat /etc/motd
exit and save
in console type: chmod +x /etc/motd


Warning: include(/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php) [function.include]: failed to open stream: No such file or directory in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3

Warning: include() [function.include]: Failed opening '/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3


Entries (RSS) and Comments (RSS).