Anda di halaman 1dari 4

PROBLEMA SOLUCIÓN

Permitir que php escriba archivos/carpetas chmod 0755 -R /home/evolve-hc/public_html/theme/archivos

Eliminar sgid chmod g-s -R /home/evolve-hc/public_html/theme/archivos

Permitir que grupo edite carpetas/archivos chmod g+rw -R /home/evolve-hc/public_html/theme/archivos

Cambiar grupo de una carpeta chgrp -R www-data /home/evolve-hc/public_html/

Añadir usuario a grupo sudo usermod -a -G www-data evolve-hc

Cambiar propietario chown evolve-hc:evolve-hc -R /home/evolve-hc/public_html

No abre url seo Hacer lo siguiente:

NOTA: El archivo a modificar es

sudo gedit /etc/apache2/apache2.conf

Open your terminal window ctrl + alt + t

SHELL

cat /etc/apache2/mods-available/rewrite.load

cat /etc/apache2/mods-available/rewrite.load

The server should respond with

SHELL

LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so

We can now enable the module

SHELL

sudo a2enmod rewrite

sudo a2enmod rewrite

Then we need to update your site configuration. This is assuming you have
installed WordPress in the default website

SHELL

sudo nano /etc/apache2/sites-enabled/000-default.conf

1
sudo nano /etc/apache2/sites-enabled/000-default.conf

Inside the the file directly under <VirtualHost *:80> on line 1 paste the
following

SHELL

<Directory /var/www/html>

Options Indexes FollowSymLinks MultiViews

AllowOverride All

Order allow,deny

allow from all

</Directory>

save and exit the file (ctrl + x )

Samba wont install First run these commands in terminal (press Ctrl + Alt + T ):

 sudo apt-get --fix-broken install


 sudo apt-get clean
 sudo apt-get autoclean
 sudo apt-get autoremove
 sudo dpkg --configure -a
 sudo apt-get update then following
1.Changed software and updates to main server

2.unmarked all "other software" sources

3.reload it and run for software update.


4.Install samba : sudo apt-get install samba

net usershare» ha restituito l'errore 255: net Run nautilus as root, then share folder.
usershare: cannot open usershare directory
/var/lib/samba/usershares. Error Permesso
negato

You do not have permission to create a


usershare. Ask your administrator to grant you
permissions to create a share.

Create samba shared

Do you configure correctly :

1. adduser john

2. addgroup users

3. sudo chown -R john:users folder

4. sudo chmod -R 0770 folder/

5. sudo nano /etc/samba/smb.conf


And add following lines:

CHANGE SAMBA WORKGROUP AS WISHED.

[folder]

path = /home/samba/folder

valid users = john

guest ok = no

writable = yes

browseable = yes

security = user

Start

sudo service smbd start

Stop

sudo service smbd stop

Restart

sudo service smbd restart

1. sudo usermod -a -G users john

2. sudo smbpasswd -a john

3. enter passwd:

Anda mungkin juga menyukai