Posts tagged How To
How to Install Mod Pagespeed
Dec 1st
mod_pagespeed is a new Apache module from Google and currently at beta stage. It is an open source project and automatically optimizes the websites on a server by applying the Google Pagespeed rules dynamically on the fly. It caches the optimized and minified files (i.e. Images, Javascripts, CSS and HTML) and serves from there.
It is a server intensive module and may not perform well on weak servers. It tends to increase server load and writes huge amount of data in cache folder. Therefore, you will require a bigger hard drive too. It also requires mod_deflate to be loaded on Apache.
How to install mod_pagespeed Installing mod_page is an easy and should not take more than 5 minutes on a Apache 2.2.x server running on CentOS 5.x 32-bit.
Login to your server using SSH as the root user. Then use the following commands to compile and install mod_pagespeed.
[root@server]# cd /usr/src
[root@server src]# wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_i386.rpm
[root@server src]# mkdir mod-pagespeed
[root@server src]# cd mod-pagespeed
[root@server mod-pagespeed]# rpm2cpio ../mod-pagespeed-beta_current_i386.rpm | cpio -idmv
The reply from server should be like this:
./etc/cron.daily/mod-pagespeed
./etc/httpd/conf.d/pagespeed.conf
./usr/lib/httpd/modules/mod_pagespeed.so
./var/mod_pagespeed/cache
./var/mod_pagespeed/files
3135 blocks
Then…
[root@server mod-pagespeed]# cp ./etc/httpd/conf.d/pagespeed.conf \/usr/local/apache/conf/
[root@server mod-pagespeed]# cp ./usr/lib/httpd/modules/mod_pagespeed.so \/usr/local/apache/modules/
[root@server mod-pagespeed]# chmod 755 /usr/local/apache/modules/mod_pagespeed.so
[root@server mod-pagespeed]# mkdir /var/mod_pagespeed/{cache,files} -p
[root@server mod-pagespeed]# chown More >
Set Windows 7 as WiFi HotSpot
Aug 26th
Shared by Windows Facebook Page.
Set Windows 7 as WiFi HotSpot :
Open an elevated command prompt (Type “CMD.EXE” in the start menu search bar, then right clicking the cmd.exe link and selecting “Run as Administrator”).
- In the command window, type: netsh wlan set hostednetwork mode=allow ssid=MyNet key=MyPassword
Replace “MyNet” with the name you want to use for the wireless network and replace “MyPassword” with your chosen password for accessing it)
- Press Enter.
- Now type: netsh wlan start hostednetwork
- Press Enter.
- Open Control Panel and go to Network and Sharing Center.
- Click Change Adapter Settings.
- Right click your Internet connection and select Properties.
- Click the Sharing tab.
- Check the box that says “Allow other network users to connect.”
- Choose your virtual wi-fi adapter and click OK.
Now wi-fi enabled computers within range should see your new wireless network and others can connect to it if they know the password.
READ FULL ARTICLE HERE.
How To : Setup a VPN Server on a CentOS VPS Instantly
Apr 18th
I really found this article very useful so let me share this with you.
This was originally posted by VPSNOC. If you are using Debian/Ubuntu VPS use this GUIDE.
We have made a small and dirty bash script which installs and configures OpenVPN on CentOS 5 32bit. The VPN server’s primary (and only) use is for safe browsing i.e. tunneling all your traffic through your VPS. The script also generates your client configuration file along with the necessary keys for authentication.
Requirements : 1. CentOS 5 32bit minimal OS template 2. TUN/TAP device enabled on your VPS 3. ipTables NAT support
Login to your VPS as root and execute the following commands :
wget http://vpsnoc.com/scripts/install-openvpn.sh chmod +x install-openvpn.sh ./install-openvpn.sh (more…)
How To : Set up a Wireless Router
Mar 6th
When you set up a wireless router, you create a wireless network.
There are four primary steps in this process:
- Get the right hardware.
- Set up the router.
- Connect the router to the Internet (if you want Internet access).
- Connect computers to the network.
. Each of these steps is described in detail HERE.
How To Remove Ubuntu Linux From Dual Boot Using MbrFix
Sep 10th
Hope This Will Solve My Problem.
1. Download mbrfix. Google or HERE. 2. Extract all files in mbrfix.zip to C:\. 3. Open Command Prompt (start-> run-> type cmd -> OK). 4. Type cd \ and press enter. 5. Then type mbrfix /drive 0 fixmbr /yes and press enter. 6. Now you can delete Ubuntu partitions (/, swap etc) using Easeus Partition Manager or Windows Disk Management or other partition editor. 7. Restart your PC.
This will overwrite GRUB with Windows boot loader . So you will see Windows boot loader instead of GRUB.
How to Access Blocked Facebook, MySpace, Orkut at Office, School or University
Jun 23rd
Finding ways to unblock restricted websites is one of my favorite hobbies. In the past I shared few tricks that unblock restricted web sites, Instant Messengers and tricks specific to accessing YouTube and Orkut. advertising As users learn new tricks to unblock the web sites, network administrators are also tightening all the loop holes in the security systems. Few networking administrators are going to extent of blocking all the web URLs which contains the words like YouTube, Facebook, Orkut, etc. If such strict measures are placed to sensor web at your organization then you might not be even able to read as the URL contains the word YouTube.
If you organisation has such strict web sensor policies and none of the our previous tricks work, here a new set of tricks : (more…)
