
Recherche avancée
Autres articles (40)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4032)
-
Assigning variable a home file path returns warning
28 mai 2015, par Code_Ed_StudentI am working with
ffmpeg
and bash. The question that follows is more in relation to bash scripting variable assignment. I compiledffmpeg
from source using the guide. There are two ways to invokeffmpeg
:cd ~/bin && ./ffmpeg -i ~/input.mp4 ~/videos/output.mkv
or/home/yourusername/bin/ffmpeg ...
. However in my script I am trying to set path to a variable and it returns the errorUsing a password on the command line interface can be insecure
. How can I properly call the program without this warning ?#!/bin/bash/
ffprobe_path="/home/yourusername/bin/ffprobe"
while IFS== read field value; do
details[$field]="$value"
done < <($ffprobe_path -i "$file" -show_format -v quiet | grep '.=.')
echo "${details[duration]}"Result
Warning: Using a password on the command line interface can be insecure.
-
lavfi/noise : switch to AVLFG noise generator
17 février 2013, par Paul B Mahollavfi/noise : switch to AVLFG noise generator
-
Revision 4401 : Autorisation à crayonner le logo On ajoute le slider de la home
8 novembre 2010, par kent1 — LogAutorisation à crayonner le logo On ajoute le slider de la home