#Comment installer Simple Machine FORUM ##en ligne de commande
téléchargement de l'archive du CMS :
wget http://download.simplemachines.org/index.php/smf_2-0-11_install.tar.bz2
on vérifie que c'est bien installé :
ll
ambience clone: from https://github.com/tenplus1/ambience.git | |
areas clone: from [email protected]:ShadowNinja/areas.git | |
awards clone: from https://github.com/minetest-mods/awards.git | |
bakedclay clone: from https://github.com/tenplus1/bakedclay.git | |
channels clone: from https://github.com/SmallJoker/channels.git | |
clean >> créé avec l'aide de fhwcat, récupéré le document de base sur https://forum.minetest.net/viewtopic.php?t=2777 | |
email clone: from https://github.com/rubenwardy/email.git | |
farming clone: from https://github.com/tenplus1/farming.git | |
hopper clone: from https://github.com/tenplus1/hopper.git | |
irc clone: from https://github.com/minetest-mods/irc.git |
#Comment installer Simple Machine FORUM ##en ligne de commande
téléchargement de l'archive du CMS :
wget http://download.simplemachines.org/index.php/smf_2-0-11_install.tar.bz2
on vérifie que c'est bien installé :
ll
#! /bin/bash | |
#sudo apt-get install subversion | |
#sudo apt-get install subversion-tools | |
#cd /var/www/html/ | |
#mkdir simplon-sem16 | |
#cd simplon-sem16 | |
mkdir spip | |
cd spip/ | |
svn checkout svn://trac.rezo.net/spip/branches/spip-3-stable |
#! /bin/bash | |
# Un script bash pour automatiser la creation de repository git | |
echo "On va demarrer git" | |
# Le nom du repo sera l'argument de la commande : | |
mkdir $1 | |
# On va se placer dans le repo : |
<?php | |
$prenommoins = []; | |
$prenomplus = []; | |
$tableau_artistes = array('Michel'=>'520', 'Johnny'=>'100000', 'Tarrus'=>'230', 'Bob'=>'14444', 'Kurt'=>'2700', 'Queen'=>'20000'); | |
foreach ($tableau_artistes as $key => $value) { | |
if ($value < 10000) { | |
echo "$key a vendu $value albums, donc moins de 10.000 albums, <br>"; | |
$prenommoins[$key] = $value; | |
//$prenommoins = ($prenommoins++); |