Hoaxblog.com
Pages:
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)
Blogroll
Meta:
Mellowhost.com - Finest reseller hosting service
06 23rd, 2008Truely the best reseller hosting service i have ever seen. Mellowhost got fast server, ultra qualified support technicians and very nice network. I have started one of my reseller hosting service with them and its going just amazingly superb. Beside working as a system admin, making a few bucks around
If you are looking for some quality cheap reseller service, you should have try them. They got their own master reseller control panel which is another nice tool to experience. Cheap, qualified, reliable and awesome service. Keep moving mellowhost.
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 ![]()
Configuring VPN for Windows VPS/Dedicated Server
05 30th, 2008After 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 ![]()
TCP/IP Filtering in Windows 2008
05 16th, 2008Windows 2008 has made few enormous development over windows 2003. One of the most important change they have made is integration of IPSec and Windows Firewall both at once. Now with windows firewall, you can block an IP address from accessing your windows server or filter your Tcp/IP requests. I was trying to find a way to block ips using windows and i failed to configure IPSec Manually, so i thought to give this a try. First time, i got blocked by my own server, and had to IPMI my server to fix this :P, but finally, i got this working
To do this Ip filtering, go to “Server Manager” of Windows 2008
Here under the configuration menu there is a option for Windows Firewall, if you expand it, you will get “Inbound Rules”.
Right click on “Inbound Rules” and click “New Rule”
On the “Rule Type” select “Custom” press ‘Next’
Now, select the option “All Programs” and press ‘next’
For protocol, keep “Any” and press “next”
In this box, keep the first one marked as “All IP addresses” for local IP options.
On the remote IP box, select “These IP addresses” and use the ADD button to add your IP addresses in the blacklist.
Now press next, put a name for the ruleset and finish. You are done. To add more IPs in the list, just edit the custom ruleset from all inbound rules by right clicking on it and select properties. Go to the “Scope” tab and add new IPs in the “Remote IP” box to block them.
Its really the best and easy way to block ip addresses without manually configuring a IPsec policy. Basically, it uses the integrated IPsec policy of Windows firewall and works perfect!
So start blocking intruders ![]()
Long Time - No Post!
05 5th, 2008hmm, yeah, I m making this new post after along time
This was really hell to experience the taste of first year final exam of my honors
I always love these server management stuffs, troubleshooting, Web server and Linux. But this exam was making me irritating in all cases. By the way, my exam has finished yesterday. Now i m free again. I have some big plan to accomplish this month as well as June. So guys, read tight and pray for me ![]()
Swap Crashed!
04 6th, 2008Yesterday 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.