Groups
Groups
Sign in
Groups
Groups
Learnadmin
Conversations
About
Send feedback
Help
Learnadmin
1–30 of 54
Mark all as read
Report group
0 selected
noreply+...@blogger.com
8/29/18
Post subscription request from 'LearnAdmin'
Hi, learnadmin+g...@googlegroups.com! It's been a while. We would like to confirm that
unread,
Post subscription request from 'LearnAdmin'
Hi, learnadmin+g...@googlegroups.com! It's been a while. We would like to confirm that
8/29/18
Naresh Surampudi
10/31/17
[LearnAdmin] What is Software delivery ?
Implementing CI/CD is part of Devops . Here CD is continouse Delivery . It include steps we need to
unread,
[LearnAdmin] What is Software delivery ?
Implementing CI/CD is part of Devops . Here CD is continouse Delivery . It include steps we need to
10/31/17
Naresh Surampudi
8/4/17
[LearnAdmin] Python script to check if file is locked also display last modified time
To lock file for testing use this command The below command will lock /home/ubuntu/fileloc flock -x -
unread,
[LearnAdmin] Python script to check if file is locked also display last modified time
To lock file for testing use this command The below command will lock /home/ubuntu/fileloc flock -x -
8/4/17
Naresh Surampudi
8/2/17
[LearnAdmin] Install and configure postges-xl
Other than official documentation i did not find much help . It took one hour for me to setup . As i
unread,
[LearnAdmin] Install and configure postges-xl
Other than official documentation i did not find much help . It took one hour for me to setup . As i
8/2/17
Naresh Surampudi
5/12/17
[LearnAdmin] Creating a dummy process in linux with a process name for testing and other purpose
bash -c 'exec -a ProcessName sleep 1000000' & -- Posted By Naresh Surampudi to LearnAdmin
unread,
[LearnAdmin] Creating a dummy process in linux with a process name for testing and other purpose
bash -c 'exec -a ProcessName sleep 1000000' & -- Posted By Naresh Surampudi to LearnAdmin
5/12/17
Naresh Surampudi
3/23/17
[LearnAdmin] nagios https proxy monitoring plugin or Bash website monitoring script
#!/bin/bash if [ $# -eq 0 ] then echo "No arguments supplied" fi if [ $# -eq 1 ] then
unread,
[LearnAdmin] nagios https proxy monitoring plugin or Bash website monitoring script
#!/bin/bash if [ $# -eq 0 ] then echo "No arguments supplied" fi if [ $# -eq 1 ] then
3/23/17
Naresh Surampudi
3/23/17
[LearnAdmin] Adding client certificate file using chef data bags
Below is just an example logstash_cert_secret = Chef::EncryptedDataBagItem.load_secret("/etc/
unread,
[LearnAdmin] Adding client certificate file using chef data bags
Below is just an example logstash_cert_secret = Chef::EncryptedDataBagItem.load_secret("/etc/
3/23/17
Naresh Surampudi
3/3/17
[LearnAdmin] Search and replace in all files in a current directory
grep -rl 'pc961' ./|xargs sed -i 's/pc961/pc/g' -- Posted By Naresh Surampudi to
unread,
[LearnAdmin] Search and replace in all files in a current directory
grep -rl 'pc961' ./|xargs sed -i 's/pc961/pc/g' -- Posted By Naresh Surampudi to
3/3/17
Naresh Surampudi
3/3/17
[LearnAdmin] Ansible define a basic windows hosts
[windows] 10.10.10.120 [windows:vars] ansible_connection=winrm ansible_ssh_user=Administrator
unread,
[LearnAdmin] Ansible define a basic windows hosts
[windows] 10.10.10.120 [windows:vars] ansible_connection=winrm ansible_ssh_user=Administrator
3/3/17
Naresh Surampudi
1/9/17
[LearnAdmin] Three basic Git commands
1) git add -A git add -A is equivalent to git add .; git add -u. git add . ( This will add all files
unread,
[LearnAdmin] Three basic Git commands
1) git add -A git add -A is equivalent to git add .; git add -u. git add . ( This will add all files
1/9/17
Naresh Surampudi
9/14/16
[LearnAdmin] Installing configuring Ansible and deploying haproxy playbook
Basic installation sudo yum install ansible (or) sudo pip install ansible Configuring your hosts file
unread,
[LearnAdmin] Installing configuring Ansible and deploying haproxy playbook
Basic installation sudo yum install ansible (or) sudo pip install ansible Configuring your hosts file
9/14/16
Naresh Surampudi
9/4/15
[LearnAdmin] Kibana4 apache configuration with authentication
We need to configure httpd to listen on port 80 which does a reverse proxy to localhost on 5601. Make
unread,
[LearnAdmin] Kibana4 apache configuration with authentication
We need to configure httpd to listen on port 80 which does a reverse proxy to localhost on 5601. Make
9/4/15
Naresh Surampudi
9/4/15
[LearnAdmin] Monitoring of kibana and logstash services and start them if process not found
Kibana and logstash might run out of memory and application might get closed or get terminated. In
unread,
[LearnAdmin] Monitoring of kibana and logstash services and start them if process not found
Kibana and logstash might run out of memory and application might get closed or get terminated. In
9/4/15
Naresh Surampudi
8/24/15
[LearnAdmin] Chef provision a esxi virtual machine or a virtual server
We need to install esxi knife plugin on our workstation gem install knife-esx Add below params in
unread,
[LearnAdmin] Chef provision a esxi virtual machine or a virtual server
We need to install esxi knife plugin on our workstation gem install knife-esx Add below params in
8/24/15
Naresh Surampudi
1/12/15
[LearnAdmin] How to use chef encrypted databags
Note: Please comment the below line in knife.rb file else it will automatically decrypt values and
unread,
[LearnAdmin] How to use chef encrypted databags
Note: Please comment the below line in knife.rb file else it will automatically decrypt values and
1/12/15
Naresh Surampudi
7/30/14
[LearnAdmin] Setting a Secure Flag to cookie in httpd - Apache
First check if mod_headers is loaded. Else enable that module LoadModule headers_module modules/
unread,
[LearnAdmin] Setting a Secure Flag to cookie in httpd - Apache
First check if mod_headers is loaded. Else enable that module LoadModule headers_module modules/
7/30/14
Naresh Surampudi
7/9/14
[LearnAdmin] Get SSL certificate expire date / Openssl get certificate expire date
openssl x509 -in /home/certificates/certname.crt -noout -enddate -- Posted By Naresh Surampudi to
unread,
[LearnAdmin] Get SSL certificate expire date / Openssl get certificate expire date
openssl x509 -in /home/certificates/certname.crt -noout -enddate -- Posted By Naresh Surampudi to
7/9/14
Naresh Surampudi
6/27/14
[LearnAdmin] rssh chroot jailroot sftp creation - By Vinodh tiruttani
Steps for chroot jail folder creation: The chroot command changes its current and root directories to
unread,
[LearnAdmin] rssh chroot jailroot sftp creation - By Vinodh tiruttani
Steps for chroot jail folder creation: The chroot command changes its current and root directories to
6/27/14
Naresh Surampudi
4/25/14
[LearnAdmin] Linux grep a process and kill all process id's
kill -9 `ps -ef | grep ProcessName | grep -v grep | awk '{print $2}'` -- Posted By Naresh
unread,
[LearnAdmin] Linux grep a process and kill all process id's
kill -9 `ps -ef | grep ProcessName | grep -v grep | awk '{print $2}'` -- Posted By Naresh
4/25/14
Naresh Surampudi
4/10/14
[LearnAdmin] How to parse xml tags in bash or retrieve xml tag values in linux
Consider the following example file test.xml 1 test123 2 grep -E -m 1 -o " (.*) " test.xml
unread,
[LearnAdmin] How to parse xml tags in bash or retrieve xml tag values in linux
Consider the following example file test.xml 1 test123 2 grep -E -m 1 -o " (.*) " test.xml
4/10/14
Naresh Surampudi
3/26/14
[LearnAdmin] fix failed: NT_STATUS_BAD_NETWORK_NAME"
smbclient -L 127.0.0.1 -U testuser ( will list directories ) smbclient //127.0.0.1/Pubshare -U
unread,
[LearnAdmin] fix failed: NT_STATUS_BAD_NETWORK_NAME"
smbclient -L 127.0.0.1 -U testuser ( will list directories ) smbclient //127.0.0.1/Pubshare -U
3/26/14
Naresh Surampudi
3/10/14
[LearnAdmin] Simple gpg encryption setup
Generation of encryption keys ----------------------------------- gpg --gen-key gpg (GnuPG) 1.4.5;
unread,
[LearnAdmin] Simple gpg encryption setup
Generation of encryption keys ----------------------------------- gpg --gen-key gpg (GnuPG) 1.4.5;
3/10/14
Naresh Surampudi
12/26/13
[LearnAdmin] Graphite & statsd installation and Configuration
How to install Graphite and statsd ----------------------------------- yum install python-devel.
unread,
[LearnAdmin] Graphite & statsd installation and Configuration
How to install Graphite and statsd ----------------------------------- yum install python-devel.
12/26/13
Naresh Surampudi
12/20/13
[LearnAdmin] Bash script to mask credit card number or any data in logs.
create a temp test file for testing your data cat test.txt hi this is my credit card number
unread,
[LearnAdmin] Bash script to mask credit card number or any data in logs.
create a temp test file for testing your data cat test.txt hi this is my credit card number
12/20/13
Naresh Surampudi
10/30/13
[LearnAdmin] Bash script get yesterdays or one day ago's date or date-1
date -d '1 day ago' +"%Y-%m-%d" -- Posted By Naresh Surampudi to LearnAdmin at 10/
unread,
[LearnAdmin] Bash script get yesterdays or one day ago's date or date-1
date -d '1 day ago' +"%Y-%m-%d" -- Posted By Naresh Surampudi to LearnAdmin at 10/
10/30/13
Naresh Surampudi
8/22/13
[LearnAdmin] Linux list all processes based on memory consumption .
list top 5 processes ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -5 list all processes in
unread,
[LearnAdmin] Linux list all processes based on memory consumption .
list top 5 processes ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -5 list all processes in
8/22/13
Naresh Surampudi
8/16/13
[LearnAdmin] easy ntp time sync between servers
Choose one server from which time need to be synced . then on clinet open /etc/ntp.conf #server 0.
unread,
[LearnAdmin] easy ntp time sync between servers
Choose one server from which time need to be synced . then on clinet open /etc/ntp.conf #server 0.
8/16/13
Naresh Surampudi
8/13/13
[LearnAdmin] How to copy directory structure in linux
Sometimes we need to copy only directory structure leaving content ( files ) find . -type d >dirs.
unread,
[LearnAdmin] How to copy directory structure in linux
Sometimes we need to copy only directory structure leaving content ( files ) find . -type d >dirs.
8/13/13
Naresh Surampudi
8/6/13
[LearnAdmin] Script to import csv into dhcpd.conf import multiple mac bindings
make sure your csv file is in this order MAC,IP,NAME and file name of csv is ips.csv Once that is
unread,
[LearnAdmin] Script to import csv into dhcpd.conf import multiple mac bindings
make sure your csv file is in this order MAC,IP,NAME and file name of csv is ips.csv Once that is
8/6/13
Naresh Surampudi
8/5/13
[LearnAdmin] How to drop cache or in-memory cache on linux and free up some memory ?
$ echo 1 | sudo tee /proc/sys/vm/drop_caches # drop pagecache $ echo 2 | sudo tee /proc/sys/vm/
unread,
[LearnAdmin] How to drop cache or in-memory cache on linux and free up some memory ?
$ echo 1 | sudo tee /proc/sys/vm/drop_caches # drop pagecache $ echo 2 | sudo tee /proc/sys/vm/
8/5/13