Linux Admin

How to edit mediawiki navigation sidebar

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

Append /MediaWiki:Sidebar to your web site’s URL, e.g.,

http://www.innovitacorp.com/MediaWiki:Sidebar

then click edit tab.

Popularity: 1%

Comments

How to install TrixBox CE v2.4 and up

No GoodNeed ImprovementOKGoodExcellent (1 votes, average: 5 out of 5)
Loading ... Loading ...

1, Download it from https://www.trixbox.com.
2, Burn a CD from iso image
3, Install Trixbox on an old PC
4, Login to the server using username/password: root/mysecret
5, Change DHCP to Static IP address:

system-config-network.

Name: eth0
Device: eth0
Static IP: 192.168.1.10
Netmask: 255.255.255.0
Default gateway IP: 192.168.1.1

6, add DNS nameservers:

cd /etc/sysconfig/networking/profiles/default
vi resolv.conf

add the following lines:

nameserver 192.168.1.1
nameserver 71.252.0.12

7, restart network and do a ping test

service network restart
ping www.labsupplymall.com

8, configure trixbox: http://192.168.1.10, username: maint, password: password.

Popularity: 1%

Comments

Quick and Easy Way to Backup Linux Directories to Another Server

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

If you want to backup all directories under /home directory on server A to another server (server B), use the following script for automated batch backup:


#!/bin/bash

cd /home
for dir in $( ls )
do
if [ -d "$dir" ]; then
#echo $dir
tar czvf /disk2/$dir.tar.gz $dir
scp -P 22 /disk2/$dir.tar.gz backup@serverB.com:/backup
rm -rf /disk2/$dir.tar.gz
fi
done

You need to have a /disk2 directory for temporary tar.gz files.

You should create a public-private key pairs on server A and copy public key to server B, so you don’t need to enter password for automated backup (cron job).

Popularity: 1%

Comments

Next »