CHEAP WEB HOSTING SERVICES AND AFFORDABLE LINUX WEB HOSTING PACKAGES WITH FREE DOMAIN NAME REGISTRATIONLINUX WEB HOSTING WITH PHP MYSQL TOMCAT SITE BUILDER FANTASTICO RVSKIN OSCOMMERCE AGORA CUBECART ZENCART PHPLIST PHP NUKE POSTNUKEECOMMERCE SHOPPING CART HOST MYSQL FRONTPAGE TOMCAT ZENCART HOSTINGCPANEL RESELLER HOSTING AND DEDICATED SERVER WEB HOSTING WITH JOOMLA MAMBO OSCOMMERCE PHPAUCTION AND SSH HOSTING |
While you notice that your existing web hosting providers is lacking in service and support and you’re facing regular problem with your current hosting company, it is the time to consider to change your hosting providers.
Here are few important things that you must consider before migrating to a new host;
* Backup File & Database: Before you think to migrate from your existing host to new host make it sure to create a backup of every file and database you have on the current hosting provider’s server. Using an FTP program you can upload your site and your databases: you should Copy all files from your public_html directory into a directory on your local hard drive. To backup the database you can also use control panel or the backup utility which generally a host providers provides.
* Transfering to the new server: Before you make DNS change of your domain name check your website fully navigate some of the pages without using the domain name pointing to it, you can use the IP address of your hosting account along with your username such as example http://72.38.129.210/~username, you can use this address until the DNS information propagates fully throughout the web.
* Upload to new Server: Now you can Upload the backup file of your databases or execute the SQL file you generated in the backup. It will restore your database back to what it was on the old server. Change the nameserver information for your domain name from where you registered your domain name. It will hardly take 24 to 48 hours, your website will be served from the server of new web hosting company. Once you get sure that your website is working as earlier, you should ask the old web hosting company to delete your old account.
We’ve special team to help you to migrate from your existing host to micfo.com, if you’re planning to shift to us, consider contacting us 24×7 through phone or live chat support.
The System Integrity Monitor, SIM tools monitor and ensure that the services are running and responding smoothly, it verify that services are online, load averages are in check, and log files are at reasonable sizes.
you can install SIM with easy process as discussed below;
Login to your server via SSH as root.
Type: wget http://www.r-fx.org/downloads/sim-current.tar.gz
This will download the most current version of SIM (System Integrity Monitor)
Type: tar -xzvf sim-current.tar.gz
This will extract the tar.gz file at once.
The last line should look like “sim-2.5-3/CREDITS” everything before the / is the directory where the script was extracted too.
Type: cd sim-2.5-3
where sim-2.5-3 is the directory that SIM was extracted too.
Type: ./setup -i
Then press “Enter”
Then when it says MORE press the “space bar”
Then press “Enter”
Then when it syas MORE press the “space bar”
Now press enter for the auto-configuration script for SIM.
The following config are just for an example what I use, please note, you can change some monitoring services what you are going to choose.
Where is SIM installed ?
[/usr/local/sim]:
Press Enter
Where should the sim.log file be created ?
[/usr/local/sim/sim.log]:
Press Enter
Max size of sim.log before rotated ? (value in KB)
[128]:
Type: 512
Press Enter
The larger the file the more SIM (System Integrity Monitor) logs we can view. This is good for looking back.
Where should alerts be emailed to ? (e.g: root, user@domain)
[root]:
Type: youreamil@yourdaomin (One off server would be more secure.)
Press Enter
Disable alert emails after how many events, to avoid email flood ?
(Note: events stats are cleared daily)
[8]:
Press Enter
The below are configuration options for Service modules:
press return to continue…
Press Enter
Auto-restart services found to be offline ? (true=enable, false=disable)
[true]:
Press Enter
Enforce laxed service checking ? (true=enable, false=disable)
[true]:
Press Enter
Disable auto-restart after how many downed service events ?
(Note: events stats are cleared daily)
[10]:
Press Enter
Enable FTP service monitoring ? (true=enable, false=disable)
[false]:
Press Enter
Enable HTTP service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable DNS service monitoring ? (true=enable, false=disable)
[false]:
Type: true (if you are running ensim do not type true just press enter)
Press Enter
Enable SSH service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable MYSQL service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable SMTP service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
TCP/IP port that SMTP operates on ?
[25]:
Press Enter
Enable XINET service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
TCP/IP port that any XINET service operates on (e.g: pop3, 110) ?
[110]:
Press Enter
Enable ENSIM service monitoring ? (true=enable, false=disable)
[false]:
Press Enter
Enable PGSQL service monitoring ? (true=enable, false=disable)
[false]:
After an unclean HTTP shutdown, semaphore array’s may remain allocated
and cause the service to fall into a looping restart cycle. Using this
feature clears semaphore arrays on HTTP restart.
Enable semaphore cleanup ?
[false]:
Press Enter
This is extended feature in the http module which determine if/when the apache server locks up or otherwise stops
responding.
Enable URL aware monitoring ?
Type: true
Press Enter
URL path to a local file ? (exclude HTTP://)
Note: This URL should be valid and reside on the local server, otherwise
HTTP will loop restarting
[127.0.0.1/index.html]:
Type: site.com/index.html that resides on your local server
Press Enter
HTTP log files can grow large and cause the service to crash
(segfault), this feature will keep the main HTTP logs incheck.
Enable HTTP log monitor ?
[false]:
Press Enter
MySQL uses a /tmp symlink of its mysql.sock socket file. This
feature verifies that the symlink exists from the main mysql.sock
file, and if not it is recreated.
Enable MySQL Socket correction ?
[false]:
Press Enter
Enable NETWORK monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
interface to monitor ?
[eth0]:
Press Enter
Enable LOAD monitor ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Load level before status condition ‘warning’ ?
[25]:
Type: 5
Press Enter
Load level before status condition ‘critical’ ?
[45]:
Type: 10
Press Enter
Enable a global (wall) message at status condition ‘warning’ & ‘critical’ ?
[false]:
Press Enter
Renice services at status condition ‘warning’ or ‘critical’ ?
(3 values - warn, crit, false - false=disabled)
[false]:
Press Enter
Stop nonessential services at status condition ‘warning’ or ‘critical’ ?
(3 values - warn, crit, false - false=disabled)
[false]:
Press Enter
Reboot system on status condition ‘warning’ or ‘critical’ ?
(3 values - warn, crit, false - false=disabled)
[false]:
Now Press Enter
Now the SIM (System Integrity Monitor) has been configured we will add a cron.
Type: ./setup -c
If it says “Removed SIM cronjob.” then type it again.
Type: ./setup -c
It will say “Installed SIM cronjob.
« Shopping Cart Software
Install mod_security for Apache »
Installation process finished!
Maximum file limit has been reached :
Many times we get an error called the maximum number of files that can be opened has reach the limit, you can fix the issue as ;
In order to resolve this, you will have to login as a root on your server and edit the file called /etc/sysctl.conf
vi /etc/sysctl.conf
Add the line there as
fs.file-max = 22992
Save and exit from the file.
In order to apply these changes run the command called
# sysctl -p
This will increase the maximum number of open files for your system.
Set SPF record for your domain:
In order to set SPF record for your domain go to the site called
http://www.openspf.org/
Select option there called SPF WIZARD
Put your domain name there and say start.
Select all those options you want there like A record, MX record and press “continue” button.
You will get a spf record for your domain under the heading,
The SPF record:
v=spf1 a mx ?all
Now you will have to put this record in the dns zone for that domain on the server.
You will have to add the entry in dns zone for that domain, for spf record as per given below,
domain.com. IN TXT v=spf1 a mx ?all
You can check whether it is added correct to your domain at — http://www.dnsreport.com/tools/dnsreport.ch?domain=domain.com >> Mail >> SPF record option.
Getting Started
The command “vi” without any file name will open a new file where you can enter the text and edit but while coming out you will be asked to enter a valid file name to save the text.
“vi” with a existing file name will open that file for editing.
After a file is opened it is in command mode, that is - input from the keyboard will be treated as vi commands and you will not see the words you are typing on the screen. To enter the text you have to put vi in insert by pressing ‘i’ or ‘a’ after which you can add the text and whatever is being typed will be seen on the screen. To switch between these mode Esc key is used .
Esc i — insert text mode
Esc — command mode
If you don’t want to save the work “:q” will take you out. For save and quit “:wq” is used. Simple “:w” saves the current file and don’t exit and “:q!” , “:wq!” causes a forced quit from vi.
Editing commands
Moving around the file:
h — cursor left
i — cursor right
k — cursor up
j — cursor down
^ & B — Beginning of line
$ — end of line
) — Next sentence
( — Previous sentence
} — Next Paragraph
{ — Previous Paragraph
:$ — end of file
w — one character forward
W — one word forward
:20 — go to Line no 20 or whatever number you give
Displaying file info:
^g — give name of the file, current line and total lines of a file at the bottom.
Inserting and appending text :
i — inserts text to the left of cursor
I — inserts in the beginning of line
a — appends text to right of cursor
A — appends to the end of line
Adding new line:
o — add a new line below the current line
O — adds a new line above the current line.
Deleting the text:
x — deletes text above the cursor
X — deletes text character on the right of cursor
20dd — deletes 20
dd — deletes current line
D — delete till end of current line.
d# — delete to where the # (j,k,l,h) specifies.
d/ — delete till pattern is found (forward).
d? — delete till pattern is found (backward).
d’ — delete till mark ‘char’.
Replacing a character & word:
r — replace the character above the cursor.
R — replces characters until Esc is pressed.
cw — replaces the word from cursor to the end indicated by $ sign.
C — replaces till end of line.
Substitute:
s — subistutes current charcater.
S — substitutes entire line.
Repeating last command:
. — repeats the last text.
Undo the last change:
u — undo last change.
U — undo changes to the current line.
Copy and pasting lines:
yy — copies the current line into buffer.
5yy — copies 5 lines from the current line.
p — pastes the current buffer.
Recovering an unsaved vi file:
vi -r — restores a unsaved / crashed file from buffer.
Searching:
:/name — & return searches for the word name in the file
n — continues search forward.
N — searches backwards.
Substitution:
:s///g
Saving:
:w — saves the text does not quit.
:wq — saves & quit the editor.
ZZ — save & quit the editor.
:q! — Quit without saving.
Miscellaneous:
m — mark this location and name it char.
‘ — (quote character) return to “line” named char.
` — (back-quote character) return to “place” named char.
‘’ or “ — (quote quote) return from last movement.
Thanks & Regard’s
Stacy
Test for a SMTP server :
While trobleshooting any email issues, This will help you to check your mail server with SMTP. To check this for your mail server, you can use telnet command to port 25 as:
# telnet 198.168.10.10 25
HELO test.test.com
MAIL FROM: from_email@domain.com
RCPT TO: to_email@domain.com
DATA
This is a test mail .Checking !!!!!
QUIT
198.168.10.10 is mail server ip.
You can use your hostname instead of Ip if the system you are on has the correct Domain Name Service (DNS) settings and can resolve the hostname of the mail server.
Please replace from_email@domain.com and to_email@domain.com with email addresses that you want to test.
Micfo International LLC Leading the hosting Industry with Cheap and Affordable Linux Web Hosting Packages.
Micfo, delivering the best cpanel web hosting with maximum reliability
is our exclusive focus.
— Micfo
International LLC
38 queries. 0.147 seconds