{"id":14846,"date":"2019-06-29T23:06:44","date_gmt":"2019-06-30T03:06:44","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/learn-some-centos-linux-redhat-linux\/"},"modified":"2019-12-06T14:02:57","modified_gmt":"2019-12-06T19:02:57","slug":"learn-some-centos-linux-redhat-linux","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=14846","title":{"rendered":"Learn some CentOS Linux : Redhat Linux"},"content":{"rendered":"<p>This is mostly about Centos Linux. However, this also shows commands related to how to install Magento 2 on LEMP (E for Nginx Web-server). Some PHP related stuff are there as well.<\/p>\n<p>LEMP + CentOS + Magento 2 : VM Image or one click install: I did not see readily available on Upcloud, AWS Lightsail, Vultr, and Digital Ocean. I might share the Image for this cloud instance. Magento 2 + Ubuntu is there; though not with CentOS.<\/p>\n<p>1 php -v<\/p>\n<p>2 systemctl status nginx<br \/>\n3 systemctl status httpd<\/p>\n<p>5 systemctl status mysql<br \/>\n6 mysql<br \/>\n8 yum update<br \/>\n9 reboot<\/p>\n<p><strong>Create SWAP<\/strong><br \/>\n10 fallocate -l 1G \/swapfile<\/p>\n<p>12 chmod 600 \/swapfile<br \/>\n13 mkswap \/swapfile<\/p>\n<p>15 swapon \/swapfile<\/p>\n<p><strong>Make swap permanent<\/strong><br \/>\n16 vi \/etc\/fstab<br \/>\n17 \/swapfile swap swap defaults 0 0<br \/>\n18 swapon &#8211;show<\/p>\n<p><strong>Check disk spaces<\/strong><br \/>\n19 free -h<br \/>\n20 cat \/proc\/sys\/vm\/swappiness<br \/>\n21 cat \/etc\/fstab<br \/>\n22 swapon &#8211;show<br \/>\n23 free -h<br \/>\n24 cat \/proc\/sys\/vm\/swappiness<br \/>\n25 sysctl vm.swappiness=10<br \/>\n26 vi \/etc\/sysctl.conf<\/p>\n<p><strong>Create a user: Better not to work as root<\/strong><\/p>\n<p>27 useradd sahmed<br \/>\n30 passwd sahmed<\/p>\n<p><strong>Assign sahmed to wheel group i.e. make sahmed as sudo<\/strong><\/p>\n<p>31 usermod -aG wheel sahmed<\/p>\n<p>33 su &#8211; sahmed<br \/>\n34 mysql -u root -p<br \/>\n35 mysql<\/p>\n<p><strong>Install PHP Modules as will be require<\/strong>d by Magento and by many other PHP based applications and frameworks<\/p>\n<p>36 sudo yum install php-mysql php-opcache php-xml php-mcrypt php-gd php-soap php-redis php-bcmath php-intl php-mbstring php-json php-iconv php-fpm php-zip<br \/>\n37 vi configure.sh<br \/>\n38 su &#8211; sahmed<br \/>\n39 reboot<\/p>\n<p><strong>PHP-FPM is faster<\/strong><br \/>\n40 systemctl restart php-fpm<br \/>\n41 sudo su &#8211; magento<br \/>\n42 sudo chmod 750 \/opt\/magento<br \/>\n43 sudo su &#8211; magento<br \/>\n44 sudo systemctl restart php-fpm<br \/>\n45 sudo su &#8211; magento<br \/>\n46 vi \/etc\/php.ini<br \/>\n47 su &#8211; magento<\/p>\n<p><strong>ext-intl, and php-intl might give you a hard time<\/strong><\/p>\n<p>48 yum -y install ext-intl<br \/>\n49 yum -y install php*intl<br \/>\n50 yum -y list php*intl<br \/>\n51 yum -y install php-intl.x86_64<br \/>\n52 yum -y list php*intl<br \/>\n53 yum -y install php72u-intl.x86_64<\/p>\n<p>Couple of above lines might not work or might not give good results<\/p>\n<p><strong>Creating a user for magento though not required. You can create any sudo user other than root (better not to use root)<\/strong><\/p>\n<p>54 sudo su &#8211; magento<br \/>\n55 exit<br \/>\n56 su &#8211; root<br \/>\n57 su &#8211; magento<br \/>\n58 su &#8211; sahmed<\/p>\n<p>60 yum -y install php72*<\/p>\n<p><strong>The above line will help a lot : 60. Will install many of the required packages though might install some more<\/strong><\/p>\n<p>61 yum update<br \/>\n62 yum makecache<br \/>\n63 su &#8211; sahmed<br \/>\n64 reboot<br \/>\n65 su<br \/>\n66 su &#8211; magento<br \/>\n67 vi \/etc\/php.ini<br \/>\n68 systemctl restart php-fpm<br \/>\n69 su &#8211; magento<br \/>\n70 systemctl reload php-fpm<br \/>\n71 systemctl restart php-fpm<br \/>\n72 su &#8211;<br \/>\n73 mysql<br \/>\n74 history | grant<br \/>\n75 mysql<br \/>\n76 sudo su &#8211; sahmed<\/p>\n<p><strong>Configure your domain under nginx web-server<\/strong><\/p>\n<p>77 vi \/etc\/nginx\/nginx.conf<br \/>\n78 vi \/etc\/nginx\/conf.d\/shopforsoul.com.conf<br \/>\n79 systemctl reload nginx<br \/>\n80 ping <a href=\"http:\/\/shopforsoul.com\">shopforsoul.com<\/a><br \/>\n81 ping <a href=\"http:\/\/shopforsoul.com\">shopforsoul.com<\/a><\/p>\n<p>82 ifconfig<br \/>\n83 hostname<\/p>\n<p><strong>lynx a web-browser<\/strong><br \/>\n84 lynx <a href=\"http:\/\/shopforosul.com\">shopforosul.com<\/a><br \/>\n85 yum -y install lynx<br \/>\n86 lynx <a href=\"http:\/\/shopforosul.com\">shopforosul.com<\/a><\/p>\n<p><strong>Check access and error log: why not working<\/strong><br \/>\n87 ls \/var\/log\/nginx\/access.log<br \/>\n88 tail \/var\/log\/nginx\/access.log<br \/>\n89 tail \/var\/log\/nginx\/error.log<br \/>\n90 vi \/etc\/nginx\/conf.d\/<a href=\"http:\/\/shopforsoul.com\">shopforsoul.com<\/a><br \/>\n91 tail \/var\/log\/nginx\/error.log<\/p>\n<p>Issues were there related to lets encrypt i.e. ssl. as I modified \/etc\/hosts and assigned the cloud instance to the domain. domain is pointing to a different ip in reality. though used the domain so that I can test. later the domain DNS can be just changed to this cloud instance<\/p>\n<p>On config files, duplicates entries were for the domain i.e. duplicate server {}<br \/>\nalso under server: some lines were related to let&#8217;s encrypt and ssl ports. commented thouse out<br \/>\nLet&#8217;s encrypt command as used here will work for sure. Last line for let&#8217;s crypt might not work as DNS for the domain in real life points to another IP. when this is adjusted everything will work<\/p>\n<p>92 vi \/etc\/nginx\/conf.d\/default.conf<br \/>\n93 systemctl reload nginx<br \/>\n94 systemctl restart nginx<br \/>\n95 tail \/var\/log\/nginx\/error.log<br \/>\n96 vi \/etc\/nginx\/conf.d\/<a href=\"http:\/\/shopforsoul.com\">shopforsoul.com<\/a><br \/>\n97 rm \/etc\/nginx\/conf.d\/<a href=\"http:\/\/shopforsoul.com\">shopforsoul.com<\/a><br \/>\n98 vi \/etc\/nginx\/conf.d\/shopforsoul.com.conf<br \/>\n99 systemctl restart nginx<br \/>\n100 systemctl reload nginx<br \/>\n101 vi \/etc\/nginx\/conf.d\/shopforsoul.com.conf<br \/>\n102 pwd<br \/>\n103 cd \/opt\/magento\/public_html\/<br \/>\n104 ls<br \/>\n105 ls app\/etc\/env.php<br \/>\n106 vi app\/etc\/env.php<\/p>\n<p><strong>Check what is the admin url for magento 2<\/strong><\/p>\n<p>107 php bin\/magento info:adminuri<br \/>\n108 history &gt; \/home\/sahmed\/magento_install_history.txt<\/p>\n<p>&#8212;-<\/p>\n<p>The following commands were also used as part of installing Magento 2. However, under the user sahmed.<\/p>\n<p>1 sudo ls -l \/root<\/p>\n<p>3 systemctl status php-fpm<\/p>\n<p><strong>PHP repos: remi is one, ius is another.<\/strong><\/p>\n<p>4 yum repolist | grep epel<br \/>\n5 yum repolist<br \/>\n6 epel\/x86_64<\/p>\n<p><strong>This is let&#8217;s encrypt and SSL. You might want to do this before configuring Nginx and also before starting to install magento. Though remember, the domain will need to be a live one with proper DNS settings.<\/strong><\/p>\n<p>7 yum install certbot<br \/>\n8 sudo yum install certbot<br \/>\n9 sudo openssl dhparam -out \/etc\/ssl\/certs\/dhparam.pem 2048<br \/>\n10 sudo mkdir -p \/var\/lib\/letsencrypt\/.well-known<br \/>\n11 sudo chgrp nginx \/var\/lib\/letsencrypt<br \/>\n12 sudo chmod g+s \/var\/lib\/letsencrypt<br \/>\n13 sudo mkdir \/etc\/nginx\/snippets<br \/>\n14 cat \/etc\/nginx\/snippets\/letsencrypt.conf<br \/>\n15 vi \/etc\/nginx\/snippets\/letsencrypt.conf<br \/>\n16 sudo vi \/etc\/nginx\/snippets\/letsencrypt.conf<br \/>\n17 cat \/etc\/nginx\/snippets\/ssl.conf<br \/>\n18 vi \/etc\/nginx\/snippets\/ssl.conf<br \/>\n19 sudo vi \/etc\/nginx\/snippets\/ssl.conf<br \/>\n20 cat \/etc\/nginx\/conf.d\/<a href=\"http:\/\/shopforsoul.com\">shopforsoul.com<\/a><br \/>\n21 sudo vi \/etc\/nginx\/conf.d\/<a href=\"http:\/\/shopforsoul.com\">shopforsoul.com<\/a><br \/>\n22 sudo systemctl reload nginx<br \/>\n23 sudo certbot certonly &#8211;agree-tos &#8211;email sahmed &#8211;webroot -w \/var\/lib\/letsencrypt\/ -d <a href=\"http:\/\/shopforsoul.com\">shopforsoul.com<\/a><\/p>\n<p><strong>The above line though a must might fail if domain\/DNS not appropriate<\/strong><\/p>\n<p>24 mysql -u root -p<br \/>\n25 mysql<br \/>\n26 sudo mysql<br \/>\n27 exit<br \/>\n28 sudo rm -f \/opt\/magento\/public_html\/*<br \/>\n29 sudo su ma- gento<br \/>\n30 sudo su &#8211; magento<br \/>\n31 exit<\/p>\n<p><strong>Adjust configurations as are important for Magento 2<\/strong><br \/>\n32 sudo sed -i &quot;s\/memory_limit = .*\/memory_limit = 756M\/&quot; \/etc\/php.ini<br \/>\n33 sudo sed -i &quot;s\/upload_max_filesize = .*\/upload_max_filesize = 256M\/&quot; \/etc\/php.ini<br \/>\n34 sudo sed -i &quot;s\/zlib.output_compression = .*\/zlib.output_compression = on\/&quot; \/etc\/php.ini<br \/>\n35 sudo sed -i &quot;s\/max_execution_time = .*\/max_execution_time = 18000\/&quot; \/etc\/php.ini<br \/>\n36 sudo sed -i &quot;s\/;date.timezone.*\/date.timezone = UTC\/&quot; \/etc\/php.ini<br \/>\n37 sudo sed -i &quot;s\/;opcache.save_comments.*\/opcache.save_comments = 1\/&quot; \/etc\/php.d\/10-opcache.ini<\/p>\n<p><strong>Use composer to install Magento 2<\/strong><br \/>\n38 curl -sS <a href=\"https:\/\/getcomposer.org\/installer\">https:\/\/getcomposer.org\/installer<\/a> | php<br \/>\n39 sudo mv composer.phar \/usr\/local\/bin\/composer<br \/>\n40 sudo useradd -m -U -r -d \/opt\/magento magento<br \/>\n41 sudo usermod -a -G magento nginx<br \/>\n42 sudo chmod 750 \/opt\/magento<br \/>\n43 cat \/etc\/php-fpm.d\/magento.conf<br \/>\n44 vi \/etc\/php-fpm.d\/magento.conf<br \/>\n45 sudo vi \/etc\/php-fpm.d\/magento.conf<br \/>\n46 sudo systemctl restart php-fpm<br \/>\n47 sudo su &#8211; magento<br \/>\n48 yum install php-intl<br \/>\n49 sudo yum install php-intl<br \/>\n50 php -v<\/p>\n<p>52 sudo yum install php-pecl-intl<\/p>\n<p>54 yum install php-intl<\/p>\n<p>56 sudo yum update<\/p>\n<p>59 sudo yum makecache<br \/>\n60 sudo yum update<\/p>\n<p>68 php -v<br \/>\n69 sudo systemctl restart nginx<br \/>\n70 sudo systemctl restart php<\/p>\n<p>75 sudo yum install &#8211;skip-broken php-intl<br \/>\n76 sudo yum -y install php-common<br \/>\n77 sudo yum -y &#8211;skip-broken install php-common<br \/>\n78 sudo yum install &#8211;skip-broken php-intl<br \/>\n79 sudo yum install php-intl<br \/>\n80 sudo yum install &#8211;skip-broken php-intl<\/p>\n<p><strong>better try not to use the &#8211;skip-broken option<br \/>\nyum -y install php72* helped a lot to fix missing package issue. You can ignore yum install php-intl ext-intl php72-intl or similar. yum -y install php72* is the solution<\/strong><\/p>\n<p><strong>Creating another user for magento 2<\/strong><br \/>\n81 su &#8211; magento<br \/>\n82 sudo su &#8211; magento<br \/>\n83 reboot<br \/>\n84 exit<br \/>\n85 su &#8211; magento<br \/>\n86 sudo su &#8211; magento<br \/>\n87 exit<br \/>\n88 sudo su &#8211; magento<br \/>\n89 exit<\/p>\n<p>91 sudo su &#8211; magento<br \/>\n92 sudo vi \/etc\/nginx\/conf.d\/shopforsoul.com.conf<br \/>\n93 su &#8211; magento<br \/>\n94 exit<br \/>\n95 sudo su &#8211; magento<br \/>\n96 exit<br \/>\n97 history | grep encrypt<br \/>\n98 history<\/p>\n<p>&#8212;<\/p>\n<p><strong>Some commands as executed with user Magento<\/strong><br \/>\n1 ls \/opt\/<br \/>\n2 ls \/opt\/magento\/<br \/>\n3 ls \/opt\/magento\/public_html\/<br \/>\n4 ls \/opt\/magento\/public_html\/ -la<\/p>\n<p><strong>where I kept Magento: \/opt\/magento\/public_html\/ <\/strong><\/p>\n<p>5 rm -rf .*<br \/>\n6 rm -rf *.*<\/p>\n<p><strong>You might need rm for cases installation fails and you need to reinstall<\/strong><\/p>\n<p>7 ls \/opt\/magento\/public_html\/ -la<br \/>\n8 rm .gitignore<br \/>\n9 pwd<br \/>\n10 rm -rf \/opt\/magento\/public_html\/.*<br \/>\n11 ls \/opt\/magento\/public_html\/ -la<br \/>\n12 composer create-project &#8211;repository-url=<a href=\"https:\/\/repo.magento.com\/\">https:\/\/repo.magento.com\/<\/a> magento\/project-community-edition \/opt\/magento\/public_html<\/p>\n<p><strong>Use public key as user id<br \/>\nuse private key as password<\/strong><\/p>\n<p>13 php -i<br \/>\n14 php -i | grep php.ini<br \/>\n15 vi php.ini<br \/>\n16 exit<\/p>\n<p><strong>You know repeating as things went wrong esp. missing packages for php<\/strong><\/p>\n<p>17 composer create-project &#8211;repository-url=<a href=\"https:\/\/repo.magento.com\/\">https:\/\/repo.magento.com\/<\/a> magento\/project-community-edition \/opt\/magento\/public_html<br \/>\n18 rm -rf \/opt\/magento\/public_html\/*<br \/>\n19 rm -rf \/opt\/magento\/public_html\/.*<br \/>\n20 composer create-project &#8211;repository-url=<a href=\"https:\/\/repo.magento.com\/\">https:\/\/repo.magento.com\/<\/a> magento\/project-community-edition \/opt\/magento\/public_html<br \/>\n21 exit<br \/>\n22 rm -rf \/opt\/magento\/public_html\/.*<br \/>\n23 composer create-project &#8211;repository-url=<a href=\"https:\/\/repo.magento.com\/\">https:\/\/repo.magento.com\/<\/a> magento\/project-community-edition \/opt\/magento\/public_html<br \/>\n24 rm -rf \/opt\/magento\/public_html\/.*<br \/>\n25 rm -rf \/opt\/magento\/public_html\/*<br \/>\n26 composer create-project &#8211;repository-url=<a href=\"https:\/\/repo.magento.com\/\">https:\/\/repo.magento.com\/<\/a> magento\/project-community-edition \/opt\/magento\/public_html<br \/>\n27 yum repolist | grep php72<br \/>\n28 yum list | grep php72<br \/>\n29 exit<br \/>\n30 rm -rf \/opt\/magento\/public_html\/*<br \/>\n31 composer create-project &#8211;repository-url=<a href=\"https:\/\/repo.magento.com\/\">https:\/\/repo.magento.com\/<\/a> magento\/project-community-edition \/opt\/magento\/public_html<br \/>\n32 rm -rf \/opt\/magento\/public_html\/*<br \/>\n33 rm -rf \/opt\/magento\/public_html\/.*<br \/>\n34 composer create-project &#8211;repository-url=<a href=\"https:\/\/repo.magento.com\/\">https:\/\/repo.magento.com\/<\/a> magento\/project-community-edition \/opt\/magento\/public_html<br \/>\n35 exit<br \/>\n36 cd ~\/public_html\/<br \/>\n37 ls<\/p>\n<p><strong>This is how you install magento 2<\/strong><\/p>\n<p>38 php bin\/magento setup:install &#8211;base-url=sayedum&quot; &#8211;admin-user=&quot;shopforsoul&quot; &#8211;admin-password=&quot;&quot; &#8211;db-name=&quot;magento&quot; &#8211;db-host=&quot;localhost&quot; &#8211;db-user=&quot;magento&quot; &#8211;currency=USD &#8211;timezone=America\/Chicago &#8211;use-rewrites=1 &#8211;db-password=&quot;&quot;<\/p>\n<p><strong>Crontab for Magento System Tasks<\/strong><\/p>\n<p>39 php ~\/public_html\/bin\/magento cron:install<br \/>\n40 crontab -l<br \/>\n41 vi \/etc\/nginx\/conf.d\/shopforsoul.com.conf<br \/>\n42 sudo vi \/etc\/nginx\/conf.d\/shopforsoul.com.conf<br \/>\n43 exit<br \/>\n44 systemctl reload nginx<br \/>\n45 exit<br \/>\n46 history<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is mostly about Centos Linux. However, this also shows commands related to how to install Magento 2 on LEMP (E for Nginx Web-server). Some PHP related stuff are there as well. LEMP + CentOS + Magento 2 : VM Image or one click install: I did not see readily available on Upcloud, AWS Lightsail, &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=14846\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1907,182],"tags":[],"class_list":["post-14846","post","type-post","status-publish","format-standard","hentry","category-magento-2","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":25055,"url":"http:\/\/bangla.sitestree.com\/?p=25055","url_meta":{"origin":14846,"position":0},"title":"Learn and practice some CentOS Linux : Redhat Linux #Root","author":"Author-Check- Article-or-Video","date":"April 15, 2021","format":false,"excerpt":"This is mostly about Centos Linux. However, this also shows commands related to how to install Magento 2 on LEMP (E for Nginx Web-server). Some PHP related stuff are there as well. Let's Encrypt included. LEMP + CentOS + Magento 2 : VM Image or one click install: I did\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25053,"url":"http:\/\/bangla.sitestree.com\/?p=25053","url_meta":{"origin":14846,"position":1},"title":"Misc Linux Commands (CentOS\/Redhat) that you might find useful #Root","author":"Author-Check- Article-or-Video","date":"April 15, 2021","format":false,"excerpt":"1 php -v 2 yum repolist 3 yum repolist | remi 4 yum repolist | grep remi 5 yum repolist | grep ius 6 yum makecache 7 yum update 8 reboot 9 adduser ariro 10 passwd ariro 11 usermod -a -G apache ariro 12 adduser magento 13 passwd magento 14\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14842,"url":"http:\/\/bangla.sitestree.com\/?p=14842","url_meta":{"origin":14846,"position":2},"title":"Misc Linux Commands (CentOS\/Redhat) that you might find useful","author":"Sayed","date":"June 28, 2019","format":false,"excerpt":"1 php -v 2 yum repolist 3 yum repolist | remi 4 yum repolist | grep remi 5 yum repolist | grep ius 6 yum makecache 7 yum update 8 reboot 9 adduser ariro 10 passwd ariro 11 usermod -a -G apache ariro 12 adduser magento 13 passwd magento 14\u2026","rel":"","context":"In &quot;Magento 2&quot;","block_context":{"text":"Magento 2","link":"http:\/\/bangla.sitestree.com\/?cat=1907"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14040,"url":"http:\/\/bangla.sitestree.com\/?p=14040","url_meta":{"origin":14846,"position":3},"title":"AutoFS and Mounting in Linux\/Redhat\/CentOS","author":"Sayed","date":"December 26, 2017","format":false,"excerpt":"AutoFS and Mounting in Linux\/Redhat\/CentOS echo \"AutoFS - Automatic FS system Mounting - Dec 26th, 2017 by Sayed\" check if Autofs installed or not yum list installed | grep autofs I just installed; hence it is there you can install with yum -y install autofs 944 yum -y install autofs\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14839,"url":"http:\/\/bangla.sitestree.com\/?p=14839","url_meta":{"origin":14846,"position":4},"title":"Centos: yum : centos-web-control-panel: install magento 2:","author":"Sayed","date":"June 25, 2019","format":false,"excerpt":"---- \"yum upgrade and yum update will perform the same function that update to the latest current version of package. But the difference is Upgrade will delete obsolete packages, while update will preserve them.Jul 3, 2014\" https:\/\/unix.stackexchange.com\/questions\/55777\/in-centos-what-is-the-difference-between-yum-update-and-yum-upgrade --- 3.3. UPDATING PACKAGES FROM THE COMMAND LINE WITH YUM https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_network_satellite\/5.5\/html\/reference_guide\/sect-reference_guide-package_updater-updating_packages_from_the_command_line_with_yum --- yum\u2026","rel":"","context":"In &quot;Magento 2&quot;","block_context":{"text":"Magento 2","link":"http:\/\/bangla.sitestree.com\/?cat=1907"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67598,"url":"http:\/\/bangla.sitestree.com\/?p=67598","url_meta":{"origin":14846,"position":5},"title":"AutoFS and Mounting in Linux\/Redhat\/CentOS #DevOps #RHCSA","author":"Author-Check- Article-or-Video","date":"July 25, 2021","format":false,"excerpt":"AutoFS and Mounting in Linux\/Redhat\/CentOS echo \"AutoFS - Automatic FS system Mounting - Dec 26th, 2017 by Sayed\" check if Autofs installed or not yum list installed | grep autofs I just installed; hence it is there you can install with yum -y install autofs 944 yum -y install autofs\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14846"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14846\/revisions"}],"predecessor-version":[{"id":16486,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14846\/revisions\/16486"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14846"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}