Category Archive: Ubuntu

Mar 12

How to: Configure memcache to use a unix socket

How to: Configure memcache to use a unix socket I have a server which is going to have its own memcached instance installed on itself… so I was thinking using a unix socket instead of tcp should improve the overall performace at least a little. I had tried doing the same with MySQL and I …

Continue reading »

Mar 12

General Commands Manual: dphys-swapfile

General Commands Manual: dphys-swapfile NAME dphys-swapfile – set up, mount/unmount, and delete an swap file SYNOPSIS dphys-swapfile setup|swapon|swapoff|uninstall DESCRIPTION dphys-swapfile computes the size for an optimal swap file (and resizes an existing swap file if necessary), mounts an swap file, unmounts it, and and delete it if not wanted any more. OPTIONS There is only …

Continue reading »

Mar 12

How to: Configure Swappiness in Ubuntu

How to: Configure Swappiness in Ubuntu In one of my previous articles on how to setup virtual memory / swap memory in Ubuntu I covered how to install a swap space for a Windows Azure VM. I deployed swap mostly as a precaution against running out of memory which could result on applications unable to …

Continue reading »

Feb 20

General Commands Manual: dpkg-buildpackage

General Commands Manual: dpkg-buildpackage NAME dpkg-buildpackage – build binary or source packages from sources SYNOPSIS dpkg-buildpackage [option…] DESCRIPTION dpkg-buildpackage is a program that automates the process of building a Debian package. It consists of the following steps: 1. It prepares the build environment by setting various environment variables (see ENVIRONMENT) and calls dpkg-source –before-build (unless …

Continue reading »

Feb 19

General Commands Manual: unlink

General Commands Manual: unlink NAME unlink – call the unlink function SYNOPSIS unlink file DESCRIPTION The unlink utility shall perform the function call: unlink(file); A user may need appropriate privilege to invoke the unlink utility. OPTIONS None. OPERANDS The following operands shall be supported: file The pathname of an existing file. STDIN Not used. INPUT¬†FILES …

Continue reading »

Feb 19

General Commands Manual: ln

General Commands Manual: ln NAME ln – make links between files SYNOPSIS ln [OPTION]… [-T] TARGET LINK_NAME (1st form) ln [OPTION]… TARGET (2nd form) ln [OPTION]… TARGET… DIRECTORY (3rd form) ln [OPTION]… -t DIRECTORY TARGET… (4th form) DESCRIPTION In the 1st form, create a link to TARGET with the name LINK_NAME. In the 2nd form, …

Continue reading »

Feb 19

How to: Add or Remove Symbolic links in Ubuntu

How to: Add or Remove Symbolic links in Ubuntu Unlike Windows, in Linux based systems symbolic links are use quite frequently. The advantage of using symbolic links is that they allow you to have the same file in multiple locations, but the content to remain the same across all of them regardless of where you …

Continue reading »

Feb 19

How to: Install Ruby on Rails using RVM

How to: Install Ruby on Rails using RVM This is just a quick complement of the article How to: Install the NginX Agent for NewRelic in an Ubuntu server. As I mentioned there if you need Ruby for something other than running a plugin agent like in a development web server RVM is the way …

Continue reading »

Feb 13

HowTo: Copy Files Over The Network using the Ubuntu Command Line

HowTo: Copy Files Over The Network¬†using the Ubuntu Command Line As I continued to struggle in this GUI-less word, the need for transferring files over the network arose. I needed to get a lot of files from one place to another and I just simply didn’t know how to do it. Linux obviously offers a …

Continue reading »

Feb 13

General Commands Manual: Rsync

General Commands Manual: Rsync NAME rsync – a fast, versatile, remote (and local) file-copying tool SYNOPSIS   Local: rsync [OPTION…] SRC… [DEST] Access via remote shell: Pull: rsync [OPTION…] [[email protected]]HOST:SRC… [DEST] Push: rsync [OPTION…] SRC… [[email protected]]HOST:DEST Access via rsync daemon: Pull: rsync [OPTION…] [[email protected]]HOST::SRC… [DEST] rsync [OPTION…] rsync://[[email protected]]HOST[:PORT]/SRC… [DEST] Push: rsync [OPTION…] SRC… [[email protected]]HOST::DEST rsync …

Continue reading »

Older posts «

» Newer posts

Fetch more items