Connect to a PPTP VPN Server from Linux Terminal
Step 1 : Install pptp client.
sudo apt-get -y install pptp-linux
Step 2 : Setup PPTP Client
Add secret:
File : /etc/ppp/chap-secrets
You can use:sudo nano /etc/ppp/chap-secrets
sudo apt-get -y install pptp-linux
Add secret:
File : /etc/ppp/chap-secrets
You can use:sudo nano /etc/ppp/chap-secrets
rsync is a powerfull tool to synchronize the files and directories. Can be use for local or remote using ssh.
Source Tutorial : https://www.thegeekstuff.com/2010/09/rsync-command-examples/
Syntaxrsync options source destination
sudo apt-get install cryptsetup
sudo cryptsetup luksOpen /dev/sda1 my_encrypted_volume
/etc/rc.local is depricated on debian 9.
You can try this to add it. (Not tested)
1) Create the file : /etc/systemd/system/rc-local.service
# nano /etc/systemd/system/rc-local.service
2) Copy this text.
Juste enter the address of your share like:
smb://<IP or HOST>/<Folder>
Example:smb://192.168.0.1/DATA
smb://192.168.0.1/
The official tutorial is hear : https://about.gitlab.com/installation/#debian?version=ce
CE or EE : https://about.gitlab.com/installation/ce-or-ee/?distro=debian
First we need to install pptp server using apt-get
# sudo apt-get install pptpd
Then we need to configure the pptpd.
# sudo nano /etc/pptpd.conf
1. Install java
Install Java 8 on Ubuntu
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Verify Java Inatallation
sudo apt-get install oracle-java8-set-default
java -version
Webmin and Virtualmin Change IP access control from shell terminal.
Edit file: /etc/webmin/miniserv.conf
vim /etc/webmin/miniserv.conf
Change:
allow=OLD_IP to New IP
Example:
allow=123.214.123.123 85.25.65.45 45.65.85.36
Drush allow to download and install drupal core, drupal modules and drupal themes.
Note : It is recommended to use composer to manage drupal 8, modules and themes.