Hoaxblog.com

Everything is hoax!

Pages:

  • About

Categories:

  • Apache (6)
  • backup (1)
  • cache (2)
  • Cpanel/WHM (11)
  • ddos (1)
  • exam (1)
  • file hosting (2)
  • General (11)
  • Hosting (1)
  • It’s me (2)
  • linux (1)
  • Linux Shell (14)
  • Make Money Online (2)
  • Mysql (2)
  • mysqldump (1)
  • php (1)
  • Programming (3)
  • proxy (1)
  • Reseller (1)
  • SEO (1)
  • Servers (21)
  • VPN (1)
  • Windows (6)
  • wordpress (1)

Archives:

  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • October 2007
  • May 2007
  • April 2007

Blogroll

  • Free Rapidshare Downloads

Meta:

  • Register
  • Login
  • Valid XHTML
  • XFN
  • WordPress

Archive for the 'Servers' Category


Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico
06 6th, 2008

I have found following error in few of my cpanel servers after a recent cpanel update:

[quote]
Fantastico is not installed at the default location
/usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico
directory from it’s current location to
/usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM
-> Tweak settings.
[/quote]

I have researched a lot by searching google and browsing netenberg. But couldn’t really find any solution. Later on i have found one thing that with the latest PHP Compile, fantastico is not being able to load runtime ioncube. To fix this you need to add the ioncube zend_extension line on the internal cpanel php compile. The easiest way to fix this and update the internal cpanel php is running the following command:

/scripts/makecpphp

As soon as it completes re-building your internal cpanel php, your fantastico should work great back again :D

Read Comments(0)


Configuring VPN for Windows VPS/Dedicated Server
05 30th, 2008

After lots of tries, i have finally got success to route my traffic via my windows vps ;) This method also should work with Windows Dedicated Servers.

For windows VPS, contact your provider to enable “NAT” for your vps. They should do this for you. After they are done, Go to Start >> RUN >> Type “services.msc”

On the services list, select “Routing and Remote Access” and go to properties. Make the startup type automatic and apply. After that you should have the option to “Start” this service. Start this service as we are going to use this service basically to route our traffic :)

Now go to Start >> Settings >> Control Panel >> Administrative Tools >> Click on the shortcut says “Routing and Remote Access”. It should open the configuration panel of Routing and Remote Access.

Now right click on your computer name the click the option says “Configure and Enable remote and routing access”. Before doing this, make sure your Firewall service is stopped and disabled.

Now on the configuration wizard click Next to proceed >> In the configuration list select “Custom Configuration”, Press Next >> Select VPN Access & NAT and Basic Firewall Option, Press Next >> Now press Finish to end the wizard

This wizard should enable the PPTP & L2TP VPN access to your firewall with private routing capability. Now you need to configure your VPS to route the private Traffic to the Public Interface. To do this, we need to have any of the following two:

1. Two network interface to route one to another. or
2. We can use NAT (Network Address Translation) using the Microsoft Loopback adapter.

We will basically work with the 2nd one as most of the dedicated servers/vps don’t come with two network interfaces. To continue with the NAT configuration, go to the Routing and Remote Access panel >> Expand ComputerName (Local) >> Expand Ip Routing >> You should find a option says “NAT/Basic Firewall”. Simply right click on that option and use the New interface to add network translation. Now first add the Inferface says “Internal” which is basically for private network access with default settings and on second attempt add your main adapter to the NAT list and select the options says “Public Interface connected to this inferface” and select the option says “Enable NAT on this interface”.

Now your network should have the address translation working, that means your private requests should be now translated and you can use this VPN as your internet gateway ;)

Now to allow your users to use VPN, add a new user and from the properties allow its Dial In permission. User with Dial-In permission should be able to login using VPN :)

I m not really explaining how to configure the client as its available in most probably all over the net. Unfortunately, what is not available is how to do the vpn server configuration. I took few of my important minutes to write down this tutorial, and i believe knowledge is power and everyone should share this ;) So Thank me now :P

Read Comments(0)


Swap Crashed!
04 6th, 2008

