Installing : epel-release-7-11.noarch 1/1 > Package epel-release.noarch 0:7-11 will be installedĮ | 15 kB 00:00:01 Loading mirror speeds from cached hostfile ~]# yum install epel-release -y Loaded plugins: fastestmirror JQ(JSON Processor) utility is available through EPEL Repository so to install jq you need to first install EPEL Repository by using yum install epel-release -y command as shown below. Please Check How to Add User to Sudoers to know more about providing sudo access to the User. You can check Top 22 YUM command examples in RedHat/CentOS 7to know more about yum command.Ĭ) You should have root or sudo access to run Privileged commands on your Server. How to Install jq(JSON Processor) tool on RHEL/CentOS 7/8Īlso Read: How to Defragment an XFS Filesystem in Linux(5 Simple and Effective Steps) Step 1: PrerequisitesĪ) You require a running RHEL/CentOS 7/8 Server.ī) You should have yum installed in your Server. This tool can easily be integrated and used with other Linux friendly scripting languages like Python and Bash. It is an open source tool available on Linux Based System to process the JSON output and query the desired results. It can be used with variety of other programming Language likes C, C++, Java, Python, Perl and many more. It is based on JavaScript Programming Language and is used to store the data in name value pairs format. JSON is known as JavaScript Object Notation. Often Programmers and Developers uses this tool along with some other tools to process the JSON output. jq is an open source tool available from EPEL Repository which can be easily installed in any of the Linux Servers in just few steps. If you are working with JSON then you might be aware of jq tool which is being used to query and process the JSON output on Linux Based Servers. ) Hello.In this article, I will take you through the steps to Install jq(JSON Processor) on RHEL/CentOS 7/8.The second result is got result from memcached, which verifies that the value is stored successfully in memcache.įinally, you can view the memcache keys using Telnet: telnet localhost įlush the memcache storage and quit Telnet: flush_allĪdditional information about the Telnet test This means that the key didn’t exist in memcache but it was retrieved from MySQL. The first result is got result from mysql. Where is either localhost, 127.0.0.1, or the memcache host name or IP address. $meminstance->set($querykey, $result, 0, 600) $result = mysql_fetch_array(mysql_query("select id from example where name = 'new_data'")) or die('mysql error') $query = "select id from example where name = 'new_data'" Mysql_select_db("memcache_test") or die(mysql_error()) Mysql_connect("localhost", "memcache_test", "memcache_test") or die(mysql_error()) Create a phpinfo.php file in the web server’s docroot:.To verify memcached is recognized by the web server: Verify memcached is recognized by the web server Doing so takes only a few minutes and can simplify troubleshooting later. ![]() We recommend testing memcached to make sure it works before you install Magento. Verify memcached works before installing Magento Restart your web server.For Apache, service httpd restart.Save your changes to memcached and exit the text editor.Locate the value for OPTIONS and change it to localhost or 127.0.0.1įor more information about configuring memcached, see the memcached wiki.Locate the value for CACHESIZE and change it to at least 1GB.For example,.Open /etc/sysconfig/memcached in a text editor.Change the memcached configuration setting for CACHESIZE and OPTIONS:.Yum -enablerepo=remi,remi-php56 install php-intl
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |