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.
Just a small question to all my friends. I know how to increase or decrease a swap partition, but i have scenario in my mind, how can I increase a swap partition if i don't have any free space in any of my partition. I am not interested to add any extra disk. Is this scenario is possible?
You can create a swap file, but the better question is "Why???" If your server is configured and sized correctly, chances are you will NEVER use swap, and there's no need to create more. What is telling you that you need more swap space? And if ALL your disks are 100% full, you have other issues as well.
Also, since you've been here for five years now, and have been an administrator for that long, you should know that asking questions requires DETAILS...things like what kind of hardware, version/distro of Linux, what you've done/tried so far, what this server does, and what error(s) you're seeing that would lead you to think performing this action is a good thing.
Okay, My mistake. It just a question that comes in my mind, I haven't yet faced any such challenges.
It could be any hardware or virtual server. Take distro as RHEL-6 or Centos-6
I just had a swap decrease from ubuntu server, because it wrongly configured while building.
And again, why would it matter? Swap is VERY rarely used these days, ever. I've got plenty of servers with only a 2GB swap, and that is WAY more than is needed.
Same time i have question what I will do if i face such scenario, where I don't have any space left in partition and can't add any extra disk.
You will NEVER be in that scenario, since you can ALWAYS add more disks to a server. And again, if you have been an administrator for five years, you should know how to properly size and configure a server, so that you don't run out of resources and NEED swap space, much less run out of disk space.