Yesterday was one of the worst day in the life. I have understood the important of Swap / Virtual Memory on the server yesterday. The server load went to over 40% and the memory usage over 60% even on off-peak hours after my swap partitions got corrupted in one of the master reseller server. First time, i couldn’t get the point that, swap got corrupted, though, after running burnintest, i found this from debug, “Invalid Entry ’swap’ on /etc/fstab”. This made the sense that my swap paritions were unusable after i made a reboot in the morning.

The easiest way to find whether swap is working or not, is the memory usage. If the memory usage goes over 50% with a few http processes, you can easily guess your swap is not working perfectly. You can run burnintest to find out whether the swap is corrupted or not. A re-initialization of swap files/partition should sort the problem and the server should come back to normal as usual. One of basic reason behind having high load and memory usage without swap on dedicated boxes is, Swap allows the http processes to think they have bigger space to allocate in memory. This helps a lot to improve the apache performance. While without the swap, this isn’t possible and apache makes different parts of the process to allocate data in different memory locations. This creates more stress when the requests are gathered from different locations too. Usually, some small php scripts then can create heavy load on the server without the swap partition. One of the common way to make the server performance faster and preventing the server from being hung is using a big swap partition. Usually it is better to keep the swap partiton, double then your physical RAM. Like if you have 4 GB Physical RAM, you should consider in keeping 8 GB Swap for it. Though, its not important to keep that amount of space only for swap, but it shouldn’t go down below 4GB according to my assumption.

Read Comments(0)


Windows Server 2008 ! Rocks!
03 21st, 2008

Yeah, still i believe Microsoft got the world’s best idea and marketing seeds in operating system world. They proved this again by suppling windows server 2008. I got my first windows 2008 server from softlayer. I m currently using it for my Free File Hosting service. The new server really rocks in many ways. One of most common vulnerability is fixed by microsoft (Basically taking the linux technique) is, now the services like apache and others are no more run under “System”. Which fixes most of the common worm/trojan attacks who attacks the system first to hide themselves. The same theory is also applied for Windows Vista. Designing and component design with far process monitoring capability with visualize system made windows server 2008 better then other windows server editions. Though, for server version, Linux is a bit ahead comparing with windows server 2008 as linux is faster, most of the web based modules are specially developed for linux and linux uses less resources. But still i have to say the approach taken by Microsoft is really good, and it should bring more business for them. They are may be coming in the server market with wide range of possibilities very soon to compete with linux more efficiently ;)

Read Comments(0)


29$ Today!
03 20th, 2008

My File Hosting is really doing awesome :) It has made 29$ today. I m using my windows UK Vps to host the files and till far only 3.5 GB of the space is used. As it looks like the file hosting business is expanding and i m quite near to my targetted amount, i m also looking for expanding this cool thing. Just found that my base camp of server (Softlayer) is giving windows 2008 servers. And the web edition of windows 2008 is giving for free :) So i may be taking a Opteron Windows 2008 server with reduced pricing very soon to expand my file hosting business. I have found this that, the vps is getting hogged few times in the day as its getting overloaded from last two days. Most probably i m loosing some more money for this too ;) May be its the time to move and get some bigger cash from file hosting.

Read Comments(0)


Good Webhosting In UK
03 20th, 2008

I have found two nice webhosting services in UK. One of them is WebhostingUK and another one is eUkhost. Both are run by the same authority and from the same network “PoundHost” from England. I have used both services for my windows vps and found both are quite stable and provide legitimate bandwidth for both down and uplink. I do have to say, they are not one of the oversellers i have found till far like CheapVPS. Most of the CheapVPS nodes are oversold and hangs too frequently in a range of week, while i haven’t found such problem in none of the two services recommended. I was using EukHost first time, though i have moved to WebhostingUK later on for its legitimate pricing range comparing with EukHost. The only negative side i have found of WebhostingUK/EukHost is there pricing. Its a bit high comparing with any US VPS services. Though, i have to say, their service is awesome and will give you real pleasure of running windows vps. :)

Read Comments(0)

« Previous Entries
© Copyright by Hoaxblog.com