Sie sind auf Seite 1von 3

tito@ubuntu:~$ ls -lh /var/www

total 8.0K
drwxr-xr-x 2 root root 4.0K Mar 10 09:28 html
drwxr-xr-x 2 root root 4.0K Mar 10 10:24 joonla
tito@ubuntu:~$ ls -lh /var/www/html
total 12K
-rw-r--r-- 1 root root 11K Mar 10 09:28 index.html
tito@ubuntu:~$ sudo mkdir /var/www/joomla
[sudo] password for tito:
tito@ubuntu:~$ ls -lh /var/www
total 12K
drwxr-xr-x 2 root root 4.0K Mar 10 09:28 html
drwxr-xr-x 2 root root 4.0K Mar 10 10:37 joomla
tito@ubuntu:~$ sudo chown -R $UPER:$UPER /var/www/joomlatito@ubuntu:~$ sudo chown
-R $UPER:$UPER /var/www/joomla/
tito@ubuntu:~$ sudo mv Descargas/Joomla_3.9.11-Stable-Fultito@ubuntu:~$ sudo mv
Descargas/Joomla_3.9.11-Stable-Full_Package/* /var/www/joomla
mv: cannot stat 'Descargas/Joomla_3.9.11-Stable-Fulttttttito@ubuntu:~$ sudo mv
Downloads/Joomla_3.9.11-Stable-Full_Package/* /var/www/joomla
tito@ubuntu:~$ ls -lh /var/www/joomla/
total 108K
drwxr-xr-x 11 tito tito 4.0K Aug 12 2019 administrator
drwxr-xr-x 2 tito tito 4.0K Aug 12 2019 bin
drwxr-xr-x 2 tito tito 4.0K Aug 12 2019 cache
drwxr-xr-x 2 tito tito 4.0K Aug 12 2019 cli
drwxr-xr-x 20 tito tito 4.0K Aug 12 2019 components
-rw-r--r-- 1 tito tito 3.1K Aug 12 2019 htaccess.txt
drwxr-xr-x 5 tito tito 4.0K Aug 12 2019 images
drwxr-xr-x 2 tito tito 4.0K Aug 12 2019 includes
-rw-r--r-- 1 tito tito 1.4K Aug 12 2019 index.php
drwxr-xr-x 14 tito tito 4.0K Aug 12 2019 installation
drwxr-xr-x 4 tito tito 4.0K Aug 12 2019 language
drwxr-xr-x 5 tito tito 4.0K Aug 12 2019 layouts
drwxr-xr-x 12 tito tito 4.0K Aug 12 2019 libraries
-rw-r--r-- 1 tito tito 18K Aug 12 2019 LICENSE.txt
drwxr-xr-x 30 tito tito 4.0K Aug 12 2019 media
drwxr-xr-x 27 tito tito 4.0K Aug 12 2019 modules
drwxr-xr-x 19 tito tito 4.0K Aug 12 2019 plugins
-rw-r--r-- 1 tito tito 4.7K Aug 12 2019 README.txt
-rw-r--r-- 1 tito tito 829 Aug 12 2019 robots.txt.dist
drwxr-xr-x 5 tito tito 4.0K Aug 12 2019 templates
drwxr-xr-x 2 tito tito 4.0K Aug 12 2019 tmp
-rw-r--r-- 1 tito tito 1.9K Aug 12 2019 web.config.txt
tito@ubuntu:~$ cd /etc/apache2/
tito@ubuntu:/etc/apache2$ ls
apache2.conf magic sites-available
conf-available mods-available sites-enabled
conf-enabled mods-enabled
envvars ports.conf
tito@ubuntu:/etc/apache2$ cd sites-available/
tito@ubuntu:/etc/apache2/sites-available$ ls
000-default.conf default-ssl.conf
tito@ubuntu:/etc/apache2/sites-available$ ls -lh
total 12K
-rw-r--r-- 1 root root 1.4K Feb 3 2019 000-default.conf
-rw-r--r-- 1 root root 6.2K Feb 3 2019 default-ssl.conf
tito@ubuntu:/etc/apache2/sites-available$ sudo nano 000-default.conf
tito@ubuntu:/etc/apache2/sites-available$ sudo nano default-ssl.conf
[sudo] password for tito:
tito@ubuntu:/etc/apache2/sites-available$ default-ssl.conf
default-ssl.conf: command not found
tito@ubuntu:/etc/apache2/sites-available$ sudo nano joomla.com.conf
tito@ubuntu:/etc/apache2/sites-available$ sudo nano joomla.com.conf
tito@ubuntu:/etc/apache2/sites-available$ ls lh
ls: cannot access 'lh': No such file or directory
tito@ubuntu:/etc/apache2/sites-available$ ls -lh
total 16K
-rw-r--r-- 1 root root 1.4K Feb 3 2019 000-default.conf
-rw-r--r-- 1 root root 6.2K Feb 3 2019 default-ssl.conf
-rw-r--r-- 1 root root 1.4K Mar 10 11:26 joomla.com.conf
tito@ubuntu:/etc/apache2/sites-available$ sudo nano joomla.com.conf
tito@ubuntu:/etc/apache2/sites-available$ sudo nano joomla.com.conf
tito@ubuntu:/etc/apache2/sites-available$ sudo a2ensite joomla.com.conf
Enabling site joomla.com.
To activate the new configuration, you need to run:
systemctl reload apache2
tito@ubuntu:/etc/apache2/sites-available$ sudo systemctl restart apache2.service
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
tito@ubuntu:/etc/apache2/sites-available$ sudo systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
enabled)
Active: failed (Result: exit-code) since Tue 2020-03-10 11:42:11 PDT; 2min 26s
ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 13417 ExecStart=/usr/sbin/apachectl start (code=exited,
status=1/FAILURE)

Mar 10 11:42:11 ubuntu systemd[1]: Starting The Apache HTTP Server...


Mar 10 11:42:11 ubuntu apachectl[13417]: AH00526: Syntax error on line 10 of
/etc/apache2/sites-enabled/jooml
Mar 10 11:42:11 ubuntu apachectl[13417]: Invalid command
'ServerAdmin\xc2\xa0tito@joomla.com', perhaps misspe
Mar 10 11:42:11 ubuntu apachectl[13417]: Action 'start' failed.
Mar 10 11:42:11 ubuntu apachectl[13417]: The Apache error log may have more
information.
Mar 10 11:42:11 ubuntu systemd[1]: apache2.service: Control process exited,
code=exited, status=1/FAILURE
Mar 10 11:42:11 ubuntu systemd[1]: apache2.service: Failed with result 'exit-code'.
Mar 10 11:42:11 ubuntu systemd[1]: Failed to start The Apache HTTP Server.
tito@ubuntu:/etc/apache2/sites-available$ sudo a2ensite 000-default.conf
Site 000-default already enabled
tito@ubuntu:/etc/apache2/sites-available$ sudo systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
enabled)
Active: failed (Result: exit-code) since Tue 2020-03-10 11:42:11 PDT; 3min 54s
ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 13417 ExecStart=/usr/sbin/apachectl start (code=exited,
status=1/FAILURE)

Mar 10 11:42:11 ubuntu systemd[1]: Starting The Apache HTTP Server...


Mar 10 11:42:11 ubuntu apachectl[13417]: AH00526: Syntax error on line 10 of
/etc/apache2/sites-enabled/jooml
Mar 10 11:42:11 ubuntu apachectl[13417]: Invalid command
'ServerAdmin\xc2\xa0tito@joomla.com', perhaps misspe
Mar 10 11:42:11 ubuntu apachectl[13417]: Action 'start' failed.
Mar 10 11:42:11 ubuntu apachectl[13417]: The Apache error log may have more
information.
Mar 10 11:42:11 ubuntu systemd[1]: apache2.service: Control process exited,
code=exited, status=1/FAILURE
Mar 10 11:42:11 ubuntu systemd[1]: apache2.service: Failed with result 'exit-code'.
Mar 10 11:42:11 ubuntu systemd[1]: Failed to start The Apache HTTP Server.
tito@ubuntu:/etc/apache2/sites-available$ sudo systemctl restart apache2.service
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
tito@ubuntu:/etc/apache2/sites-available$ sudo nano /etc/host
tito@ubuntu:/etc/apache2/sites-available$ sudo nano /etc/hosts
tito@ubuntu:/etc/apache2/sites-available$ sudo nano /etc/hosts
tito@ubuntu:/etc/apache2/sites-available$

Das könnte Ihnen auch gefallen