<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://kb.owrench.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=137.97.105.157</id>
	<title>Origami_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://kb.owrench.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=137.97.105.157"/>
	<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Special:Contributions/137.97.105.157"/>
	<updated>2026-05-04T04:56:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Backup_setup_to_s3&amp;diff=166</id>
		<title>Backup setup to s3</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Backup_setup_to_s3&amp;diff=166"/>
		<updated>2021-04-27T10:36:05Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[Category:It-support|Backup setup to s3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) Firstly create bucket and grant permission for a user to it by following the steps mentioned in the below documents &lt;br /&gt;
&lt;br /&gt;
S3 bucket creation&lt;br /&gt;
&lt;br /&gt;
S3 bucket access user creation&lt;br /&gt;
&lt;br /&gt;
2) Login to the server in which we want to configure backup to s3 bucket&lt;br /&gt;
&lt;br /&gt;
3) Then install awscli &lt;br /&gt;
&lt;br /&gt;
yum install awscli&lt;br /&gt;
&lt;br /&gt;
4) Then we need to configure the user with permission to the corresponding bucket in the server. For that run the command &amp;quot; aws configure&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5) It will ask for &amp;quot;Access key ID&amp;quot; and &amp;quot;Secret access key&amp;quot;, which was obtained when we create the user with programmatic access. Please give it without any mistake.&lt;br /&gt;
&lt;br /&gt;
6) Then configure the cronjob for moving the backup to the corresponding s3 bucket to which the user has access.&lt;br /&gt;
&lt;br /&gt;
7) For setup the cron you can use below steps&lt;br /&gt;
&lt;br /&gt;
*) Create a shell script using the below command&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  aws s3 mv &amp;lt;Source directory&amp;gt; s3://&amp;lt;bucketname&amp;gt; --recursive&lt;br /&gt;
&lt;br /&gt;
*) Give execution permission to the script&lt;br /&gt;
&lt;br /&gt;
  chmod +x &amp;lt;filename.sh&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*) To open cron tab use the command &amp;gt;&amp;gt; crontab -e&lt;br /&gt;
&lt;br /&gt;
*) Then configure cron job by the general syntax. One example is given below.&lt;br /&gt;
&lt;br /&gt;
   30 20 * * * /home/user/filebackupmove.sh     ( it will execute at server time 8:30 pm every day )&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Backup_setup_to_s3&amp;diff=165</id>
		<title>Backup setup to s3</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Backup_setup_to_s3&amp;diff=165"/>
		<updated>2021-04-27T10:35:44Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[Category:It-support|Backup setup to s3]]&lt;br /&gt;
&lt;br /&gt;
dsd&lt;br /&gt;
1) Firstly create bucket and grant permission for a user to it by following the steps mentioned in the below documents &lt;br /&gt;
&lt;br /&gt;
S3 bucket creation&lt;br /&gt;
&lt;br /&gt;
S3 bucket access user creation&lt;br /&gt;
&lt;br /&gt;
2) Login to the server in which we want to configure backup to s3 bucket&lt;br /&gt;
&lt;br /&gt;
3) Then install awscli &lt;br /&gt;
&lt;br /&gt;
yum install awscli&lt;br /&gt;
&lt;br /&gt;
4) Then we need to configure the user with permission to the corresponding bucket in the server. For that run the command &amp;quot; aws configure&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5) It will ask for &amp;quot;Access key ID&amp;quot; and &amp;quot;Secret access key&amp;quot;, which was obtained when we create the user with programmatic access. Please give it without any mistake.&lt;br /&gt;
&lt;br /&gt;
6) Then configure the cronjob for moving the backup to the corresponding s3 bucket to which the user has access.&lt;br /&gt;
&lt;br /&gt;
7) For setup the cron you can use below steps&lt;br /&gt;
&lt;br /&gt;
*) Create a shell script using the below command&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  aws s3 mv &amp;lt;Source directory&amp;gt; s3://&amp;lt;bucketname&amp;gt; --recursive&lt;br /&gt;
&lt;br /&gt;
*) Give execution permission to the script&lt;br /&gt;
&lt;br /&gt;
  chmod +x &amp;lt;filename.sh&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*) To open cron tab use the command &amp;gt;&amp;gt; crontab -e&lt;br /&gt;
