PDA

View Full Version : Post install, cleaning up


biobrew
5th July 2008, 22:38
I noticed after installing ispconfig and creating a new site that there are a ton of files and folders in the site directory. I'm wondering which one of those I can remove, e.g.:


server1:/var/www/www.my_domain.com/web# ls -la
total 2492
drwxrwxr-x 16 web1_mark web1 4096 2008-07-05 13:35 .
drwxr-xr-x 8 web1_mark web1 4096 2008-07-03 02:27 ..
drwxr-xr-x 2 501 80 4096 2008-04-05 06:35 bin
-rw-r--r-- 1 501 80 11464 2008-04-05 06:35 CHANGELOG
drwxr-xr-x 2 501 80 4096 2008-06-25 06:02 config
drwxrwxr-x 2 web1_mark web1 4096 2008-06-25 02:48 error
-rw-r--r-- 1 root root 67 2008-06-27 16:06 index.php
drwxr-xr-x 3 501 80 4096 2008-04-05 06:35 installer
-rw-r--r-- 1 501 80 15129 2005-09-28 15:28 LICENSE
drwxr-xr-x 2 www-data www-data 4096 2008-06-27 16:04 logs
drwxr-xr-x 7 501 80 4096 2008-04-05 06:35 program
-rw-r--r-- 1 501 80 26 2008-04-05 05:49 robots.txt
drwxr-xr-x 3 501 80 4096 2008-04-05 06:35 skins
drwxr-xr-x 2 501 80 4096 2008-04-07 09:46 SQL
drwxr-xr-x 2 web1_mark web1 4096 2008-06-26 04:00 stats
drwxr-xr-x 2 www-data www-data 4096 2008-04-05 06:35 temp
drwxr-xr-x 2 root root 4096 2008-07-03 01:53 tests


Can I remove the tests folder? Can I remove the temp folder? The stats folder? The SQL folder? The skins folder? Can I remove other files like LICENSE? I already removed other files like UPGRADE and INSTALL and stuff like that. Just wondering which files ispconfig needs and which files I can remove.

Regards

till
6th July 2008, 11:21
Most of these directoroes have not ben created by ISPConfig. I guess you had another controlpanel installed before that uses the same folder or you used thei folder before for something else.

You can delete all files and folders that are owned by the user 501 and group 80.

biobrew
6th July 2008, 20:16
Haha Yeah I'm just retarded and I realized a little earlier that those folders belonged to roundcube while i was *trying* to install it in the wrong directory. I've since got it a little more correct.

Thanks man