Tech Blog
Tech Nooz and How Tooz
Categories: Tech News | Comments Off
.xxx extension

The registrars have discovered another way to get your money with the new .xxx extension! Not only will your adult site be flagged as inappropriate, but you get to pay a premium for it!The only thing better than that is to get “pornographer” tattooed on your forehead! How much do you have to pay for [...]

Categories: Linux | Comments Off

Place the .htaccess file in the root directory of the one you want to redirect from. For instance, if your main site is a dot com and you want your dot net to forward to your dot com, add the following code to your .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^www.mydotnetdomain.net$ [NC] RewriteRule [...]

Categories: Linux | Comments Off
RedHat Linux iptables howto CentOS RHEL

Use your favorite text editor: vi /etc/sysconfig/iptables This is how you ALLOW access to a range of IP addresses: # 211 -A RH-Lokkit-0-50-INPUT -p tcp -m state –state NEW,ESTABLISHED -s 64.1111.222.0/24 –dport 22 -j ACCEPT -A RH-Lokkit-0-50-INPUT  -p tcp -m state –state NEW,ESTABLISHED -d 64.111.222.0/24 –sport 22 -j ACCEPT *********************************************************** by default, everybody should be locked out of the box - DO NOT FORGET THIS STEP - BE CAREFUL - DO NOT LOCK YOURSELF OUT (SEE ABOVE) -A RH-Lokkit-0-50-INPUT -p tcp -m tcp –dport 22 -j REJECT *********************************************************** This is how you lock up certain ports #shut out these imap hackers -A RH-Lokkit-0-50-INPUT -p tcp -m state –state NEW,ESTABLISHED -s 66.44.77.33 –dport 993 -j REJECT -A RH-Lokkit-0-50-INPUT  -p tcp -m state –state NEW,ESTABLISHED -d 66.44.77.33 –sport 993 -j REJECT Now restart the service /etc/init.d/restart

Categories: MySQL | Comments Off
MySQL Copy tables from a different database

This works great and it preserves all of the data that you’ll need. old_database should be changed to the name of the database that you want to copy tables from. I hope that you find this helpful. //CREATE THE NEW TARGET DATABASE create database new_database; //CHANGE TO THE NEW DATABASE use new_database; //Create each table that [...]

Categories: Tech News | Comments Off
matrix

We’re just getting started here. Please bear with us!

Categories: Installation | Comments Off
CentOS 5.6

Hit F11 for boot menu (Works on my machine. Yours may be different) Boot from CD Rom – used graphical installation /*** PARTITIONING ***/ Choose “Auto Partition” Remove all partitions No boot loader password /*** NETWORKING ***/ Click “Edit” CHECK ONLY IPv4 support Uncheck “DHCP” Add Static IP: 66.77.222.33 (GET THESE NETWORK SETTINGS FROM YOUR [...]