-
View network interfaces by
nmcli -p dev
// to check network port -
Edit
/etc/sysconfig/network-scripts/ifcfg-networkdevicename
-
press
i
for editing and change the following
DEVICE=device_name
BOOTPROTO=none
#!/bin/bash | |
usage() | |
{ | |
cat << EOF | |
usage: $0 options | |
This script sets ownership for all tables, sequences, views, and functions for a given schema. | |
Run this script as your postgres OS user. |
View network interfaces by
nmcli -p dev
// to check network port
Edit
/etc/sysconfig/network-scripts/ifcfg-networkdevicename
press i
for editing and change the following
DEVICE=device_name
BOOTPROTO=none
#!/bin/bash | |
# Used for backing up Frappe/ERPNext sites | |
# Adjust details and add as cron job on server to automate backups | |
# Script to backup all sites in Frappe Bench to GitHub | |
# Switch to bench directory and | |
# Backup all sites with files to backup folder | |
# Backup files can be easily restored on a new frappe bench |
openssl pkcs12 -export -out output_sile_path.pfx -inkey ssl_key_path.key -in crt_file_path.crt -certfile pem_ssl_file_path.pem
c:> certutil -importPFX pfx_ssl_path.pfx
redis_cache: redis-server config/redis_cache.conf | |
redis_socketio: redis-server config/redis_socketio.conf | |
redis_queue: redis-server config/redis_queue.conf | |
web: bench serve --port 8000 | |
socketio: /usr/bin/node apps/frappe/socketio.js | |
custom_app: /usr/bin/node apps/custom_app/custom_node.js | |
watch: bench watch | |
schedule: bench schedule | |
worker_short: bench worker --queue short |