&lt;br /&gt;
*) Then configure cron job by the general syntax. One example is given below.&lt;br /&gt;
&lt;br /&gt;
   30 20 * * * /home/user/filebackupmove.sh     ( it will execute at server time 8:30 pm every day )&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Automate_backup_using_AWS_Backup&amp;diff=164</id>
		<title>Automate backup using AWS Backup</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Automate_backup_using_AWS_Backup&amp;diff=164"/>
		<updated>2021-04-27T10:22:19Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: Automate backup using AWS Backup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[Category:It-support|Automate backup using AWS Backup]]&lt;br /&gt;
&lt;br /&gt;
1) Login to AWS console and go to AWS Backup service&lt;br /&gt;
&lt;br /&gt;
2) Click on Backup plans (or Manage Backup plans), and then Create Backup plan. There, you have a couple of options.&lt;br /&gt;
&lt;br /&gt;
3) Then select &amp;quot;Build a new plan&amp;quot; and give the details like plan name, backup retention period, backup window start time etc&lt;br /&gt;
&lt;br /&gt;
4) After you’re done and your plan is created, it is time to assign resources to it.&lt;br /&gt;
&lt;br /&gt;
5) Click on &amp;quot;Assign Resource&amp;quot; and the resources can be assigned by using tags or by adding them based on the Resource ID.&lt;br /&gt;
&lt;br /&gt;
6) With the plan created and the resources assigned, your AWS Backup is ready.&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=S3_bucket_creation&amp;diff=163</id>
		<title>S3 bucket creation</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=S3_bucket_creation&amp;diff=163"/>
		<updated>2021-04-27T06:51:05Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:It-support|S3 bucket creation]]&lt;br /&gt;
&lt;br /&gt;
1) Login to AWS console.&lt;br /&gt;
&lt;br /&gt;
2) Then go to s3 section by click on s3 in services list.&lt;br /&gt;
&lt;br /&gt;
3) In s3 click the &amp;quot;create bucket&amp;quot; and give the details like bucket name, region etc they are asking and create it.&lt;br /&gt;
&lt;br /&gt;
For creating folder in it&lt;br /&gt;
&lt;br /&gt;
*) Open the bucket&lt;br /&gt;
&lt;br /&gt;
*) Create folder by clicking &amp;quot;create folder&amp;quot; and give name for it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For configuring retention period for the objects in bucket&lt;br /&gt;
&lt;br /&gt;
*) Open Bucket &amp;gt;&amp;gt; Management&lt;br /&gt;
&lt;br /&gt;
*) Then create Lifecycle policy according to your retention need.&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Backup_setup_to_s3&amp;diff=162</id>
		<title>Backup setup to s3</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Backup_setup_to_s3&amp;diff=162"/>
		<updated>2021-04-27T06:47:50Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: Backup setup to s3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[Category:It-support|Backup setup to s3]]&lt;br /&gt;
&lt;br /&gt;
1) Firstly create bucket and grant permission for a user to it by following the steps mentioned in the below documents &lt;br /&gt;
&lt;br /&gt;
S3 bucket creation&lt;br /&gt;
&lt;br /&gt;
S3 bucket access user creation&lt;br /&gt;
&lt;br /&gt;
2) Login to the server in which we want to configure backup to s3 bucket&lt;br /&gt;
&lt;br /&gt;
3) Then install awscli &lt;br /&gt;
&lt;br /&gt;
yum install awscli&lt;br /&gt;
&lt;br /&gt;
4) Then we need to configure the user with permission to the corresponding bucket in the server. For that run the command &amp;quot; aws configure&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5) It will ask for &amp;quot;Access key ID&amp;quot; and &amp;quot;Secret access key&amp;quot;, which was obtained when we create the user with programmatic access. Please give it without any mistake.&lt;br /&gt;
&lt;br /&gt;
6) Then configure the cronjob for moving the backup to the corresponding s3 bucket to which the user has access.&lt;br /&gt;
&lt;br /&gt;
7) For setup the cron you can use below steps&lt;br /&gt;
&lt;br /&gt;
*) Create a shell script using the below command&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  aws s3 mv &amp;lt;Source directory&amp;gt; s3://&amp;lt;bucketname&amp;gt; --recursive&lt;br /&gt;
&lt;br /&gt;
*) Give execution permission to the script&lt;br /&gt;
&lt;br /&gt;
  chmod +x &amp;lt;filename.sh&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*) To open cron tab use the command &amp;gt;&amp;gt; crontab -e&lt;br /&gt;
