Questions tagged [linux]

Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

GNU/Linux is a UNIX-like Open Source operating system. Linus Torvalds originally wrote the Linux kernel with contributions from others on the MINIX usenet board. Since then, Linux had thousands of developers, both paid by companies and volunteers. The main system tools and libraries for GNU/Linux are sourced from the GNU Project, hence the nomenclature GNU/Linux (GNU Toolchain over Linux Kernel). The Linux kernel is licensed under the GPL v2 license.

There are many different Linux Distributions (sometimes shortened to distro), which consist of software applications packaged and provided with the Linux kernel, being Slackware the oldest active distro and Debian, Red Hat and CentOS among the most used on Internet servers¹.

The Linux kernel is commonly run on servers but is highly portable and is used in a variety of applications, from wireless routers and cell phones to clusters and super computers with thousands of nodes and processors.

External Resources:

38271 questions
15
votes
3 answers

How can I mount a partition on every reboot?

I have a partition mounted with mount -t ext3 /dev/sda3 /foo. Each time I reboot, I need to remount. How can I keep this mounted after every reboot?
coffee
  • 239
  • 2
  • 4
  • 6
15
votes
9 answers

Resources for beginning Linux administrators

I've just acquired a dedicated linux server which I plan to use to deploy projects and host a few sites from. Unlike virtual or shared hosting services I've used in the past in this case I'm actually in charge of the entire machine and its…
Esteban Brenes
  • 275
  • 4
  • 8
15
votes
5 answers

How do I list a file's data blocks on Linux?

As I understand it, each file on a Unix-like operating system has an inode number (which can be viewed with "ls -i"), and each inode is a list of disk blocks that contain the actual data of a file. Is there a Linux command which takes a filename as…
mike
  • 3,963
  • 11
  • 30
  • 27
15
votes
2 answers

Determining at what time a currently open TCP connection was created?

How can I find out at what time a currently open TCP connection was established on Linux?
opsguy
  • 801
  • 1
  • 5
  • 12
15
votes
3 answers

How can I tune the initial TCP retransmit timeout?

The initial TCP RTO value of 3s is too long for most LAN-based applications. How can I tune it lower? Is there a sysctl?
claymation
  • 252
  • 1
  • 2
  • 6
15
votes
3 answers

libvirt: how can I make a domain start when the host starts?

I would like some of my domains to start automatically when my host starts (I'm using libvirt+KVM on ubuntu). I guess I could put some "virsh start..." statements in rc.local, but is there a way to configure this within libvirt/virsh?
kdt
  • 1,400
  • 3
  • 22
  • 34
15
votes
4 answers

Once I set iptables to reroute a port, how do I undo it?

I've been reading on many sites how to use iptables to reroute one port to another in Linux. For instance, rerouting port 80 to 8080 would look like this... iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080 My concern is, what…
Syndog
  • 251
  • 1
  • 2
  • 6
15
votes
5 answers

When exim4 sends HELO/EHLO, how do I configure which host name it sends?

Mails from my system are being rejected when the receiving server does HELO checking. I believe my system is sending the wrong domain name. I'm running exim4. Googling for anything about exim4 and domains yields a nightmarish list of irrelevant…
user10066
15
votes
3 answers

What is the range of a PID on Linux and Solaris?

What is the maximum and minimum value for a PID (Process ID) on Linux and Solaris?
Graeme
  • 251
  • 1
  • 2
  • 5
15
votes
5 answers

mirrored filesystem across a few servers

I'm looking for a solution to mirror or replicate one directory (or one filesystem) across a few Linux servers. Ideal solution would be one, which permits all servers read-write access. I also want it to me resilient, if one of the servers goes…
vartec
  • 6,217
  • 2
  • 33
  • 49
15
votes
4 answers

kjournald reasons for high usage

I'm trying to figure out why is kjournald going crazy on my machine. It's an 8-core box with loads of memory. It's got ~50% cpu load. The iotop doesn't seem to point at any specific processes - some bursts of writes here and there (mostly cron…
viraptor
  • 1,296
  • 6
  • 21
  • 41
15
votes
4 answers

Linux Central Authentication/Authorization Methods

I have a small but growing network of Linux servers. Ideally I'd like a central place to control User Access, change passwords, etc... I've read a lot about LDAP servers, but I'm still confused about choosing the best authentication method. Is…
Chris McBride
  • 151
  • 1
  • 1
  • 3
15
votes
5 answers

how to get a list of the connected wifi clients in OpenWrt 10.03?

how to get a list of the connected wifi clients in OpenWrt 10.03?
LanceBaynes
  • 3,087
  • 9
  • 29
  • 31
15
votes
12 answers

In Ubuntu I make changes to php.ini but nothing happens

Hi, Apache with php works well, but none of the changes I make in php.ini have effect, I've even delete all the contents of the file, then restart Apache, and run phpinfo() and surprisingly everything continues working well. The file I'm editing is…
MrAn3
15
votes
2 answers

configure: error: Cannot find php-config. Please use --with-php-config=PATH

I'm trying to install a program called phraseanet. I ran the ./configure command and run into this error: configure: error: Cannot find php-config. Please use --with-php-config=PATH I am using Ubuntu 10.04, Apache 2, PHP5 and Mysql 5 Does anyone…
John
  • 7,343
  • 23
  • 63
  • 87