Support

Forums

Contact Me

Posts Tagged 'server'

Server (computing)

In the context of client-server architecture, a server is a computer program running to serve the requests of other programs, the "clients". [http://en.wikipedia.org/wiki/Server_(computing)]

Give a new life to your Synology disk station: change its cooling fan

synology_nas_less_noise

After some years of use, you’ll notice the increase noise coming from the cooling system. Any ventilator on the market, even the more expensive, or the more silent will wear off and start making noise. Replacing the ventilator is done in less than 2 minutes if you follow this little how to.

Choosing the right ventilator

  • Don’t pay too much, better choose a cheap model and replace it every year or two
  • Below 19 dB, it is difficult to hear a ventilator running, don’t go over 22dB noise
  • You need a 80mm x 80mm x 25mm it is a standard size, you cant go wrong in a shop (other common size are 92mm and 120mm)
  • Check that the connector is a 3 pin Molex.
  • It need to run on 12volts, the lower the voltage, the lower the noise, but too low and the NAS may overheat since the air flow is also reduced.

I paid this Xilence case fan 8 euros, sold as being silent 15dB, 1500 rpm, 18.67 CFM, not running below 7V.

You can safely choose any brand:  Papst, Be quiet!, Revoltec, Zalman, Noctua, Noiseblocker, all of these are good if they meet the above requirement, unfortunately the were not available in my favorite shop (www.digitec.ch)

Read more: Give a new life to your Synology disk station: change its cooling fan

Google Data Centers virtual visit

2 weeks ago, a post on Google's official blog announced a project that allows users to step inside the private world of its data centers. For the first time, the company's impressive efficiency records and green ethos have been given a face in the form of the stunning photographs by Connie Zhou and the Street View-able hallways of the Lenoir facility in North Carolina...

GoogleDataCenters

http://www.google.com/about/datacenters/gallery/#/

Virtualizes a Linux server on the fly with RSYNC

 

LOGO_virtualized_vmware_S

You'll need a lot of patience...Since there is no VMWARE Converter for Linux...

My objective is to virtualizes my Internet server running SUSE in a VMWARE to ease the migration to a more powerful and up to date server.

 

I am using RSYNC since:

  • I have no access to the machine, So I can't stop the server and make a binary images of the disk as the server is in a STRATO data center in Germany (Berlin)
  • I don't like operations down time.

I HAVE TO virtualize my server because:

  • The operating system SuSE is too old and is no more security patches available.
  • I want to have a local reference in VMWARE of my Internet server.

This tutorial can be see as an add-on of this one : http://www.linuxjournal.com/article/9942 (very good by the way) I just complete the missing steps or document some issues I've encountered..

Articles tagged

Read more: Virtualizes a Linux server on the fly with RSYNC

Ubuntu 12.04 update nginx to the latest version

Official version of nginx for Ubuntu Precise is 1.1.19 but the latest available stable version is 1.2.2 (Changes), In this post I will present you how to update to the latest available version.

vi /etc/apt/sources.list

and add depending on your Ubuntu version either

For Ubuntu 10.04 Lucid:

deb http://nginx.org/packages/ubuntu/ lucid nginx
deb-src http://nginx.org/packages/ubuntu/ lucid nginx

For Ubuntu 12.04 Precise:

deb http://nginx.org/packages/ubuntu/ precise nginx
deb-src http://nginx.org/packages/ubuntu/ precise nginx

Now you can run

apt-get update

When using the public nginx repository for Ubuntu, you’ll get this error

W: GPG error: http://nginx.org lucid Release: The following signatures 
couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62

First of all this is only warning and you can ignore it, if you know what are you doing and in case you prefer to add public key, used for signing packages and repository, just run:

gpg -a --export 7BD9BF62 |  sudo apt-key add -

or

wget http://nginx.org/packages/keys/nginx_signing.key
cat nginx_signing.key | sudo apt-key add -

apt-get update should now run fine, however after running an

apt-get install nginx

you may still get this kind of error:

dpkg: error processing /var/cache/apt/archives/nginx_1.2.2-1~precise_amd64.deb (--unpack):
 trying to overwrite '/etc/logrotate.d/nginx', which is also in package nginx-common 1.1.19-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/nginx_1.2.2-1~precise_amd64.deb

just remove nginx-common and retry

apt-get remove nginx-common 

More at http://wiki.nginx.org/Install

Convert Physical Windows Systems Into Virtual Machines To Be Run On A Linux Desktop

This article shows how you can convert a physical Windows system (XP, 2003, 2000, NT4 SP4+) into a VMware virtual machine with the free VMware Converter Starter. The resulting virtual machine can be run in the free VMware Player and VMware Server, and also in VMware Workstation and other VMware products. Vmware Converter comes in handy if you want to switch to a Linux desktop, but feel the need to run your old Windows desktop from time to time. By converting your Windows desktop into a virtual machine, you can run it under VMware Server/Player, etc. on your Linux desktop.

I Will try that this week end!

Make your Linux server safer: remove SUID/SGID root settings from binaries

First let's refresh some definitions...
set user ID (SUID)

The SUID permission causes a script to run as the user who is the owner of the script, rather than the user who started it. It is normally considered extremely bad practice to run a program in this way as it can pose many security problems.

set group ID (SGID)

The SGID permission causes a script to run with its group set to the group of the script, rather than the group of the user who started it. It is normally considered extremely bad practice to run a program in this way as it can pose many security problems.

Latest versions of the Linux kernel will even prohibit the running of shell scripts that have SGID/SUID attribute set.

Read more: Make your Linux server safer: remove SUID/SGID root settings from binaries

Alternate method to install Joomla/Drupal on Synology NAS

synology_nas4

If you want more control, want to install Joomla yourself or want to install any other CMS, you may also want to try this method. It require some basic knowledge about SSH / file transfer through.

Main differences compare to the other method

  • You won’t have any icons into the packages manager,
  • You wont be able to stop this services,
  • More prone to errors

How to Install

In the Control Panel of your Synology DSM NAS, go to “Web Services” and activate

  • Enable Web Station
  • Enable MySQL

Use a Terminal to connect to your NAS, preferably as admin, using Winscp under windows for example.

Move to the directory

/volume1/web

Upload all your Joomla files into a new directory, for example in

/volume1/web/joomla

Point your browser to http://{youservernasname}/joomla/ and finish the installation of Joomla.

The BlackDog, one of the smallest Linux servers



BlackDog is a fully self-contained computer with a built-in biometric reader and a host of other powerful features. Unlike any other computing device, BlackDog is completely powered off of the USB port of your host computer – no external power adapter required!
  • Dimensions: H: .50â€Â? W: 1.75â€Â? L: 3.5â€Â?
  • Weight: 1.6 ounces
  • 400Mhz PowerPC Processor
  • 64MB RAM
  • 256MB (199$) or 512MB (239$) Flash Memory
  • USB 2.0
  • Biometric Scanner
  • MMC Expansion Slot

 

Running Joomla! on Synology NAS

synology_nas

From small-and-medium business to individual users, Synology products offer a full range of choices to fulfill different needs, while sharing some similar characteristics- eco-friendly, quiet, and versatile.

Pre requisites

Download the Synology package Joomla-1.7.2.spk

In the Control Panel of your Synology DSM NAS, go to “Web Services” and activate

  • Enable Web Station
  • Enable MySQL

joomla_on_synology_nas_001

Read more: Running Joomla! on Synology NAS

FaF File Anomaly Finder

FaF (File Anomaly Finder) is a wrapper for the *nix 'find' utility. It generates audit reports for data matching specific characteristics; such data as setgid/setuid, unowned, and more. The objectives are simply to create a simple anomaly finder that identifies common flawed permissions or otherwise suspicious file system characteristics.

The main features of FaF are:
  • simplistic and to the point audit reports
  • easy setup and configuration
  • audits emailed to customizable address or user
  • ideal for web servers or general purpose workstations
  • audits of setgid/setuid, hidden, unowned, & world writable data
  • very portable
 http://www.r-fx.org/faf.php

Read more: FaF File Anomaly Finder

Donations

Thank You for supporting my work