Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am new to Linux, and have setup LAMP on Mandrake 8.1 on a 8 GB harddrive, that was already partitioned by someone (unknown).
I also have Jakarta Tomcat installed, and normally, I would delete the log files from both Apache2 and Tomcat to get more available space on the root partition. Lately, the disk space becomes less available I haven't been able to identify why - but its not related to the log files from Apache2 or Tomcat since they're all deleted.
Searching google and related forums here didn't help me. So, using suggestions from related posts here to provide yall with information:
FYI, I find this site extremely helpful by just browsing.
Using the du -hs * suggestion above, it shows that my /usr folder is 1.7G. Using the same command in this folder, I yield these results:
What I need to know is what am I allowed to delete here without affecting any other part of the Linux OS? Should I delete lib, share, and parts of local? I know that I place most of my 3rd party applications such as mysql, php, tomcat, and apache under /usr/local.
Or to further complicate the issue, how can I find out what keeps "growing" in size under /usr? Other than to monitor the /usr directory to see which directory changes in size over a period of time. Thanks,
You have quite a large source (src) dir which could probably be emptied. You could probably scap your man pages as well and just look them up online, man also keeps a preformatted copy which could always be deleted regardless.
Monitoring the size is about the only way to see it change.
If /var/cache is in the same filesystem, It might contain cached rpm files. Also, search your system for core files. They can be deleted. The lilo setup section of drakeconf (mcc) has an option to empty /tmp when rebooting.