ftp – Tic & Net https://blog.datacargo.fr Le blog notes de Fred Thu, 22 Feb 2018 10:03:41 +0000 fr-FR hourly 1 https://wordpress.org/?v=6.4.7 https://blog.datacargo.fr/wp-content/uploads/2019/05/cropped-bannière-ticnet-3-32x32.png ftp – Tic & Net https://blog.datacargo.fr 32 32 La synchro facile sous Ubuntu avec Syncany https://blog.datacargo.fr/2018/02/22/la-syncro-facile-sous-ubuntu-avec-syncany/ https://blog.datacargo.fr/2018/02/22/la-syncro-facile-sous-ubuntu-avec-syncany/#comments Thu, 22 Feb 2018 10:03:41 +0000 http://tic-et-net.org/?p=6348 Sous Ubuntu, la synchronisation de dossiers s’effectue la plupart du temps avec des utilitaires en ligne de commande, lorsque le dossier est en ligne, FTP ou Webdav, tout ça devient très compliqué voire impossible. Mais ça c’était avant SyncAny.

Migrer de Windows à Linux, présente de nombreux avantages, il est parfaitement possible de profiter d’un environnement de travail plus performant sans sacrifier aux fonctionnalités. C’est mon cas et j’invite mes contacts à migrer, mais là n’est pas le propos.

Récemment, j’ai cherché à remplacer Microsoft OneDrive par une solution auto-hébergée (chez Obambu en fait, histoire de rentabiliser mon stockage), je me suis donc tourné naturellement vers  NextCloud, fork plus actif d’Owncloud.

Je n’épiloguerai pas, mais cette solution ne m’a pas satisfait, synchronisation très lente, et surcharge du CPU coté serveur. J’ai donc testé un service découvert lors d’une recherche: Syncany.

Sur le papier, Syncany sait tout faire, synchroniser des dossiers locaux et en ligne, FTP, Webdav, Dropbox, etc..

Pour mon besoin, je suis donc passé par un compte ftp créé chez mon hébergeur associé à un espace dédié. Ensuite, je suis passé à l’installation et  la configuration de Syncany, étapes que je vais détailler ici.

Installation :

sudo apt install curl
curl -sL https://get.syncany.org/debian/ | sh

L’utilitaire en ligne de commande est installé (la doc très complète est ici), je souhaite maintenant disposer d’une interface graphique et du plugin ftp :

sudo apt install syncany-plugin-ftp syncany-plugin-gui

Lancez l’interface, puis Add Folder, un assistant se déroule, choix du dossier local :

Capture d’écran_2018-02-22_09-25-47.png

Connexion au dossier FTP distant :
Capture d’écran_2018-02-22_09-26-26.png
Saisie des paramètres du compte FTP :
Capture d_écran_2018-02-22_09-26-46
Saisie d’un mot de passe, il s’agit ici de l’installation d’un second poste, le mot de passe a déjà été créé.
Capture d_écran_2018-02-22_09-28-04
Si tout est correct, vous devriez disposer d’une nouvelle icône qui indique le statut de la synchro :
Capture d’écran_2018-02-22_10-42-20.png
Un petit check Vert apparaîtra une fois la synchronisation achevée.
L’interface graphique donne accès à quelques paramètres, limitation du débit, et ici l’ajout de plugins.
Capture d_écran_2018-02-22_09-34-53
Syncany est certes en version Alpha -parfaitement utilisable – et distribué sous licence GPLv3.

]]>
https://blog.datacargo.fr/2018/02/22/la-syncro-facile-sous-ubuntu-avec-syncany/feed/ 5
[Linux] how to install Xampp on Solus OS https://blog.datacargo.fr/2017/11/22/linux-how-to-install-xampp-on-solus-os/ https://blog.datacargo.fr/2017/11/22/linux-how-to-install-xampp-on-solus-os/#comments Wed, 22 Nov 2017 17:11:08 +0000 http://tic-et-net.org/?p=6232 Solus OS is a new OS that I appreciate for its speed, unfortunately it is a bit exotic for some manipulations. It is true that apart from Ubuntu, it is often necessary to do some DIY to install off-market applications. This short tutorial explains how to install an integrated solution that combines a Web, FTP and SQL server, ideal for local development.
Go to Apachefriends and download the Linux installer for the version of PHP you need.
In a terminal with root rights, proceed to the installation, example:

sudo. /xampp-linux-x64-7.1.11-0-install. run

