Install Redis Server and PHP-Redis on Debian or Ubuntu System Rumi, April 20, 2018 you can install the phpredis extension from the Ubuntu respositories. First, if you don’t have it installed already, let’s install Redis: sudo apt-get install redis-server After we get Redis installed (and/or verified that it was installed), we can install the PHP module for Redis: sudo apt-get install php5-redis After the module is done installing, you will want to restart your webserver and/or process manager (php-fpm, spawncgi, et cetera). Once you’ve restarted, you can check phpinfo() for a new section labeled Redis. On Ubuntu 14.x System, you may try: Install Redis 2.8.9 sudo apt-add-repository ppa:chris-lea/redis-server sudo apt-get update sudo apt-get install redis-server Remove Redis 2.8.9 sudo apt-get purge--auto-remove redis-server Related Administrations Configurations (Linux) DebianRedisUbuntu
Apache Virtual Hosts on CentOS August 24, 2019 Step One— Create a New Directory The first step in creating a virtual host is to a create a directory where we will keep the new website’s information. This location will be your Document Root in the Apache virtual configuration file later on. By adding a -p to the line… Read More
How to Allow MySQL Client to Connect to Remote MySQL server December 19, 2011 By default, MySQL does not allow remote clients to connect to the MySQL database. If you try to connect to a remote MySQL database from your client system, you will get “ERROR 1130: Host is not allowed to connect to this MySQL server” message as shown below. $ mysql -h… Read More
Add a User To Group www-data ( Apache Group ) October 10, 2019 The procedure is as follows: Open the terminal application. Login to Ubuntu server using ssh. Add a new user named foo to www-data group by running useradd -g www-data foo command. Add an existing user bar to Apache’s www-data group on Ubuntu using usermod -a -G www-data bar command. Verify new modification on Linux… Read More