Nodaways seems that every script kid is able to produce a soft DDOS attack, happily they are small and limited so they cant saturate your DNS unless they really know what they are doing. This is a more or less step by step guide intended for begginers to help stabilize the linux server and prevent further attacks. There are some basic settings you should have already implemented in your linux server as part of security ... Read more
There are many guides about how to install (D)DoS Deflate on Linux server (or VPS) and in most cases there shouldn’t be a problem with it but I faced some small issues installing (D)DoS Deflate on Ubuntu. So I decided to share how I managed to install and configure it successfully on my machine. I guess the same fix (see below) would work on Ubuntu as well. Install (D)DoS Deflate the way it is advised ... Read more
Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc., In this article, let us review 10 practical unix netstat command examples. 1. List All Ports (both listening and non listening ports) List all ports using netstat -a # netstat -a | more Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:30037 *:* LISTEN udp 0 ... Read more
rsync stands for remote sync. rsync is used to perform the backup operation in UNIX / Linux. rsync utility is used to synchronize the files and directories from one location to another in an effective way. Backup location could be on local server or on remote server. Important features of rsync Speed: First time, rsync replicates the whole content between the source and destination directories. Next time, rsync transfers only the changed blocks or bytes ... Read more
This article provides 6 practical examples on using dd command to backup the Linux system. dd is a powerful UNIX utility, which is used by the Linux kernel makefiles to make boot images. It can also be used to copy data. Only superuser can execute dd command. Warning: While using dd command, if you are not careful, and if you don’t know what you are doing, you will lose your data! Example 1. Backup Entire ... Read more
mongodump is an useful tool to backup Mongo database. Apart from taking a cold backup, it can also take hot backup. i.e You can connect to a running instance of MongoDB and take a backup even when users are using the database. mongorestore is an useful tool to restore the MongoDB backup that was taken using mongodump utility. This tutorial provides several mongodump and mongorestore command examples that you can use to backup and restore ... Read more
Connect to mongodb: root@ubtutorials.com :~$> mongodb create a new database named blog: user blog You can do that by just executing use blog Now insert the following 5 items in that database db.Blog.insert( { name : "Denis", age : 20, city : "Princeton" } ) db.Blog.insert( { name : "Abe", age : 30, city : "Amsterdam" } ) db.Blog.insert( { name : "John", age : 40, city : "New York" } ) db.Blog.insert( { name ... Read more
WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs and much more, without using a web browser. Requirements UNIX-like environment (OS X, Linux, FreeBSD, Cygwin) PHP 5.3.2 or later WordPress 3.5.2 or later Installing (And Upgrading) First, download wp-cli.phar using wget or curl. For example: curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar Then, check if it works: php wp-cli.phar --info To be able to type just wp, instead of ... Read more
This guide will describes the basic steps of installing Ubuntu Server 14.04 from beginning to end. As already we know,Ubuntu Server 14.04 LTS with codenamed “Trusty Tahr” is the newest version operating system for server released by canonical on April 17 2014. Come with LTS version Ubuntu Server 14.04 will be supported for 5 years by canonical, it also includes few apps such as ( OpenStack 2014.1, Puppet 3, Xen 4.4, Ceph 0.79, Qemu 2.0.0, ... Read more
This guide details how to install a graphic desktop environment on your Linode running Ubuntu 12.04, and connect to it from your local computer using VNC. Installing a Desktop and VNC on your Linode Before you begin it’s good practice to make sure your system is up to date: 1 2 sudo apt-get update sudo apt-get upgrade Ubuntu has several desktop environments available in its repositories. The following command installs the default desktop, Unity : ... Read more