The wizard unrolls and installs in /opt/lampp
Do not start the management interface (the manager), there are corrections to be made so that the Web and FTP servers start.
In a terminal, edit httpd. conf:

sudo nano /opt/lampp/etc/httpd. conf

Replace daemon with nobody to get:

User nobody
Group nobody
</IfModule>>

Now to the turn of proftpd. conf:

sudo nano /opt/lampp/etc/proftpd. conf

Replace daemon with nobody:

User nobody
#Group daemon

To display the manager window, use this command:

sudo /opt/lampp/manager-linux-x64. run

It is also possible to start applications separately on the command line:

sudo /opt/lampp/xampp startapache

The complete list of orders:

start Start XAMPP (Apache, MySQL and eventually others)
startapache Start only Apache
startmysql Start only MySQL
startftp Start only ProFTPD
stop Stop XAMPP (Apache, MySQL and eventually others)
stopapache Stop only Apache
stopmysql Stop only MySQL
stopftp Stop only ProFTPD
reload Reload XAMPP (Apache, MySQL and eventually others)
reloadapache Reload only Apache
reloadmysql Reload only MySQL
reloadftp Reload only ProFTPD
restart Stop and start XAMPP
security Check XAMPP’s security
enablessl Enable SSL support for Apache
disablessl Disablessl Disable SSL support for Apache
backup Make backup backup file of your XAMPP config, log and data files
oci8 Enable the oci8 extensor
panel Starts graphical XAMPP control panel

Source : https://stackoverflow.com/questions/24027220/error-ah00543-httpd-bad-user-name-xampp-apache

]]>
https://blog.datacargo.fr/2017/11/22/linux-how-to-install-xampp-on-solus-os/feed/ 5
[Linux] Comment installer Xampp sur Solus https://blog.datacargo.fr/2017/11/22/linux-comment-installer-xampp-sur-solus-os/ https://blog.datacargo.fr/2017/11/22/linux-comment-installer-xampp-sur-solus-os/#respond Wed, 22 Nov 2017 17:06:58 +0000 http://tic-et-net.org/?p=6229 Solus est un nouvel OS que j’apprécie pour sa rapidité, malheureusement, il est un peu exotique pour certaines manipulations. Il est vrai qu’en dehors d’Ubuntu, il faut bien souvent faire du bricolage pour installer des applis hors market. Ce petit tutoriel vous explique comment installer une solution intégrée regroupant un serveur Web, FTP et SQL, idéal pour du développement en local.
Rendez  sur Apachefriends et téléchargez l’installateur Linux correspondant à la version de PHP dont vous avez besoin.
Dans un terminal avec les droits root, procédez à l’installation, exemple :

sudo ./xampp-linux-x64-7.1.11-0-installer.run

L’assistant se déroule et effectue l’installation dans /opt/lampp
Ne démarrez pas l’interface de gestion (le manager), il y des corrections à apporter pour que les serveurs Web et FTP démarrent.
Dans un terminal, éditez httpd.conf :

sudo nano /opt/lampp/etc/httpd.conf

Remplacez daemon par nobody afin d’obtenir :

User nobody
Group nobody
</IfModule>

Maintenant au tour de proftpd.conf :
sudo nano /opt/lampp/etc/proftpd.conf
Remplacez daemon par nobody :

User nobody
#Group daemon

Pour afficher la fenêtre du gestionnaire,  utilisez cette commande :
sudo /opt/lampp/manager-linux-x64.run
Il est également possible de démarrer les applications séparément en ligne de commande :

sudo /opt/lampp/xampp startapache

La liste complète des commandes :

start Start XAMPP (Apache, MySQL and eventually others)
startapache Start only Apache
startmysql Start only MySQL
startftp Start only ProFTPD
stop Stop XAMPP (Apache, MySQL and eventually others)
stopapache Stop only Apache
stopmysql Stop only MySQL
stopftp Stop only ProFTPD
reload Reload XAMPP (Apache, MySQL and eventually others)
reloadapache Reload only Apache
reloadmysql Reload only MySQL
reloadftp Reload only ProFTPD
restart Stop and start XAMPP
security Check XAMPP’s security
enablessl Enable SSL support for Apache
disablessl Disable SSL support for Apache
backup Make backup file of your XAMPP config, log and data files
oci8 Enable the oci8 extenssion
panel Starts graphical XAMPP control panel
Source : https://stackoverflow.com/questions/24027220/error-ah00543-httpd-bad-user-name-xampp-apache

]]>
https://blog.datacargo.fr/2017/11/22/linux-comment-installer-xampp-sur-solus-os/feed/ 0