NODE.JS: sh: 1: node: Permission denied
You might be getting this one when running commands as root: If you're really sure what you're doing, you may
You might be getting this one when running commands as root: If you're really sure what you're doing, you may
If you're seeing HTTP 413 "Request Entity Too Large" errors in your nginx logs, most likely this is caused by
nginx uses similar syntax to that of Apache to allow users to access a directory, depending if their IP or
Percona Server 5.7 needs slightly different answers passed to debconf-set-selections to allow unattended / silent installation:
If you have dumped all MySQL databases into one file (mysqldump --all-databases), you may have issues restoring a single database
If you want to use mysql command to connect to MySQL server running on localhost, but on nonstandard port (not
If you've changed your database properties to use innodb_large_prefix = 1 and innodb_file_format = Barracuda in my.cnf
Sometimes, you will see MySQL setups where only one database is being replicated. How to add a second database, so
Ever wondered how to set up multiple shared IPs in WHM? Here is how. You can’t add multiple shared
By default, mongo runs with user auth disabled. To enable it, do the following: Create admin user First, connect to
Linux distributions like Debian or Ubuntu with software RAID (mdadm) run a check once a month (as defined in /etc/
Update: the same fix works for 30 June / 1 July 2015 issue. If your java applications suddenly started to use
If your internet provider started supporting IPv6 in addition to the usual IPv4, you may want to make sure the
If you're using LXD, you may be surprised that you're not getting packets logged with iptables' LOG target. Or, not
If you’ve migrated to a newer kernel and a newer hpsa module is used instead of cciss, you may
You will need LXD > 2.3: On server1, with IP 1.2.3.4: On server2, with IP 5.6.
're getting the following error when cloning a git repository: You may be missing ca-certificates package on your system (which
Some hosting companies, notably OVH, have their networking set in a way that it constantly “pollutes” dmesg with the following
To generate a DKIM (DomainKeys Identified Mail) key with OpenSSL, you can use the following steps: 1. Open a terminal
To generate your dhparam file, run the following command in the terminal (note it may take a few minutes to
Convert a video to a different resolution This one converts a video to 1366x600 resolution (-vf scale=1366:600) and
If your distribution just switched to systemctl (i.e. Ubuntu 16.04) you may notice that your custom OpenVPN configs
In case IPv6 is not enabled on your CentOS box, you may want to check /etc/modprobe.d/ipv6.conf
Debian Wheezy comes with PHP 5.4. If this is too new for your application and it doesn’t work
If any fan noise on your brand new Dell Precision 5520 with Ubuntu annoys you, or your fan constantly switches
If your systemd listens on port 111 but you don't want that, please do the following steps: * verify it's listening
Sometimes, you may need to disable mouse and keyboard on a remote server / PC running X (i.e. over SSH)
* To decode a certificate, run: * To decode a certificate signing request (CSR), run: * To check if the key and crt
Since Debian Lenny is now deprecated and no longer supported, its packages are now removed from the mirrors. Because of
Some handy date conversion oneliners in bash. * Assuming we have a unix timestamp format (seconds since 1970-01-01 00:00:00
To find and remove empty files (0-byte files), you can use: To find and remove empty directories, you can use:
The following AWS IAM policy allows EC2 volume snapshotting:
Here are some arcconf usage examples. Adaptec Storage Manager (arcconf) can be downloaded from here. Note that the second example
Sometimes, you may want SSL (https://) version of your websites to have different robots.txt than the plain text version
Bitbucket has a bit imprecise documentation about pushing an existing code to their repo. If you have an existing directory
Have you ever needed to execute a command or to connect to an interactive text console on a remote Windows
A quick SVN setup example. * choose a location where your SVN server will keep data – for example, /srv/svn; use
With MySQL, for most use cases, InnoDB is a much better database engine than MyISAM. If you have plenty of
This simple script makes tar.gz packages for hosts you have in your BackupPC archive. You can later write these
Increasing number of instances running on Amazon AWS / EC2, ever wondered how to get their list of IP addresses, including
Debian Wheezy comes with Redmine 1.4.4. If you want to upgrade to Redmine 2.3.x using deb
Introduction Virtualization is a great technology, as it lets you run multiple virtual systems on a single server. It's easy
If you want to compile cpuminer statically, you will notice it fails quite fast with the output similar to: This
If you ever wondered how to generate a sitemap file for Mailman (the GNU Mailing List Manager), to be submitted
Was your mail ever rejected or tagged as spam because it didn’t have a DKIM signature? You could enable
Summary Rsync is one of the best local and remote syncing programs. However, there is one problem with it: it's
Normally, Xen will not work with LILO, as LILO can't use multiple initrd images, which Xen needs. A workaround is
If you want to root your Motorola Droid Razr xt910, but can’t find proper Linux docs, here is a
Mongo has mostly excellent documentation, yet sometimes it may not be obvious how to do some less-used configuration changes. One
Was your Mailman mailing list ever devastated by spambots? If yes, you may consider adding REL="nofollow" attributes to all
For some time, large botnet installations have been attacking WordPress installations from many IPs, sometimes the number of attacking addresses
If you ever wanted to use your Postfix with multiple SSL certificates for different domains, here is how. List of
If you're running a busy database, the chances are that a ALTER TABLE statement executed will not really work, you
Mailman is a very popular mailing list manager. Unfortunately, one feature Mailman doesn't provide is searching its archives. Note that
Installing Debian Squeeze on DELL PowerEdge R710 via DRAC can be quite an adventure – the main problem is that the
Theory If you want to execute a local command (be it a script or a program) remotely, you can upload
Go back to the main "Diskless / remote boot with Open-iSCSI" page. Additional info / troubleshooting never connect more than one PC
Go back to the main "Diskless / remote boot with Open-iSCSI" page. Downloads initrd.tar.bz2 - an example initrd directory
Background It is possible to start a diskless machine remotely using Open-iSCSI on the client side. You have to take
If you ever wanted to use your Cyrus IMAP server with multiple SSL certificates for different domains, here is how.
Introduction A multiseat, multi-station or multiterminal configuration is a single computer which supports multiple users at the same time. The
I needed to configure ISDN on a small, Linux-based router, powered with a tiny 200 MHz mipsel CPU. As the
The mod_sftp module in ProFTPD implements the SSH2, SFTP and SCP protocols, allowing SCP and SFTP clients to be
Some time ago, I was playing with logfs, a scalable flash filesystem. It’s interesting because of at least three
For some time, I’ve been playing with Debian on Freecom FSG-3. The device is quite cool – a size of
The latest stable IET release, 0.4.15, suffers yet another misfeature: it will likely break all initiators when the
Because datacenters are very dependent on iSCSI, with an increasing amount of diskless servers booted directly off iSCSI NAS devices,
This article focuses on managing software RAID level 1 (RAID1) in Linux, but similar approach could be used to other
WHM/cPanel is one of the most successful web hosting control panel. Especially popular among shared hostings, it came to
Recently I was setting up DRBD (in short: “block devices designed as a building block to form high availability (HA)
Is using CPU frequency scaling on a server a good idea? After all, some servers don’t do very much
You have to specify a valid country code in Certificate Signing Request (CSR). Although usually country codes for CSRs match