Proxmox VE Access Console of LXC Container

Proxmox VE Access Console of LXC Container

To access console of a LXC container running under Proxmox, run pct enter CT_ID_HERE Example pct enter 106 You don’t

Enable Developer Mode in ErpNext

Enable Developer Mode in ErpNext

To enable developer mode in ErpNext, run bench –site YOUR_SITE_NAME_HEREĀ  set-config developer_mode 1 Example bench –site erp.serverok.in set-config developer_mode 1

ErpNext backup a site

ErpNext backup a site

To backup a site in ErpNext, you need to backup files and database. To backup files, run frappe@sok:~/frappe-bench$ bench –site

ErpNext restore backup

ErpNext restore backup

To restore ErpNext backup, run bench –site erp.serverok.in restore –with-public-files /backup/20201112_140222-erp_sevrerok_in-files.tar –with-private-files /backup/20201112_140222-erp_sevrerok_in-private-files.tar /backup/20201112_140505-erp_sevrerok_in-database.sql To see how to take backup

SSH Too many authentication failures

SSH Too many authentication failures

When i ssh into a server, i get following error root@lab:~# ssh [email protected] -p 3333 Received disconnect from 14.18.58.78: 2:

Copying file using scp

Copying file using scp

scp is secure copy. That is you can copy file between servers over ssh connection. scp [-1246BCpqrv] [-c cipher] [-F

install fantastico on Cpanel Server

install fantastico on Cpanel Server

For installing fantastico, run following command on ssh cd /usr/local/cpanel/whostmgr/docroot/cgi wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz tar -xzpf fantastico_whm_admin.tgz rm -rf fantastico_whm_admin.tgz Now

SSH Tunnel

SSH Tunnel

If you have a server with SSH access, you can use it as sock 5 proxy or for port forwarding

bash: man: command not found

bash: man: command not found

When running man command on a debian server, i get error root@lab:~# man sftp -bash: man: command not found root@lab:~#

How to find Laravel Framework Version

How to find Laravel Framework Version

Laravel is a popular PHP framework. In this post, I will show how to check laravel version. To find the

remoteip

remoteip

Cloudflare Restoring Visitor IP in Ubuntu Plesk Apache Server

show git branch in terminal

Show git branch in terminal

When working with git, to avoid accidental commit to wrong branch, it will be better if terminal show the branch