&lt;br /&gt;
*) Then configure cron job by the general syntax. One example is given below.&lt;br /&gt;
&lt;br /&gt;
   30 20 * * * /home/user/filebackupmove.sh     ( it will execute at server time 8:30 pm every day )&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=S3_bucket_access_user_creation&amp;diff=161</id>
		<title>S3 bucket access user creation</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=S3_bucket_access_user_creation&amp;diff=161"/>
		<updated>2021-04-27T06:19:27Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: S3 bucket access user creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:It-support|S3 bucket access user creation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) Login to AWS console and open IAM section in the services.&lt;br /&gt;
&lt;br /&gt;
2) In IAM click &amp;quot;Users&amp;quot; &amp;gt;&amp;gt; &amp;quot;Add user&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3) Then enter the user name and select &amp;quot;programmatic access&amp;quot; &lt;br /&gt;
&lt;br /&gt;
4) Add permission by click on &amp;quot;permissions&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5) Then select &amp;quot;copy permissions from existing user&amp;quot; &lt;br /&gt;
&lt;br /&gt;
6) Select any s3 access IAM user already created it it and click create user button&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=S3_bucket_creation&amp;diff=160</id>
		<title>S3 bucket creation</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=S3_bucket_creation&amp;diff=160"/>
		<updated>2021-04-27T05:53:26Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: S3 bucket creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:It-support|S3 bucket creation]]&lt;br /&gt;
&lt;br /&gt;
1) Login to AWS console.&lt;br /&gt;
&lt;br /&gt;
2) Then go to s3 section by click on s3 in services list.&lt;br /&gt;
&lt;br /&gt;
3) In s3 click the &amp;quot;create bucket&amp;quot; and give the details like bucket name, region etc they are asking and create it.&lt;br /&gt;
&lt;br /&gt;
For creating folder in it&lt;br /&gt;
&lt;br /&gt;
*) Open the bucket&lt;br /&gt;
&lt;br /&gt;
*) Create folder by clicking &amp;quot;create folder&amp;quot; and give name for it.&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Postgresql_slow_query&amp;diff=159</id>
		<title>Postgresql slow query</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Postgresql_slow_query&amp;diff=159"/>
		<updated>2021-04-27T05:32:42Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: Postgresql slow query&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:It-support|Postgresql slow query]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) To enable slow query log in postgresql, firstly you have to open the postgres configuration file &amp;quot;/etc/postgresql/9.1/main/postgresql.conf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2) Then find the following line &lt;br /&gt;
&lt;br /&gt;
#log_min_duration_statement = -1&lt;br /&gt;
&lt;br /&gt;
Uncomment it and replace -1 with a query runtime threshold in milliseconds.&lt;br /&gt;
&lt;br /&gt;
eg: log_min_duration_statement = 1000&lt;br /&gt;
&lt;br /&gt;
3) Make sure logging_collector is set to on.&lt;br /&gt;
&lt;br /&gt;
4) Then save the configuration and restart the service&lt;br /&gt;
&lt;br /&gt;
sudo systemctl restart postgresql&lt;br /&gt;
&lt;br /&gt;
5) The go to the postgreSQL log collecting directory &amp;quot;/var/lib/pgsql/data/pg_log/&amp;quot; and find the log file in it.&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=SDC_cohosting_procedure&amp;diff=158</id>
		<title>SDC cohosting procedure</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=SDC_cohosting_procedure&amp;diff=158"/>
		<updated>2021-04-27T05:21:42Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: SDC co-hosting procedure&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:It-support|SDC co-hosting procedure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please note that for moving a application to SDC we have to perform some step by step process from our end. Kindly find a brief explanation regarding what the full process includes given below.&lt;br /&gt;
