Category Archives: Linux

Añadir tu usuario de linux al grupo www-data

Cuando instalo un LAMP en algún Linux suelo añadir mi usuario (user) al grupo www-data, cambio el directorio www al grupo www-data y le doy permisos de escritura a los usuarios del grupo para garantizarme que no vaya a tener problemas de permisos y cosas raras:

 DOS | 
 
 copy code |
?

  1. sudo usermod -a -G www-data user
  2. sudo chown www-data. /var/www/ -R
  3. sudo chmod g+rw /var/www -R
 Apache configuration | 
 
 copy code |
?

Si  no funciona, solo reinicia.

salu2

via >> 

Reverting to a Freshly Installed State

Overview

Sublime Text can be reverted to a freshly installed state by removing your data folder. Depending on your operating system, this folder is located in:

OS X: ~/Library/Application Support/Sublime Text 3
Windows: %APPDATA%\Sublime Text 3
Linux: ~/.config/sublime-text-3
To revert to a freshly installed state, you can:

Exit Sublime Text
Delete (or move) the data folder, as listed above
Start Sublime Text
When restarted, a fresh data folder will be created, just as it was the first time you ran Sublime Text. Keep in mind that this will also remove all of your settings and packages.

OS X Lion

In Lion, the ~/Library folder is hidden by default. To navigate there, select the Go/Go to Folder menu item in Finder, and type in ~/Library.

Windows

In Windows, cache files are stored in a separate location, %LOCALAPPDATA%\Sublime Text 3, to improve performance with roaming profiles.