mise au point solution
This commit is contained in:
10
Readme.md
10
Readme.md
@@ -4,15 +4,15 @@
|
|||||||
|
|
||||||
Créer le répertoire /srv/Private
|
Créer le répertoire /srv/Private
|
||||||
```bash
|
```bash
|
||||||
mkdir /srv/Private
|
sudo mkdir /srv/Private
|
||||||
echo "This is private" > /srv/Private/index.html
|
echo "This is private" | sudo tee /srv/Private/index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
Le rendre accessible via http://lia.fr/Private
|
Le rendre accessible via http://liaX.formation.opendoor.fr/Private
|
||||||
```bash
|
```bash
|
||||||
htpasswd -c /etc/httpd/passwd tom
|
sudo htpasswd -c /etc/httpd/passwd tom
|
||||||
...
|
...
|
||||||
echo "admin: tom" > /etc/httpd/group
|
echo "admin: tom" | sudo tee /etc/httpd/group
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user