Update gem behind proxy

I tried to update gem behind a proxy and got the following error message: sudo gem update –system ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) Errno::ETIMEDOUT: Connection timed out – connect(2) for “api.rubygems.org” port 443 (https://api.rubygems.org/specs.4.8.gz) Though the http_proxy and https_proxy (also in upper case) was set it didn’t work.  Trying to set the proxy directly

Update gem behind proxy Read More »

Ubuntu 15.10 “error: symbol ‘grub_efi_find_last_device_path”

Updating to the latest grub version (at the moment 2.02~beta2-29ubuntu0.3) leads to “error: symbol ‘grub_efi_find_last_device_path’ not found” when I try to start Windows on my dual boot system having Ubuntu 15.10 next to Windows 10. This can be fixed by downgrading to the version before the latest one in the ubuntu repository till this bug

Ubuntu 15.10 “error: symbol ‘grub_efi_find_last_device_path” Read More »

Configure Redis-Cache in Magento 2

To use redis for caching in magento2 I added the following part in app/etc/env.php: ‘cache’ => array ( ‘frontend’ => array ( ‘default’ => array ( ‘backend’ => ‘Cm_Cache_Backend_Redis’, ‘backend_options’ => array ( ‘server’ => ‘127.0.0.1’, ‘port’ => ‘6379’, ‘persistent’ => ”, ‘database’ => ‘0’, ‘force_standalone’ => ‘0’, ‘connect_retries’ => ‘1’, ‘read_timeout’ => ’10’, ‘automatic_cleaning_factor’

Configure Redis-Cache in Magento 2 Read More »

Magento Update Script

To Update massive amounts of data in magento without going directly into the database I found an interesting piece of code under http://www.mydons.com/writing-custom-magento-shell-script/: <?php require_once ‘abstract.php’; /** * Mydons Inventoryupdate Shell Script * * @author Mydons */ class Mydons_Shell_Inventory extends Mage_Shell_Abstract { /** * Run script * */ public function run() { Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $file_handle =

Magento Update Script Read More »

docker as normal user under Fedora 23

See https://docs.docker.com/v1.6/installation/fedora/ “The docker command line tool contacts the docker daemon process via a socket file /var/run/docker.sock owned by root:root. Though it’s recommended to use sudo for docker commands, if users wish to avoid it, an administrator can create a docker group, have it own /var/run/docker.sock, and add users to this group.” sudo groupadd docker

docker as normal user under Fedora 23 Read More »