Views: 467 What is /dev/random?In Unix-like operating systems, /dev/random, /dev/urandom and /dev/arandom are special files that serve as pseudorandom number generators. They allow access to environmental noise collected from device drivers and other sources. Here is an example where we generate a password with 10 symbols You can edit the symbols and the length for […]
Views: 6,929 Have you ever wondered what is the speed of your ssh connection. For example you are connected to a server in Dubai but you live in London and now you want to know what is the speed if you need to scp something. Well the solution to this problem is called PV. So […]
Views: 861 If you have a problem with the files transfer like speed 1-2MB per second.You have to enable ssh, login with putty to the nas and go to /etc/exports You will see a table with your shares and inside syncreplace sync with async and reboot the nas!
Views: 286 Samba is a free software re-implementation of the SMB networking protocol, and was originally developed by Andrew Tridgell. Samba provides file and print services for various Microsoft Windows clients and can integrate with a Microsoft Windows Server domain, either as a Domain Controller (DC) or as a domain member. As of version 4, […]
LightSquid is a Squid log analyzer that runs on pfSense. By parsing through the proxy access logs, the package is able to produce web-based reports that detail the URLs accessed by each user on the network.
Views: 389 If you need a way to connect to remote ssh host and you don’t have putty installed you can use plink.Just open cmd and type:
The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Users that set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration—though its general-purpose nature makes it useful for things like downloading files from the Internet and downloading email at regular intervals.
Rsyslog is an open-source software utility used on UNIX and Unix-like computer systems for forwarding log messages in an IPnetwork. It implements the basic syslog protocol, extends it with content-based filtering, rich filtering capabilities, queued operations to handle offline outputs, support for different module outputs, flexible configuration options and adds features such as using TCP for transport.
The GeoIP extension allows you to find the location of an IP address, including the city, state, country, latitude, and longitude.
If you'd like to use the new GeoIP2, MaxMind now offers a pure PHP implementation that doesn't require a C extension: https://github.com/maxmind/GeoIP2-php.
This is a simple tutorial on how to back up your www directory a.k your website and the database. For the file backup we are going to use the tar command which will archive the files and folders. Mysqldump is going to be our database export tool and scp and ssh the tools for remote transfer the archive.