ubuntu - What exactly is installed with apt-get install? -


i trying install owncloud on vps , had issues migration version 8 version 9. decided apt-get purge owncloud && apt-get install owncloud fresh installation.

the bad news configuration still there, somewhere. have absolutely no idea installed apt-get install and, more important, where.

if have information can figure out config , how reconfigure apache point new owncloud installation.

edit

my current issue have absolutely no idea wwwroot installed. have nothing inside /var/www neither in /usr/share/. knowing installed using apt-get might useful...

owncloud big package lot of different things.

you should have:

  • an apache configuration file in /etc/apache2/sites-available (probably named owncloud.conf)
  • a table in database. how configured owncloud first time. config of owncloud in table.
  • the files of owncloud itself. if removed gone.

for database:

if have mysql,

sudo mysql -u root -p 

to connecto database,

show databases; 

check if have database named similar owncloud, , drop it:

drop database databasename; 

in way configuration should gone.

if have postgresql, procedure similar, different commands:

sudo -u postgres psql \l drop database databasename; 

Comments