-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathlets-encrypt and https access to erpnext.txt
100 lines (65 loc) · 2.66 KB
/
lets-encrypt and https access to erpnext.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Step 1: Rename Site folder name
Switch to frappe user, if SSH’ed as root
sudo su - frappe
cd frappe-bench/sites
mv site1.local mycompany.com
Step 2: Add hostname
nano mycompany.com/site_config.json
Add the following line.
"host_name": "http://mycompany.com",
It should look like below
{
"db_name": "site1.local",
"db_password": "*********",
"host_name": "http://domain.org"
}
Be sure to add "," at the end of "db_password": "........",
bench setup nginx
Step 3: Install Letsencrypt
You need to have a DNS Multitenant Setup
bench config dns_multitenant on
cd /frappe/frappe/bench
sudo -H bench setup lets-encrypt mycompany.com
5
Tudtude
Jan '17
Dear Javid_Hussain and all friend,
Now, it work I can used https://mycompany.com 30.
Dear new ERPNext user,
If you are new for Linux/google cloud/ERPNext don’t panic and stay clam. ERPNext are easy to setup in google cloud. Below are my step that it work for me (I don’t understand it but it work)
run command in your google ssh (yourname : accouut in google)
yourname@testsystem:~$ apt-get update
yourname@testsystem:~$apt-get upgrade
yourname@testsystem:~$wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py 15
sudo python install.py --production
yourname@testsystem:~$sudo python install.py --production
If you have no any error you will have http://ipaddress 2 for ERPNext, if you map you ipaddress with DNS service you will have http://youcompany.com as ERPNext web service
Next we need to make it to Https://yourcompany.com for your safety.
yourname@testsystem:~$ sudo su - frappe
frappe@testsystem:~$ cd frappe-bench/sites
frappe@testsystem:~/frappe-bench/sites$ mv site1.local mycompany.com
frappe@testsystem:~/frappe-bench/sites$ nano mycompany.com/site_config.json 7
nano just like text edit if you never used like me just check at youtobe, change text to
Add the following line.
“host_name”: “http://mycompany.com”,
It should look like below
{
“db_name”: “site1.local”,
“db_password”: “*********”,
“host_name”: “http://domain.org 18”
}
Save and exit
9) frappe@testsystem:~/frappe-bench/sites$ cd …
10) frappe@testsystem:~/frappe-bench$ sudo -H bench setup lets-encrypt mycompany.com
After this step will request you to put some information just put … woww, you will get https://
*** now still need to set auto renew *** I will try and update!
Login (bpminfotech.com)
http://demo.bpminfotech.com:8090
User name :: [email protected]
Password :: pratyusha@0304
For the Reference kindly follow the below Document.
https://docs.erpnext.com/docs/v13/user/manual/en
Thanks & Regards
Manyam Surendhranath
8143483438
@Surendhranath_manyam