Monthly Archives: February 2014

Server 2012 – install Disk Cleanup feature

Server 2012 and 2012 do not have Disk Cleanup feature installed as default. We can see how the Disk Cleanup is missing here: Lets install the feature using PowerShell, as it is much faster than the GUI based method: Add-WindowsFeature

Posted in Server 2012

Installing network on Ubuntu

There are 4 steps involved Install Nano if you havn’t done so already. Configure the network card to recieve Static or DHCP IP Configure your hostname and gateway Configure your DNS Install Nano # sudo apt-get install nano Conf igure the

Posted in Linux

Backing up live linux – work in progress

In this worklog, I’m going to use dump to backup my system and chattr to mark some folders I don’t want to backup. Using Chattr to mark folders we do not want to backup. Quote: A file with the ‘d’ attribute

Posted in Linux, System Utils

Out of space, but you know it’s wrong!

So, I have a Mailcleaner server I’m using for cleaning my mail, but I also wanted to use the 250GB space as backup Space. After settings up Rsync and the firewall I starte backing up data from my NAS, but

Posted in Linux, Rsync, System Utils, Troubleshooting

Adding firewall rule to Mailcleaner

MailCleaner is a full email filtering gateway. It includes a complete GNU/Linux OS and a graphical web interface for user and administrative access (more).. I have a Mailcleaner set up externally and also want to use it as a backup

Posted in Linux, Mailcleaner

Create rsync target on ubuntu linux

On target backup server: Install rsync: sudo apt-get install rsync Create and enter the configuration file using nano and fill in the contents: sudo nano /etc/rsyncd.conf # log file = /var/log/rsync.log timeout = 300 [SHARE_NAME] path = SHARE_PATH read only

Posted in Linux, Rsync

Setup SSH key pair between Linux Server and Diskstation

SSH to Diskstation: mkdir ~/.sshkeys && cd ~/.sshkeys ssh-keygen -t dsa -b 1024 -f ~/.sshkeys/diskstation-rsync-key cd /root/.sshkeys ls -ls chmod 600 /root/.sshkeys/diskstation-rsync-key SSH to Server: mkdir ~/.sshkeys && cd ~/.sshkeys ssh-keygen -t dsa -b 1024 -f ~/.sshkeys/server-rsync-key cd /root/.sshkeys ls

Posted in Linux, System Utils

Install Owncloud

  Source: Install isv:ownCloud:community / owncloud sudo sh -c “echo ‘deb /’ >> /etc/apt/sources.list.d/owncloud.list” sudo apt-get update sudo apt-get install owncloud Need to get 84.6 MB of archives. After this operation, 249 MB of additional disk space will be

Posted in Linux, OwnCloud

Install and setup SSH server on Linux

In order to install an SSH server on an Ubuntu Linux we simply login and install OpenSSH-server. apt-get install openssh-server The  SSH server now Works with default settings. In order to find the configurations file and other related files for

Posted in Linux, System Utils