<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2874199795095453959</id><updated>2024-09-10T21:47:58.938-07:00</updated><title type='text'>           computer tips and tricks</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>70</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-5949967712108148429</id><published>2019-02-11T05:55:00.002-08:00</published><updated>2019-02-11T05:55:43.360-08:00</updated><title type='text'>Wordpress Admin Password Reset using Mysql Shell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
INSERT INTO astersignature.wp_users (ID, user_login, user_pass, user_nicename, user_email, user_status, display_name) VALUES (&#39;1000&#39;, &#39;pucadmin&#39;, MD5(&#39;Str0ngPa55!&#39;), &#39;pucadmin&#39;, &#39;support@powerupcloud.com&#39;, &#39;0&#39;, &#39;pucadmin&#39;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
INSERT INTO&amp;nbsp; astersignature.wp_usermeta (umeta_id, user_id, meta_key, meta_value) VALUES (NULL, &#39;1000&#39;, &#39;wp_capabilities&#39;, &#39;a:1:{s:13:&quot;administrator&quot;;b:1;}&#39;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
INSERT INTO&amp;nbsp; astersignature.wp_usermeta (umeta_id, user_id, meta_key, meta_value) VALUES (NULL, &#39;1000&#39;, &#39;wp_user_level&#39;, &#39;10&#39;);&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/5949967712108148429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2019/02/wordpress-admin-password-reset-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/5949967712108148429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/5949967712108148429'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2019/02/wordpress-admin-password-reset-using.html' title='Wordpress Admin Password Reset using Mysql Shell'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-2250432266627524052</id><published>2019-01-30T05:00:00.002-08:00</published><updated>2019-01-30T05:00:57.372-08:00</updated><title type='text'>History Command with Date and Time</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b style=&quot;color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;&quot;&gt;cp /etc/profile /opt/profile_bak&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;&quot;&gt;echo &#39;export HISTTIMEFORMAT=&quot;%d/%m/%y %T &quot;&#39; &amp;gt;&amp;gt; /etc/profile&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;color: #263238; font-family: Roboto, Arial, sans-serif; font-size: 13px;&quot;&gt;source /etc/profile&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/2250432266627524052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2019/01/history-command-with-date-and-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/2250432266627524052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/2250432266627524052'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2019/01/history-command-with-date-and-time.html' title='History Command with Date and Time'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-7111537602553041085</id><published>2018-03-15T02:10:00.001-07:00</published><updated>2018-03-15T02:10:14.652-07:00</updated><title type='text'>Kubernetes Basics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; font-family: arial, helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;b&gt;Installing kubectl&amp;nbsp;in linux&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;curl -LO&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl&amp;amp;source=gmail&amp;amp;ust=1521190508314000&amp;amp;usg=AFQjCNFv7WrMafxpPI3KY1AISuBFw_Bk6g&quot; href=&quot;https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://storage.googleapis.com&lt;wbr&gt;&lt;/wbr&gt;/kubernetes-release/release/v1&lt;wbr&gt;&lt;/wbr&gt;.7.0/bin/linux/amd64/kubectl&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;chmod +x ./kubectl&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;sudo mv ./kubectl /usr/local/bin/kubectl&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;Note&lt;/b&gt;&amp;nbsp;&amp;nbsp;Windows users can follow this link&amp;nbsp;&lt;b&gt;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://kubernetes.io/docs/tasks/tools/install-kubectl/&amp;amp;source=gmail&amp;amp;ust=1521190508314000&amp;amp;usg=AFQjCNGCq3nuMV2QXajjJNs76chQByShlQ&quot; href=&quot;https://kubernetes.io/docs/tasks/tools/install-kubectl/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://kubernetes.io/doc&lt;wbr&gt;&lt;/wbr&gt;s/tasks/tools/install-kubectl/&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;Configure k8s cluster for CLI&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;Create&lt;b&gt;&amp;nbsp;.kube&amp;nbsp;&lt;/b&gt;folder in your home folder.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;store your private key in&amp;nbsp;&lt;b&gt;.kube&lt;/b&gt;&amp;nbsp;folder and name it as&amp;nbsp;&lt;b&gt;config&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;you can get the config files from AIL drive.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;Accessing k8s cluster&lt;/b&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl&amp;nbsp;cluster-info&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;Get the nodes (minions) list&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl get nodes&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;Get the deployment lists in k8s&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl get deployment&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;Get the pods list&lt;/b&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;kubectl get pods&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;Get the replication controller list&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;kubectl get rc&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;Describe pod&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl describe pod zatanna-2918509718-6aty9&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;Get the service list&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl get svc&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;Some times you are not able to view the entire endpoint URL. Use the below one to get the entire URL.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;kubectl get svc -o wide&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
you can use&amp;nbsp;&lt;b&gt;-o wide&amp;nbsp;&lt;/b&gt;to get the wide view of the output.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;Describe service&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl describe svc zatanna&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;Get logs from pod&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl logs zatanna-2918509718-6aty9&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;follow the logs&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl logs -f&amp;nbsp;zatanna-2918509718-6aty9&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;Login to the pod&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl exec -it zatanna-2918509718-6aty9 /bin/bash&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;Get the pod resource utilization&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;kubectl top pod zatanna-2918509718-6aty9&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;b&gt;Deploy a new service in kubernetes&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-left: 15px;&quot;&gt;&lt;span style=&quot;color: black; font-family: arial, helvetica, sans-serif;&quot;&gt;kubectl create -f nginx.yaml&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/7111537602553041085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2018/03/kubernetes-basics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/7111537602553041085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/7111537602553041085'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2018/03/kubernetes-basics.html' title='Kubernetes Basics'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-7777770930568226782</id><published>2018-03-13T21:28:00.000-07:00</published><updated>2018-03-13T21:28:04.660-07:00</updated><title type='text'>Restrict SSH User Access to Certain Directory Using Chrooted Jail</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1.Create a normal user.&lt;br /&gt;
2.Assign home directory&lt;br /&gt;
/raghuraman/tmp-sftp&lt;br /&gt;
3.The permission for raghuraman should be 755 and it should be owned by root.root.&lt;br /&gt;
4.The permission for tmp-sftp 755 and it should be owned by root.root.&lt;br /&gt;
5.The permission for /raghuraman/tmp-sftp/data should be 700 and it should be owned by the username raghuraman.raghuraman.&lt;br /&gt;
6.Modify the below changes in /etc/ssh/sshd_config as mentioned below&lt;br /&gt;
#Subsystem sftp /usr/lib/openssh/sftp-server - comment this line and make it as mentioned below.&lt;br /&gt;
Subsystem sftp internal-sftp&lt;br /&gt;
7.To Chroot a user add the below lines in sshd_config.&lt;br /&gt;
Match user raghuraman&lt;br /&gt;
ChrootDirectory /sftpusers/raghuraman&lt;br /&gt;
X11Forwarding no&lt;br /&gt;
AllowTcpForwarding no&lt;br /&gt;
ForceCommand internal-sftp&lt;br /&gt;
8.Restart SSH Service.&lt;br /&gt;
9.Check and verify it by login to the user via SFTP using the below command.&lt;br /&gt;
&amp;nbsp;sftp -oPort=2222 raghuraman@localhost or server IP.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/7777770930568226782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2018/03/restrict-ssh-user-access-to-certain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/7777770930568226782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/7777770930568226782'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2018/03/restrict-ssh-user-access-to-certain.html' title='Restrict SSH User Access to Certain Directory Using Chrooted Jail'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-7993444756651750464</id><published>2018-03-05T02:44:00.001-08:00</published><updated>2018-03-05T02:44:06.881-08:00</updated><title type='text'>Find Command</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Find command to check the file permission&lt;/h2&gt;
&lt;br /&gt;
&lt;b&gt;Directory:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;~~~~~~~~~&lt;/b&gt;&lt;br /&gt;
find &amp;lt;your-dir&amp;gt; -type d -not -perm 755 -exec ls -ld {} \;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;File:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;~~~~&lt;/b&gt;&lt;br /&gt;
find &amp;lt;your-dir&amp;gt; -type f -not -perm 755 -exec ls -ld {} \;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/7993444756651750464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2018/03/find-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/7993444756651750464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/7993444756651750464'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2018/03/find-command.html' title='Find Command'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-58545979281817108</id><published>2018-03-05T02:16:00.005-08:00</published><updated>2018-03-05T02:16:57.654-08:00</updated><title type='text'>Curl command to upload files to website</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;curl -T FileName https://transfer.sh/FileName&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/58545979281817108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2018/03/curl-command-to-upload-files-to-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/58545979281817108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/58545979281817108'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2018/03/curl-command-to-upload-files-to-website.html' title='Curl command to upload files to website'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-1186236175127549611</id><published>2017-11-16T23:51:00.004-08:00</published><updated>2017-11-16T23:51:50.903-08:00</updated><title type='text'>ACL Command for Group</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
setfacl -m g:emedhr:rwx /opt/httpdocs/emedhr/&lt;br /&gt;
&lt;br /&gt;
emedhr:group name&lt;br /&gt;
&lt;br /&gt;
getfacl /opt/httpdocs/emedhr/&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/1186236175127549611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/11/acl-command-for-group.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/1186236175127549611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/1186236175127549611'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/11/acl-command-for-group.html' title='ACL Command for Group'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-9050020719964109888</id><published>2017-11-13T21:41:00.001-08:00</published><updated>2017-11-13T21:41:10.307-08:00</updated><title type='text'>UserCreation configuration files list</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
FILES&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/etc/group&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Group account information.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/etc/gshadow&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Secure group account information.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/etc/login.defs&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Shadow password suite configuration.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/etc/passwd&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;User account information.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/etc/shadow&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Secure user account information.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/etc/subgid&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Per user subordinate group IDs.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/etc/subuid&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Per user subordinate user IDs.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/9050020719964109888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/11/usercreation-configuration-files-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/9050020719964109888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/9050020719964109888'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/11/usercreation-configuration-files-list.html' title='UserCreation configuration files list'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-1004588198551655649</id><published>2017-10-14T02:06:00.002-07:00</published><updated>2017-10-14T02:06:37.523-07:00</updated><title type='text'>PHPMYADMIN to Remote Database</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1.Open&amp;nbsp;/etc/phpmyadmin/config.inc.php&lt;br /&gt;
2.Add the below entry in bottom of the line&lt;br /&gt;
$i++;&lt;br /&gt;
$cfg[&#39;Servers&#39;][$i][&#39;host&#39;]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &#39;10.0.1.4&#39;;&lt;br /&gt;
&lt;div&gt;
3.Login to remote server and create a user with grant privileges for all the databases in server with remote host %&lt;/div&gt;
&lt;div&gt;
4.Now access the phpmyadmin using the serverip/phpmyadmin and select the server choice to remote server and you can able to access or modify all the databases in remote server.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/1004588198551655649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/10/phpmyadmin-to-remote-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/1004588198551655649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/1004588198551655649'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/10/phpmyadmin-to-remote-database.html' title='PHPMYADMIN to Remote Database'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-5414288937272451693</id><published>2017-08-23T06:23:00.002-07:00</published><updated>2018-03-05T02:19:58.516-08:00</updated><title type='text'>SED Command Format</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
sed &#39;s$:fail: No Such User Here$:blackhole:$g&#39; facereplen.net - to view the output&lt;br /&gt;
sed -i &#39;s$:fail: No such person at this address.$:blackhole:$g&#39; - to execute&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Find and Replace:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;~~~~~~~~~~~~~~~&lt;/b&gt;&lt;br /&gt;
sed -i s/utf8mb4_unicode_520_ci/utf8mb4_unicode_ci/g FileName&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/5414288937272451693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/08/sed-command-format.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/5414288937272451693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/5414288937272451693'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/08/sed-command-format.html' title='SED Command Format'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-4156744824311818096</id><published>2017-06-14T16:26:00.003-07:00</published><updated>2017-06-14T16:26:23.639-07:00</updated><title type='text'>PHP Email Script</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ini_set( &#39;display_errors&#39;, 1 );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; error_reporting( E_ALL );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $from = &#39;xxx@gmail.com&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $to = &#39;xxx@gmail.com&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $subject = &quot;PHP Mail Test script&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $message = &quot;This is a test to check the PHP Mail functionality&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $headers = &quot;From:&quot; . $from;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; mail($to,$subject,$message, $headers);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; echo &quot;Test email sent&quot;;&lt;br /&gt;
?&amp;gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/4156744824311818096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/06/php-email-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/4156744824311818096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/4156744824311818096'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/06/php-email-script.html' title='PHP Email Script'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-7126301251632853760</id><published>2017-05-21T09:31:00.003-07:00</published><updated>2017-05-21T09:31:41.489-07:00</updated><title type='text'>cPanel Hardening</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;||CHKRootKit,Rootkit Hunter,CSF,CMM,CMQ,ClamAV,Munin,maldet,||&lt;br /&gt;  ==========================================================&lt;br /&gt;&lt;br /&gt;CHKRootKit:&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz&quot;&gt;ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz&lt;/a&gt; &lt;br /&gt;tar -xvzf chkrootkit.tar.gz&lt;br /&gt;cd chkrootkit-0.52&lt;br /&gt;make sense&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Rootkit Hunter:&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;https://sourceforge.net/projects/rkhunter/files/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz&quot;&gt;https://sourceforge.net/projects/rkhunter/files/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz&lt;/a&gt;&lt;br /&gt;tar -xvzf rkhunter-1.4.2.tar.gz&lt;br /&gt;cd rkhunter-1.4.2/&lt;br /&gt;./installer.sh --layout default --install &lt;br /&gt;&lt;br /&gt;rkhunter --update&lt;br /&gt;rkhunter --propupd&lt;br /&gt;rkhunter -c &lt;br /&gt;&lt;br /&gt;CSF:&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;https://download.configserver.com/csf.tgz&quot;&gt;https://download.configserver.com/csf.tgz&lt;/a&gt;&lt;br /&gt;tar -xzf csf.tgz&lt;br /&gt;cd csf/&lt;br /&gt;./install.cpanel.sh&lt;br /&gt;&lt;br /&gt;CMQ:&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;http://download.configserver.com/cmq.tgz&quot;&gt;http://download.configserver.com/cmq.tgz&lt;/a&gt;&lt;br /&gt;tar -xzf cmq.tgz&lt;br /&gt;cd cmq&lt;br /&gt;sh install.sh&lt;br /&gt;&lt;br /&gt;CMM:&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;http://download.configserver.com/cmm.tgz&quot;&gt;http://download.configserver.com/cmm.tgz&lt;/a&gt;&lt;br /&gt;tar -xzf cmm.tgz&lt;br /&gt;cd cmm&lt;br /&gt;sh install.sh&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Maldet:&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;http://www.rfxn.com/downloads/maldetect-current.tar.gz&quot;&gt;http://www.rfxn.com/downloads/maldetect-current.tar.gz&lt;/a&gt;&lt;br /&gt;tar -xvzf maldetect-current.tar.gz&lt;br /&gt;cd maldetect-1.6/&lt;br /&gt;./install.sh&lt;br /&gt;&lt;br /&gt;LSM:&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;http://www.rfxn.com/downloads/lsm-current.tar.gz&quot;&gt;http://www.rfxn.com/downloads/lsm-current.tar.gz&lt;/a&gt;&lt;br /&gt;tar -xvzf lsm-current.tar.gz&lt;br /&gt;cd lsm-0.6&lt;br /&gt;./install.sh&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SIM&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;http://www.rfxn.com/downloads/sim-current.tar.gz&quot;&gt;http://www.rfxn.com/downloads/sim-current.tar.gz&lt;/a&gt;&lt;br /&gt;tar -xvzf sim-current.tar.gz&lt;br /&gt;cd sim-3.0/&lt;br /&gt;./install.sh -i&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LES&lt;br /&gt;cd /usr/src/&lt;br /&gt;wget &lt;a href=&quot;http://www.rfxn.com/downloads/les-current.tar.gz&quot;&gt;http://www.rfxn.com/downloads/les-current.tar.gz&lt;/a&gt;&lt;br /&gt;tar -xvzf les-current.tar.gz&lt;br /&gt;cd les-0.2/&lt;br /&gt;./install.sh&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/7126301251632853760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/05/cpanel-hardening.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/7126301251632853760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/7126301251632853760'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/05/cpanel-hardening.html' title='cPanel Hardening'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-2250827711136364126</id><published>2017-03-11T15:26:00.004-08:00</published><updated>2017-03-11T15:26:27.817-08:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 class=&quot;entry-title&quot; style=&quot;background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, Lucida, sans-serif; font-size: 30px; font-weight: 500; line-height: 1em; margin: 0px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;
Enable rsync for users on CloudLinux&lt;/h1&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;testuser@host [/]# rsync&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot; /&gt;&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;jailshell: rsync: command not found&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot; /&gt;&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;testuser@host&amp;nbsp;[/]# exit&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot; /&gt;&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;[host&amp;nbsp;root@host ~]cPs# su leepangc&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot; /&gt;&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;testuser@host [/]# rsync&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot; /&gt;&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;bash: rsync: command not found&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;cagefsctl --list-rpm | grep -i rsync&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;[/]# cagefsctl --addrpm rsync&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot; /&gt;&lt;span style=&quot;background-color: #f4f8f9; font-family: &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-weight: bold;&quot;&gt;[/]# cagefsctl --update&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/2250827711136364126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/03/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/2250827711136364126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/2250827711136364126'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/03/blog-post.html' title=''/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-6478333340179307748</id><published>2017-03-09T13:26:00.002-08:00</published><updated>2017-03-09T13:26:30.394-08:00</updated><title type='text'>How to enable custom php ini in cPanel servers with suPHP using EasyApache 4</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://bobcares.com/blog/custom-php-ini-cpanel/2/&quot;&gt;https://bobcares.com/blog/custom-php-ini-cpanel/2/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/6478333340179307748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/03/how-to-enable-custom-php-ini-in-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/6478333340179307748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/6478333340179307748'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/03/how-to-enable-custom-php-ini-in-cpanel.html' title='How to enable custom php ini in cPanel servers with suPHP using EasyApache 4'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-4565009196475483279</id><published>2017-02-28T15:56:00.002-08:00</published><updated>2017-02-28T15:56:03.170-08:00</updated><title type='text'>Server Hardening Explanation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Remove the errorlogs:-&lt;br /&gt;
Log rotation is configured for the log given below and the log will be rotated when it exceed &quot;300&quot;MB&lt;br /&gt;
&lt;br /&gt;
malware scan:-&lt;br /&gt;
Maldet and clamscan is installaed on the server. Please let us know non peak hours to scan all the account on the server.&lt;br /&gt;
&lt;br /&gt;
mail management to block spam mails:-&lt;br /&gt;
We have installed &quot;CMM, and CMQ&quot; application to monitor the mail queue on WHM.&lt;br /&gt;
&lt;br /&gt;
csf configuration with hard protection level:-&lt;br /&gt;
The csf is installed and the hardening process is completed on the server.&lt;br /&gt;
&lt;br /&gt;
su php tweak to harden the security level:-&lt;br /&gt;
We have disabled the below php function on the server to increase the security.&lt;br /&gt;
~~~~~~~~~~~~&lt;br /&gt;
show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open&lt;br /&gt;
~~~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
low traffic acceptable but security should be high&lt;br /&gt;
We have tweaked the CSF to block the IP with more than &quot;100&quot; connection for the port &quot;25,80,443,53&quot; security purpose.&lt;br /&gt;
&lt;br /&gt;
Secure and Optimize Apache (HTTP)&lt;br /&gt;
We have enabled &quot;mod_security and csf&quot; to mitigate php and sql injection the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Removal of Unused Software or Services&lt;br /&gt;
The unwanted software is disabled on the server.&lt;br /&gt;
&lt;br /&gt;
MySQL optimization&lt;br /&gt;
Kindly provide your peak time of the server, So that we can monitor the server on the peak hours and optimize the Mysql service.&lt;br /&gt;
Kernel Patching&lt;br /&gt;
&lt;br /&gt;
Increase RAM Memory Efficiency:-&lt;br /&gt;
Currently the ram usage is normal on the server. User Process Tracking 
option is enabled on the server, Which alerts you via mail when the user
 is consuming more memory usage. You will receive the alert to 
&quot;loknath.tcms@gmail.com&quot;.&lt;br /&gt;
&lt;br /&gt;
Hard Disk Performance Tweaking:-&lt;br /&gt;
On checking the hard-disk health and performance is good.&lt;br /&gt;
~~~~~~~~~~~&lt;br /&gt;
HDD Device  0: /dev/sda&lt;br /&gt;
HDD Model ID : CT250BX100SSD1&lt;br /&gt;
HDD Serial No: 1504F0020AFB&lt;br /&gt;
HDD Revision : MU01&lt;br /&gt;
HDD Size     : 238475 MB&lt;br /&gt;
Interface    : S-ATA II&lt;br /&gt;
Temperature  : 25 °C&lt;br /&gt;
Highest Temp.: 25 °C&lt;br /&gt;
Health       : 100 %&lt;br /&gt;
Performance  : 100 %&lt;br /&gt;
Power on time: 221 days, 21 hours&lt;br /&gt;
Est. lifetime: more than 1000 days&lt;br /&gt;
~~~~~~~~~~~&lt;br /&gt;
&lt;br /&gt;
Backup Audit:-&lt;br /&gt;
While checking the &quot;/home&quot; directory is about &quot;66GB&quot;. On checking the 
server has only &quot;91GB&quot; free space which is enough to stored only one 
backup.&lt;br /&gt;
So please add an additional storage for backup let us know, how can we have to configure the backup on the server.&lt;br /&gt;
~~~~~~~~~~~~~&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/4565009196475483279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/02/server-hardening-explanation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/4565009196475483279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/4565009196475483279'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/02/server-hardening-explanation.html' title='Server Hardening Explanation'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-3570006625714429343</id><published>2017-02-10T02:59:00.004-08:00</published><updated>2017-02-10T03:38:51.619-08:00</updated><title type='text'>Disable Securetmp in cPanel </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;code class=&quot;bash functions&quot; style=&quot;background-color: white; background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; float: none; font-size: 14px; height: auto; left: auto; line-height: 20px; margin: 0px; min-height: inherit; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; white-space: nowrap; width: auto;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Run Command&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;bash functions&quot; style=&quot;background-color: white; background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; float: none; font-size: 14px; height: auto; left: auto; line-height: 20px; margin: 0px; min-height: inherit; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; white-space: nowrap; width: auto;&quot;&gt;touch&lt;/code&gt;&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 20px; white-space: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background-color: white; background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; float: none; font-size: 14px; height: auto; left: auto; line-height: 20px; margin: 0px; min-height: inherit; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; white-space: nowrap; width: auto;&quot;&gt;/var/cpanel/version/securetmp_disabled&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background-color: white; background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; float: none; font-size: 14px; height: auto; left: auto; line-height: 20px; margin: 0px; min-height: inherit; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; white-space: nowrap; width: auto;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background-color: white; background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; bottom: auto; box-sizing: content-box; float: none; font-size: 14px; height: auto; left: auto; line-height: 20px; margin: 0px; min-height: inherit; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; white-space: nowrap; width: auto;&quot;&gt;URL :&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;a href=&quot;https://documentation.cpanel.net/display/ALD/WHM+FAQ&quot;&gt;https://documentation.cpanel.net/display/ALD/WHM+FAQ&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/3570006625714429343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/02/disable-securetmp-in-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/3570006625714429343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/3570006625714429343'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/02/disable-securetmp-in-cpanel.html' title='Disable Securetmp in cPanel '/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-4092967652524406244</id><published>2017-02-09T08:24:00.002-08:00</published><updated>2017-02-09T08:24:11.341-08:00</updated><title type='text'>php.ini extreme security in disable_functions;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;system, system_exec, passthru, shell, shell_exec, exec, popen, pclose,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, phpinfo&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/4092967652524406244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/02/phpini-extreme-security-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/4092967652524406244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/4092967652524406244'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/02/phpini-extreme-security-in.html' title='php.ini extreme security in disable_functions;'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-5371505760764224393</id><published>2017-02-03T04:32:00.001-08:00</published><updated>2017-02-03T04:32:01.222-08:00</updated><title type='text'>Install nodejs on cPanel or CentOS server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Node.js is an open-source runtime environment for developing server-side Web applications. This post will help you to install nodejs on cPanel or CentOS server.&lt;br /&gt;
&lt;br /&gt;
Please note that the following packages requires to install Nodejs on the server.&lt;br /&gt;
&lt;br /&gt;
Python 2.6 or newer&lt;br /&gt;
GNU Make 3.81 or newer&lt;br /&gt;
GCC 4.2 or newer&lt;br /&gt;
You can check the versions of the above packages by running the following commands.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
python -V&lt;br /&gt;
make -v&lt;br /&gt;
gcc --version&lt;br /&gt;
Install Nodejs&lt;br /&gt;
You can find the current and LTS versions of Node.js from Here&lt;br /&gt;
&lt;br /&gt;
Please note that the latest available version of Node.js for cPanel is node v0.10.42. All higher versions of Node.js requires higher versions of gcc which is not available on cPanel servers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/src&lt;br /&gt;
wget http://nodejs.org/dist/v0.10.42/node-v0.10.42.tar.gz&lt;br /&gt;
tar xvf node-v0.10.42.tar.gz&lt;br /&gt;
cd node-v0.10.42&lt;br /&gt;
./configure --prefix=/usr/local&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
Once the installation completed, please check the version and binary path using the following commands.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
node --version&lt;br /&gt;
which node&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/5371505760764224393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/02/install-nodejs-on-cpanel-or-centos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/5371505760764224393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/5371505760764224393'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/02/install-nodejs-on-cpanel-or-centos.html' title='Install nodejs on cPanel or CentOS server'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-2262396369973248296</id><published>2017-01-28T03:28:00.005-08:00</published><updated>2017-01-28T03:28:44.595-08:00</updated><title type='text'>How to Mount the Server in Rescue Mode</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;l_m&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;l_u&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;r_o&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;r_m&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;r_u&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;o_m&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;u_m&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;div class=&quot;inneroverlaytext&quot;&gt;
Login to Server (Rescue or Recovery Mode)&lt;/div&gt;
&lt;div class=&quot;inneroverlaytext&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;inneroverlaytext&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;inneroverlaytext&quot;&gt;
mount /dev/sda3 /mnt&lt;br /&gt;
chroot /mnt/ passwd root&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
mount /dev/sda2 /mnt&lt;br /&gt;
chroot /mnt/ passwd root&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;For RAID&lt;/div&gt;
&lt;div class=&quot;inneroverlaytext&quot;&gt;
=======&lt;br /&gt;
mdadm -As&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
mount /dev/md1 /mnt/&lt;br /&gt;
chroot /mnt/ passwd root&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/2262396369973248296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/01/how-to-mount-server-in-rescue-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/2262396369973248296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/2262396369973248296'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/01/how-to-mount-server-in-rescue-mode.html' title='How to Mount the Server in Rescue Mode'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-4614736514061005004</id><published>2017-01-19T06:33:00.002-08:00</published><updated>2017-01-19T06:33:10.060-08:00</updated><title type='text'>IP List by Country to add in .htaccess</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
https://www.countryipblocks.net/country_selection.php&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/4614736514061005004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/01/ip-list-by-country-to-add-in-htaccess.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/4614736514061005004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/4614736514061005004'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/01/ip-list-by-country-to-add-in-htaccess.html' title='IP List by Country to add in .htaccess'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-5298621338507840321</id><published>2017-01-02T03:22:00.002-08:00</published><updated>2017-01-02T03:22:22.980-08:00</updated><title type='text'>How to delete number of files from txt using the script</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
for i in `cat dzq.txt` ; do rm -rf $i ; echo removing $i; done&lt;br /&gt;
&lt;br /&gt;
File name : cat dzq.txt&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/5298621338507840321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/01/how-to-delete-number-of-files-from-txt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/5298621338507840321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/5298621338507840321'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2017/01/how-to-delete-number-of-files-from-txt.html' title='How to delete number of files from txt using the script'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-6046218986632128036</id><published>2016-12-12T15:43:00.002-08:00</published><updated>2016-12-12T15:43:44.006-08:00</updated><title type='text'>Common Blacklist Removal Tools &amp; Forms</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
https://www.ndchost.com/wiki/mail/blacklist-removal-tools-forms&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/6046218986632128036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2016/12/common-blacklist-removal-tools-forms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/6046218986632128036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/6046218986632128036'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2016/12/common-blacklist-removal-tools-forms.html' title='Common Blacklist Removal Tools &amp; Forms'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-9112339547199537058</id><published>2016-11-07T04:20:00.002-08:00</published><updated>2016-11-07T04:20:08.453-08:00</updated><title type='text'>Mysql Optimization Parameters (cPanel)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
[mysqld]&lt;br /&gt;key-buffer-size=512M&lt;br /&gt;local-infile=0&lt;br /&gt;symbolic-links=0&lt;br /&gt;max-allowed-packet = 128M&lt;br /&gt;wait-timeout=20&lt;br /&gt;connect-timeout=10&lt;br /&gt;max-connections = 500&lt;br /&gt;max-user-connections=150&lt;br /&gt;tmp-table-size = 64M&lt;br /&gt;max-heap-table-size=64M&lt;br /&gt;query_cache_limit=2M&lt;br /&gt;query-cache-size=64M&lt;br /&gt;query-cache-type=1&lt;br /&gt;thread-cache-size=50&lt;br /&gt;open-files-limit=4096&lt;br /&gt;table-definition-cache=4096&lt;br /&gt;table-open-cache=4096&lt;br /&gt;sort-buffer-size=256K&lt;br /&gt;read-buffer-size=2M&lt;br /&gt;read-rnd-buffer-size=8M&lt;br /&gt;myisam-sort-buffer-size=64M&lt;br /&gt;innodb-flush-method=O_DIRECT&lt;br /&gt;innodb-log-files-in-group=2&lt;br /&gt;innodb-flush-log-at-trx-commit=1&lt;br /&gt;innodb-file-per-table=1&lt;br /&gt;innodb-buffer-pool-size=10G&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;max_allowed_packet=268435456&lt;br /&gt;open_files_limit=10000&lt;br /&gt;[mysqld_safe]&lt;br /&gt;open-files-limit=8192&lt;br /&gt;&lt;br /&gt;[mysqldump]&lt;br /&gt;quick&lt;br /&gt;max-allowed-packet=16M&lt;br /&gt;&lt;br /&gt;[myisamchk]&lt;br /&gt;key-buffer=384M&lt;br /&gt;sort-buffer=384M&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/9112339547199537058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2016/11/mysql-optimization-parameters-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/9112339547199537058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/9112339547199537058'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2016/11/mysql-optimization-parameters-cpanel.html' title='Mysql Optimization Parameters (cPanel)'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-1778274748369987715</id><published>2016-10-07T09:21:00.002-07:00</published><updated>2016-10-07T09:21:40.632-07:00</updated><title type='text'>Php 7.0 is not enabled in cloud linux php-selector</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If php 7.0 is not enabled in cloud linux php-selector&lt;br /&gt;
&lt;br /&gt;
Step : 1&lt;br /&gt;
========&lt;br /&gt;
Goto : cd /etc/cl.selector/selector.conf&lt;br /&gt;
check the entries for 7.0&lt;br /&gt;
&lt;br /&gt;
Step : 2&lt;br /&gt;
========&lt;br /&gt;
run the command&lt;br /&gt;
/opt/alt/php70/usr/bin/php -v&lt;br /&gt;
Modify the /etc/cl.selector/selector.conf as per the output in the command /opt/alt/php70/usr/bin/php -v to add php7.0&lt;br /&gt;
&lt;br /&gt;
Sample PHP 7.0 Entry :&lt;br /&gt;
====================&lt;br /&gt;
php 7.0 7.0.11 /opt/alt/php70/usr/bin/php-cgi&lt;br /&gt;
php-cli 7.0 7.0.11 /opt/alt/php70/usr/bin/php&lt;br /&gt;
lsphp 7.0 7.0.11 /opt/alt/php70/usr/bin/lsphp&lt;br /&gt;
php.ini 7.0 7.0.11 /opt/alt/php70/etc/php.ini&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/1778274748369987715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2016/10/php-70-is-not-enabled-in-cloud-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/1778274748369987715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/1778274748369987715'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2016/10/php-70-is-not-enabled-in-cloud-linux.html' title='Php 7.0 is not enabled in cloud linux php-selector'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2874199795095453959.post-9163512997040131684</id><published>2016-09-15T09:49:00.005-07:00</published><updated>2016-09-15T09:49:53.190-07:00</updated><title type='text'>PHP compiled over Main PHP version in cPanel Fix</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;if you wish to always execute a specific version of PHP from the command line interface when running &#39;php&#39; you can move the existing /usr/local/bin/php to an alternate location and symlink the desired version&lt;/span&gt;&lt;br style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;====&lt;/span&gt;&lt;br style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;# mv -v /usr/local/bin/php{,.53}&lt;/span&gt;&lt;br style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;# ln -s /opt/cpanel/ea-php55/root/usr/bin/php /usr/local/bin/php&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computertipsandtrickstutorials.blogspot.com/feeds/9163512997040131684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2016/09/php-compiled-over-main-php-version-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/9163512997040131684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2874199795095453959/posts/default/9163512997040131684'/><link rel='alternate' type='text/html' href='http://computertipsandtrickstutorials.blogspot.com/2016/09/php-compiled-over-main-php-version-in.html' title='PHP compiled over Main PHP version in cPanel Fix'/><author><name>raghukazuya</name><uri>http://www.blogger.com/profile/12836031323960904149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>