Skip to content

gurvanhenry/Sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Sandbox

inner clickable link with fr accent: title with é

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

title with é

a

a

a

a

and if there is no emtpy line

b c d

with list

  • b
  • c
  • d

with list and title

better

  • b

better

  • c
  • d

with list and text

better

  • b better
  • c
  • d

with list and text

b c d

with list and text

better

  • b

    better

  • c

  • d

with list and text

better

  • b better

  • c

  • d

    a2dissite

  • mod - The conf file in sites-enabled to be moved to sites-available
  • add - -mod will name a path to a file to be moved to sites-available
  • norestart - Don't restart the web server on completion

and if there is no emtpy line

  • A
  • b
  • A
  • c
  • d

Usage

a2enmod [[-m[od]] <String> [[-s[earch]] <String>] [-r[eplace]] [-c[opy]] [-n[orestart]]]

  • mod - The module to enable or add
  • search - The path to the module.
  • replace - Replace the path in the LoadModule line for this module with the file path passed to search.
  • copy - A new module will be added and the file will be copied to the default modules directory.
  • norestart - Don't restart the web server on completion

Locates the specified module and uncomments its LoadModule line to enable it. A new module will be added if a path to a valid file is passed to -search. The new LoadModule line will be appended to the long list of enabled and disabled lines that usually comes with Apache. -copy will make a copy in the default modules folder. If -mod names a newly added module, it must be the same name specified by the module file. If referring to a module already specifed in the conf, it may be named by either the part before _module, the full module name, filename, or basename (filename without extension).

a2dismod [[-m[od]] <String> [-n[orestart]]]

  • mod - The module to disable
  • norestart - Don't restart the web server on completion

Adds a comment marker to the LoadModule line of the specified module to disable it.

and if there is no emtpy line

A

  • b

  • c

    B

  • d

    a2ensite Show information about enabled and disabled sites.

    a2ensite mysite Enables the site defined in the file ServerRoot\conf\sites-available\mysite.conf.

    a2ensite C:\my\folder\mysite.conf -add Move the Virtual host configuration defined in C:\my\folder\mysite.conf to ServerRoot\conf\sites-enabled.

    a2ensite C:\my\folder\mysite.conf -c Copy mysite.conf from the specified folder into sites-enabled, then enable it.

    a2ensite mysite –norestart Move ServerRoot\conf\sites-available\mysite.conf to ServerRoot\conf\sites-enabled, but don’t restart the web server.

    a2dissite mysite Disable ServerRoot\conf\sites-enabled\mysite.conf by moving it to sites-available and restarting the web server.

change password

  • passwd (change password for debian user)
  • sudo passwd root (change root password)

update system

  • sudo apt update

About

Repo for test

Resources

Stars

Watchers

Forks

Packages

No packages published