&lt;br /&gt;
1) First and foremost, we need to send a co-hosting request to SDC by filling the official co-hosting application given by SDC. The mail should be send from the department mail under kerala.gov.in domain.&lt;br /&gt;
You can download the co-hosting form from the link given below.&lt;br /&gt;
&lt;br /&gt;
https://itmission.kerala.gov.in/sites/default/files/Application_forms/Appication%20for%20Co-Hosting%20in%20State%20Data%20Centres.pdf&lt;br /&gt;
&lt;br /&gt;
2) After reviewing our request, they would allocate a staging server space in SDC DC, where we need to deploy our application first.&lt;br /&gt;
&lt;br /&gt;
3) Once we have completed our application deployment in the staging server, then the department should take a quotation from any CERT-IN empaneled agencies and share the application details with them for performing security audit.&lt;br /&gt;
&lt;br /&gt;
4) Then the department should produce a Safe to Host certificate of the application given by the security auditing CERT-IN empaneled agency after successful completion of STQC audit and fixes to SDC for move it to the production environment.&lt;br /&gt;
&lt;br /&gt;
5) Finally, they will review it and allocate a production environment in SDC for making our application live in SDC DC. Then we need to migrate the application to the SDC production server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Kindly note that, as I have mentioned in the above mail for the whole process, communication can be made from a mail ID under the kerala.gov.in domain only.&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Password_and_access_log_sheet_for_digital_assets&amp;diff=157</id>
		<title>Password and access log sheet for digital assets</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Password_and_access_log_sheet_for_digital_assets&amp;diff=157"/>
		<updated>2021-04-27T05:03:35Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: Password and access log sheet for digital assets&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:It-support|Password and access log sheet for digital assets]]&lt;br /&gt;
&lt;br /&gt;
Kindly note that you have to update the &amp;quot;Password and access log of digital assets&amp;quot; sheet when create new logins, share it to anyone and password changed. Please follow the below steps for it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) Open the &amp;quot;SysAdmin Works&amp;quot; folder in drive and open the sheet &amp;quot;Password and access log of digital assets&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2)You have to update the sheet in the below given stages.&lt;br /&gt;
    &lt;br /&gt;
         a) When new logins created&lt;br /&gt;
         b) When shared the login details&lt;br /&gt;
         c) When changed the password&lt;br /&gt;
&lt;br /&gt;
a) When new logins created&lt;br /&gt;
==================================&lt;br /&gt;
&lt;br /&gt;
*) when new logins are created add it to the &amp;quot;Items&amp;quot; section of the sheet under respective items.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
b) When shared the login details&lt;br /&gt;
===================================&lt;br /&gt;
&lt;br /&gt;
*) You should add new employees to the &amp;quot;Users with access&amp;quot; section &lt;br /&gt;
&lt;br /&gt;
*) Whenever you/anyone shared any of the login credentials with others, you should change the access to that digital assets to &amp;quot;yes&amp;quot; under the corresponding user.&lt;br /&gt;
&lt;br /&gt;
*) Also when an employee is resigned you should revoke all of his/her accesses and update the sheet accordingly.&lt;br /&gt;
&lt;br /&gt;
c) When changed the password&lt;br /&gt;
===================================&lt;br /&gt;
&lt;br /&gt;
*) Please note that there are 2 columns in the sheet &amp;quot;Scheduled password change&amp;quot; and &amp;quot;Last changed&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*) You must change the passwords according to the scheduled time and update the password changed date in &amp;quot;Last changed&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
*) Also don't forget to update the lastpass entries with the new password.&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Server_and_domain_list&amp;diff=156</id>
		<title>Server and domain list</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Server_and_domain_list&amp;diff=156"/>
		<updated>2021-04-27T04:39:40Z</updated>

		<summary type="html">&lt;p&gt;137.97.105.157: Server and domain list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:It-support|Server and domain list]]&lt;br /&gt;
&lt;br /&gt;
When there is a new server or domain has been setup, you should update the Google sheet accordingly. Please follow the below steps for it.&lt;br /&gt;
&lt;br /&gt;
1) Login to Google drive and open the folder &amp;quot;SysAdmin Works&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
2) There you can find the sheet &amp;quot;Servers bill update and domain lists&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
3) Open the sheet and update the server details and domain lists corresponding to each server in sheet1 and sheet2 in it.&lt;/div&gt;</summary>
		<author><name>137.97.105.157</name></author>
		
	</entry>
</feed>