Relative Content


Adding a USB backup drive to SBS backup

Add a new disk to the backup schedule by running the wbadmin command from an elevated command prompt. Run the following command from an elevated command prompt to determine the Disk Identifier of the new disk: wbadmin get disks Based on the output, locate the disk that will be added to the scheduled backup. Make […]

Change Centos IP address

In common situation, “system ip address” is the ETH0 address. So edit /etc/sysconfig/network-scripts/ifcfg-eth0 with your favourite text editor and run service network restart ps don’t forget to change default gw also, it’s located in /etc/sysconfig/network.

Routerboard SNTP Client

How to set the NTP client on a Mikrotik router using the Terminal /system ntp client set enabled=yes primary-ntp=###.###.###.### secondary-ntp=###.###.###.### Change the ### for IP address’s Once done use the below to check if the settings has been applied /system ntp client print Below are two IP addresess for NTP servers that I use, they […]

What version of Centos is my server running?

This post shows how to find out what version of Centos you are running from the command line. tail /etc/redhat-release This will output the version in a simple format: Centos release 5.10 (Final)  

Remove a folder in Linux

This is the command to remove a folder/directory including its contents, use with caution as you wont get an “are you sure” prompt rm -rf example In the above example it would delete a folder/directory called example. Just change that to your folder/directory name. The below code will do the same as above, but you […]

Port Forwarding on a Mikrotik Routerboard

The below example shows a simple port forward that is forwarding TCP, Port 32400 (Plex) to the internal address (Plex Media Server) This string is entered into the console.   /ip firewall nat add action=dst-nat chain=dstnat disabled=no dst-port=32400 in-interface=ether1-gateway protocol=tcp to-addresses= to-ports=32400

Mount a Windows share in Centos 6

mkdir /mnt/win yum install samba-client samba-common cifs-utils Edit the /etc/fstab file and add a line like: \\winbox\getme /mnt/win cifs user,uid=500,rw,suid,username=sushi,password=yummy 0 0

Zyxel P660 – Removing secured web IP

If you have locked down the web management port to 1 IP address and you need to access it from a different IP you can telnet to the router and using the below commands remove the secured Ip address allowing access from the web gui from any IP. sys server load sys server secureip web […]