41 Search results

For the term "linux%20services%20disable".

How To Free Linux Cache

These commands will cause the kernel to drop clean caches, dentries and inodes from memory. To free pagecache: sudo sync echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: sudo sync echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: sudo sync echo 3 > /proc/sys/vm/drop_caches As this is a non-destructive operation, and dirty objects are not freeable, the user should run...

How To Debug YaCy

This is the beginners guide to debugging YaCy as I have experienced it. This guide is meant for those who have just installed YaCy and need a little help. YaCy NOOBS may not even be able to find the right question to ask in the forum. So I will try to fill that gap here; YaCy seems to be running,...

Magento 1.7 Multiple Sites Install on Ubuntu Linux

How To Install Multiple Stores in Magento 1.7 These are my notes. I do not profess to be a professional Magento developer. This guide is for a pure SSH install using Rsync. Now given that you are proficient with SSH and command line Linux, the install of Magento is not difficult if you also can: Create a MySQL database, user...

How To Harden Debian Server

Its not enough to harden just Debain. Its necessary to harden the rest of Apache-MySQL-PHP as well. Harden MYSQL sudo mysql_secure_installation answer Yes to all questions (but no need to change password) Disabling SSH root login and settings sudo vi /etc/ssh/sshd_config change PermitRootLogin yes to PermitRootLogin no LoginGraceTime 120 to LoginGraceTime 30 add line AllowUsers username username username Consider disabling...

Install Truecrypt

Note: When installing Truecrypt on a new linux system, the most common failure (install simply stops without an error message) is due to the permissions of the user. Make sure the user has been added to sudoers group and reboot (or logout and login again), or you will get the massage “user not in sudoers group”. Download Truecrypt Download signature...

Apache Virtual Host Example

There are so many variation of how to setup Apache VirtualHost that its difficult for a beginner to figure it all out. Here is how I have found works best for a LAMP server that you own. If its not a standard Linux distro (Debian/Ubuntu here) all bets are off. sudo vi /etc/apache2/sites-available/www.example.com copy this code into the file <VirtualHost...

How To Solve Swappiness (Apache) Problem

Swappiness is a Linux kernel parameter that controls the relative weight given to swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value causes the kernel to avoid swapping, a higher value causes the kernel to try to use swap space. The...

How To Install Canon MX925 on Debian

This is a fantastic printer for Linux machines and for the price its seems too good to be true. I’m not paid to say that. Download Drivers here Canon PIXMA MX925 Unzip the packages and $ cd ~/cnijfilter-mx920series-3.90-1-deb $ sudo ./install.sh ================================================== Canon Inkjet Printer DriverVersion 3.90Copyright CANON INC. 2001-2013All Rights Reserved. ==================================================Command executed = sudo dpkg -iG ./packages/cnijfilter-common_3.90-1_amd64.debSelecting previously...

Drupal Install Modules and Themes using SSH

If you don’t want to install Drush and don’t want to use FTP (I like a secure server) Install Drupal modules via SSH on Ubuntu Server (12.04 LTS) Assumptions: You have/are… Unix command line proficient Rsync capable Apache2/Ubuntu directories (other flavors of Linux may vary) Download module or theme to desktop Unzip file to an empty directory Upload module or...

GPG PGP Keys

Generate an SSH Key pair and upload public key to remote host