Solutionist's Blog

Tech | Health | Life | Travel

Flushing Your DNS Cache on a Windows Machine

If you are unable to view your website, or if your website is still resolving from an old server after changing the nameservers, flushing your DNS cache may resolved the issue. Details on how to flush your DNS cache on a Windows machine can be found below. 1. Click on Start > All Programs > […]

Flushing Your DNS Cache on a MAC OS

If you are unable to view your website, or if your website is still resolving from an old server after changing the nameservers, flushing your DNS cache may resolved the issue. Details on how to flush your DNS cache on a machine running the MAC operating system can be found below. 1. Open up a […]

add more tag in wordpress to split content

You can truncate your blog entries so that only the first part of certain posts is displayed on the home and archive pages. When you do this, a link will be placed directly after your excerpt, pointing the reader to the full post. You can find the More Tag button in the first row of […]

Install VPN Server with PPTP on CentOS, RedHat and Ubuntu

Step 1. Install PPTPD If your OS is CentOS/RedHat 5: yum install ppp cd /usr/local/src wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.x86_64.rpm rpm -Uhv pptpd-1.3.4-2.rhel5.x86_64.rpm If your OS is CentOS/RedHat 6: yum install ppp cd /usr/local/src wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.x86_64.rpm rpm -Uhv pptpd-1.3.4-2.el6.x86_64.rpm If you are using Ubuntu: apt-get install pptpd Step 2. Edit IP setttings in /etc/pptpd.conf vi /etc/pptpd.conf localip 192.168.0.1 remoteip 192.168.0.101-200 Step 3. Add […]

PHP 5.3 on CentOS/RHEL 5.9 via Yum

PHP 5.3 on CentOS/RHEL 5.9 via Yum   To install, first you must install the yum repository information: rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm Now you can install php by doing: yum –enablerepo=webtatic install php Or update an existing installation of php, which will also update all of the other php modules installed: yum –enablerepo=webtatic update php  

add static route in Cantos and make sure it wont loose after reboot

1. Adding Routes [root@localhost ~]# route add -net 10.4.3.0 netmask 255.255.255.0 gw 192.168.129.55 [root@localhost ~]# Or [root@localhost ~]# route add -net 10.4.2.0 netmask 255.255.255.0 dev eth0 [root@localhost ~]# 2. Show routing table [root@localhost ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.129.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 10.4.3.0 192.168.129.55 […]

Secured By miniOrange