A swap file can be created while installing Linux operating system, if you forgot to do so you can read this tutorial and create one after installation. Even if you need additional swap memory this tutorial will be useful. I’ve only explained the command line way of creating a swap file which most administrators will use, its upto you to explore the GUI technique. For executing the commands in this tutorial you need to have root access or atleast sudo permissions for these commands and permissions to edit the fstab file.Continue Reading…
How to Change SELinux modes
The SELinux (Security Enhanced Linux) is a feature of Linux operating systems which bullet poofs your system against security holes even if you accidentally chmod a file or directory to 777. It uses file contexts to find which files belongs to what type. SELinux operates in many different modes and this article I’ll show you how to switch between these modes temporarily or permanently. I’ll also show you how to disable selinux completely, but be warned do not do this unless you know what you’re doing.Continue Reading…
How to change the default runlevel in Linux
Linux has several runlevels which are different modes of operations of the Operating System. Each of the runlevel may be selected according to the user’s requirements. For example while installing device drivers it is recommended to be in single user mode. In fact runlevels are required for both shutdown and restart operations. After the installation of Linux Operating System using default settings the system directly starts in GUI mode. But many people prefer starting the command line terminal mode. Even though you can Ctrl+Alt+F1 at the GUI login screen and enter into terminal 1 its cooler and easier to directly startup with your desired runlevel. Change the default runlevel in linux by following the instructions below.Continue Reading…