Compare commits
	
		
			1 Commits
		
	
	
		
			dee04bbe4a
			...
			v0.1.0b-LD
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 6701d70dd8 | 
							
								
								
									
										11
									
								
								ap22/dau
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								ap22/dau
									
									
									
									
									
								
							| @@ -1,11 +0,0 @@ | |||||||
| #!/bin/bash |  | ||||||
|  |  | ||||||
| set -e |  | ||||||
| set -u |  | ||||||
|  |  | ||||||
| login=$1 |  | ||||||
| password=$(htpasswd -bnBC 10 "" $1|tr -d '\d') |  | ||||||
|  |  | ||||||
| echo "${login}${password}:${login}:${login}@localhost:${login},user" |  | ||||||
|  |  | ||||||
| #./dau $1 >> /var/www/html/doku/conf/users.auth.php |  | ||||||
							
								
								
									
										9
									
								
								ap22/dau-ap22
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										9
									
								
								ap22/dau-ap22
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | #!/bin/bash | ||||||
|  | set -e | ||||||
|  | set -u | ||||||
|  |  | ||||||
|  | ./dau louis >> /var/www/html/doku/conf/users.auth.php | ||||||
|  | ./dau johan >> /var/www/html/doku/conf/users.auth.php | ||||||
|  | ./dau elio >> /var/www/html/doku/conf/users.auth.php | ||||||
|  | ./dau hadrien >> /var/www/html/doku/conf/users.auth.php | ||||||
|  | ./dau thomas >> /var/www/html/doku/conf/users.auth.php | ||||||
							
								
								
									
										26
									
								
								ap22/test
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								ap22/test
									
									
									
									
									
								
							| @@ -1,26 +0,0 @@ | |||||||
| #!/bin/bash |  | ||||||
|  |  | ||||||
| #set -e |  | ||||||
| set -u |  | ||||||
|  |  | ||||||
| #installation des paquets |  | ||||||
| apt install -y wget apache2 php php-gd php-mbstring php-xml |  | ||||||
|  |  | ||||||
| # script instalation |  | ||||||
| cd /tmp || return |  | ||||||
| wget http://depl.sio.lan/store/dokuwiki-stable.tgz |  | ||||||
| tar xvfz dokuwiki-stable.tgz |  | ||||||
| mkdir /var/www/html/doku |  | ||||||
| if [[ ! -d dokuwiki-2020-07-29 ]] ; then |  | ||||||
|   echo "$0 : erreur version dokuwiki" |  | ||||||
| fi |  | ||||||
| cp -a dokuwiki-2020-07-29/* /var/www/html/doku |  | ||||||
| cd /var/www/html/doku || return |  | ||||||
| chown -R root:root . |  | ||||||
| chmod -R 755 . |  | ||||||
| chown -R www-data:www-data data lib conf |  | ||||||
|  |  | ||||||
| adresse=$(ip -br a|grep UP|awk '{print $3}'|cut -f1 -d'/') |  | ||||||
|   echo "instalation de dokuwiki terminee. Connectez-vous avec un navigateur à l'adresse http://${adresse}/doku" |  | ||||||
|  |  | ||||||
| exit 0 |  | ||||||
| @@ -1 +0,0 @@ | |||||||
| 0 21 * * 1-7 /root/svbase |  | ||||||
| @@ -1,28 +0,0 @@ | |||||||
| file: |  | ||||||
|   /root/latest.sql.gz: |  | ||||||
|     exists: true |  | ||||||
|     mode: "0644" |  | ||||||
|     owner: root |  | ||||||
|     group: root |  | ||||||
|     filetype: file |  | ||||||
|     contains: [] |  | ||||||
| command: |  | ||||||
|   crontab -l: |  | ||||||
|     exit-status: 0 |  | ||||||
|     stdout: |  | ||||||
|     - 0 21 * * 1-7 /root/svbase |  | ||||||
|     stderr: [] |  | ||||||
|     timeout: 10000 |  | ||||||
|   ssh ap22 hostname: |  | ||||||
|     exit-status: 0 |  | ||||||
|     stdout: |  | ||||||
|     - ap22 |  | ||||||
|     stderr: [] |  | ||||||
|     timeout: 10000 |  | ||||||
| interface: |  | ||||||
|   enp0s3: |  | ||||||
|     exists: true |  | ||||||
|     addrs: |  | ||||||
|     - 192.168.0.27/24 |  | ||||||
|     - fe80::a00:27ff:feef:c5c3/64 |  | ||||||
|     mtu: 1500 |  | ||||||
| @@ -1,2 +0,0 @@ | |||||||
| #!/bin/bash |  | ||||||
| zcat latest.sql.gz|ssh root@ap22 "mysql -u gsbadm -pgsbadm gsbvisite" |  | ||||||
		Reference in New Issue
	
	Block a user