Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 13634
How to find a file or folder in linux with locate
First of all it is better you update your locate db . to do this run this command :

updatedb

It may take several minutes.

Now to find your file just run :

locate [file or folder name]


To install locate in linux you can use yum command if you have it installed.

to install locate with yum run this command as root :

Code:
yum install slocate -y

you also can install it with apt-get (ubutnu) and …

Code:
sudo apt-get install slocate
Author: UltratechHost - Replies: 0 - Views: 4511
How To Install cURL in Linux Server Or in PHP
HOWTO Install cURL in Linux

Well, now most of the Hosting Companies provide cURL installed on their Servers. But unfortunately, if your server/vps doesn't have cURL installed, then you'll have to do it manually.

There are basically two methods to get cURL working on your Server.

First, you can enable cURL using EasyApache Script from cPanel/WHM

If this is not possible, then you must install cURL manually.

cURL Installation:

Login as root to your SSH Terminal.
Now, type the fol
Author: UltratechHost - Replies: 0 - Views: 4576
Upgrading Fedora Core 1 or 2 to CentOS 3.4 or 4
Upgrading Fedora Core 1 or 2 to CentOS 3.4 or 4

Please note this tutorial has not been tested, but in theory should work.

The following tutorial provides the few steps to upgrade Fedora Core 1 or 2 to CentOS 4:

1. Make a full backup of your data.

2. Import GPG keys:
Code:
rpm --import http://beta.centos.org/centos/4.0beta/os/i386/RPM-GPG-KEY
rpm --import http://beta.centos.org/centos/4.0beta/os/i386/RPM-GPG-KEY-centos4.0beta

3. Install/Upgrade yum:
[code]rpm -Uvh --nodep
Author: UltratechHost - Replies: 0 - Views: 4651
Upgrading Red Hat 9 to CentOS 3.4 or 4
Upgrading Red Hat 9 to CentOS 3.4 or 4

Please note this tutorial has not been tested, but in theory should work.

The following tutorial provides the few steps to upgrade Red Hat 9 to CentOS 4:

1. Make a full backup of your data.

2. Import GPG keys:
Code:
rpm --import http://beta.centos.org/centos/4.0beta/os/i386/RPM-GPG-KEY
rpm --import http://beta.centos.org/centos/4.0beta/os/i386/RPM-GPG-KEY-centos4.0beta

3. Install/Upgrade yum:
[code]rpm -Uvh --nodeps http://beta.cent
Author: UltratechHost - Replies: 0 - Views: 4852
How to install ffmpeg on CentOS or Redhat Enteprirse Linux the easy way
How to install ffmpeg on CentOS or Redhat Enteprirse Linux the easy way
How to install ffmpeg on CentOS or Redhat Enteprirse Linux the easy way
Posted on Monday May, 10 2010 | 0 Comments


This tutorial will help you install FFMPEG to your server with the easiest steps possible.

This is the easy way to install ffmpeg on CentOS or RHEL/Redhat Enterprise Linux the easy way.


vi /etc/yum.repos.d/dag.repo

Insert the following:

[dag]
name=Dag RPM Repository for Red Hat Enterprise L
Author: UltratechHost - Replies: 0 - Views: 4141
MySQL: Connect From an Other System or Computer
How do I connect to my MySQL database server from an other server (say Apache or Tomcat app server) in same VLAN under CentOS / Fedora / RHEL / Redhat Linux?

First, you need to turn on the remote access for your database server.

Sample Setup

Consider the following sample setup:

[php] +----------- server1 192.168.1.6
|
+------------ tomcat1 192.168.1.7
|
+------
Author: UltratechHost - Replies: 0 - Views: 3632
Scanning of Unwanted Files or Codes
Here is a little code that I use to scan servers that I admin on for unwanted files. These include php shell’s and encoded files. You can add your own expressions as well. The expressions that I have listed are what I have found to most likely be in infected files.

Here is the code itself:
Code:
find /home/ \( -name "*.cgi" -o -name "*.php" \) -print0 | xargs -0 egrep -l 'c99shell|r57shell|WebShell|phpshell|shell|c100|base64' >> /root/report

This is how it works. It’s using the fin
Author: UltratechHost - Replies: 0 - Views: 7601
How to configure Iptables Firewall in CentOS and Redhat VPS or Server
How do I configure a host-based firewall called Netfilter (iptables) under CentOS / RHEL / Fedora / Redhat Enterprise Linux?

The default config files for RHEL / CentOS / Fedora Linux are:

/etc/sysconfig/iptables - The system scripts that activate the firewall by reading this file.

Task: Display Default Rules

Type the following command:

Code:
iptables --line-numbers -n -L

Sample outputs:

[code]Chain INPUT (policy ACCEPT)
num target prot opt source
Author: UltratechHost - Replies: 0 - Views: 26832
How to Install SSL Certificate on Apache Based Server or on WHM/cPanel Server
In this tutorial we will show you how to Install SSL certificate

1. Login to your cPanel/WHM control panel

2. Find and click on SSL/TLS Manager

3. Click on Generate a SSL Certificate & Signing Request on WHM

4. Setup bellow details:-

[code]Email: admin@yourdomain.com
Password: your password
Verify Password: your password
Host to make cert for: yourdomain.com or secure.yourdomain.com
City: your city name
State: your state name
Country: your country name ( It must b