where Data of an application is stored in Linux ?
Dears,
lets say that I have a server with a local storage and NFS storage. I want to install an application, lets say MySQL, how to tell Linux that save data of Databases in NFS ?? how can I costume where application should stored its data during installing packages of the application ?? Thanks |
You don't do that during installation. After installing MySQL you edit its configuration files (for MySQL see /etc/mysql) to your likings, for example the storage path of databases is configured by the option datadir in the section [mysqld] in the file /etc/mysql/my.cnf (at least on Debian).
|
Thank you TobiSGD, but I have mentioned MySQL as an example, I need to control where data of any application should to be stored.
how to do that, is there a standard way in Linux for all application such Windows, or that depend on configurations of the application ?? |
Quote:
|
For the most part, each application logs its data wherever you tell it to.
|
All times are GMT -5. The time now is 04:17 PM. |