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

learn more… | top users | synonyms (1)

11
votes
5answers
14k views

Shell command to see the HTTP headers

Is there a shell command to see the headers of a HTTP request? For example, I would like to know what the headers retrieved from www.example.com/test.php are How can I do this?
2
votes
3answers
206 views

Decent guide for user/group permissions in Linux

I am sure this has been asked before a number of times but I could not get a decent guide to file/folder permissions for Linux. What I want is to setup an nginx/apache server with PHP and an FTP ...
0
votes
2answers
481 views

Need help with local network printing while using VPN on Ubuntu 10.10 desktop

I can print to my HP printer via the LAN when I'm not connected to the VPN. When connected to the VPN, printing fails. OpenVPN 2.1.0 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] ...
1
vote
1answer
1k views

Mono undefined reference to `locale_charset'

I am trying to compile mono from source and am getting this error. ../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function monoeg_g_get_charset': /opt/mono-2.10.1/eglib/src/gunicode.c:312: ...
3
votes
3answers
5k views

Shell = Check if variable begins with #

i would be thankfull if you could help me how to figure out, how to determine if a variable's content starts with the hash sign: #!bin/sh myvar="#comment asfasfasdf" if [ myvar = #* ] this ...
1
vote
1answer
112 views

subversion: enforce TLS

I am running subversion on a Debian Squeeze system with Apache2 and mod_dav for viewing the contents with a webbrowser. I want to enforce the usage of TLS, so that the login data and the SVN contents ...
2
votes
1answer
486 views

tmpreaper, --protect and a non-root user

I'm a little confused. I have a download directory that I want to remove all files older then 30 days with tmpreaper. Just one problem, the directory in question is a separate partition with a ...
0
votes
1answer
488 views

which permission should be for client svn folder?(Ubuntu)

which permission should be for client svn folder?(Ubuntu) the case: I should download files from svn server to my computer and able to do all svn action as programmer that doing change in the ...
1
vote
3answers
4k views

yum package conflict installing mysqlclient package

I'm trying to build and install Zabbix 1.8 on my CentOS 5.2 server. This server has MySQL 5.0 installed from the standard CentoOS 5.2 repository. ./configure ... is failing because of: configure: ...
2
votes
1answer
149 views

which distribution does support xen4?

i've just realized that ubuntu 10 LTS doesn't support xen anymore... So which distributions have native support for xen 4? With native support i mean, that i can simply install and update them with ...
2
votes
2answers
586 views

How can I avoid press “Enter” during Java Sun (Oracle) 1.6 installation on Linux (CentOS)

It is quite easy to install java sun jdk 1.6.x using xxx.rpm.bin installer from java.com, but it forces you to press "Enter" for the license agreement during installation. This is a problem for me as ...
0
votes
4answers
2k views

How to disable LOGS?

My disk space usage is increasing very fast because of the logs. Everyday I get ~1.5 GB log file. How can I disable that?
2
votes
1answer
289 views

Udev is creating too many devices

I have built a kernel and root file system for a vortexS86 processor using OpenEmbedded. When it comes up I have hundreds of device entries in the /dev directory. This include such items as ...
1
vote
2answers
3k views

GRE Tunnel over IPsec with Loopback

I'm having a really hard time trying to estabilish a VPN connection using a GRE over IPsec tunnel. The problem is that it involves some sort of "loopback" connection which I don't understand -- let ...
1
vote
2answers
127 views

Linux software to maintain old/backup versions of directory tree

I am replacing an old Linux file server serving NFS and CIFS. For the new server (still serving CIFS and NFS), I would like to have software that automatically and efficiently maintains old revisions ...
1
vote
2answers
899 views

Share an internet connection with Debian

Here's my current /etc/network/interfaces file on the "server": auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp name Wired Network auto ath0 iface ath0 inet static name ...
4
votes
3answers
1k views

How to de-duplicate data for OpenVZ/LXC on Linux?

I want to setup multiple similar containers and I want to have de-duplication. The only solution I'm thinking of is to use OpenSolaris ZFS and share zfs volume with NFSv4 ro iSCSI target and create ...
1
vote
2answers
77 views

Is is possible (and how) to have a “virtual” soft link whose value depends on the shell environment?

The question could probably be reworded. What I would like to have is certain path, say /workingsrc to refer to a different real path per shell (bash) instance simultaneously. So in an instance of ...
1
vote
1answer
385 views

Android webbrowser returns code 500 for webpage on Nginx webserver

I've come to a very weird behavior of a web browser on android mobile phone (I've tried HTC Wildfire and HTC Desire phones). I have a web server with Nginx v0.8.54. When i try to open a web page on ...
6
votes
4answers
2k views

Apache access.log interpretation

In the log file of apache (access.log) I find log entries like the following: 10.20.30.40 - - [18/Mar/2011:02:12:44 +0200] "GET /index.php HTTP/1.1" 404 505 "-" "Opera/9.80 (Windows NT 6.1; U; en) ...
1
vote
2answers
512 views

Linux Containers: share box ip address?

I would like to run services like mysqld, apache and vsftpd in separated environment: w/o access to other processes, w/o access to devices, w/o access to binaries and don't execute uploaded files. As ...
2
votes
1answer
1k views

Crontab : is there any log with begin and end time?

I have a lot of crontask on my linux servers for our applications. But I don't find any way to know when a task end, and how long it run. Must I add a soft like time command to log this? Is there any ...
0
votes
3answers
210 views

Multiple web servers and Database replication

Working on finding a solution to a particular problem we have at the office,we have a web host and at times our web server (Apache) crashes; which causes our web app to be unavailable to users. ...
1
vote
3answers
2k views

Who is user 6226?

In a Drupal installation on CentOS, there are many folders with the following permission: drwxr-xr-x 8 6226 6226 4096 Jan 7 21:46 cck The user/group 6226 was not created by me. How come ...
0
votes
1answer
330 views

Is it possible reinstall packages in Ubuntu without an internet connection?

While experiencing some massive problems with MYSQL, I completely removed a package called rsyslog, and I can no longer get on the internet to use the package manager to correct my mistake. I also ...
2
votes
1answer
834 views

Did anyone know about update in Bastille for unix/linux?

I'm just wonder that bastille project is still active or not? which alternative tools are proper for both unix and linux? Thanky you very much
3
votes
1answer
603 views

Linux = Bridge with multiple Port behaves as a switch?

I know how the internal linux bridge works with two ports/interfaces. But what happens when I have multiple virtual machines on a physical machine hosted, that each are plugged (via tun/tap) into ...
4
votes
1answer
2k views

IP Forwarding = when and why is this required?

I have searched a lot with google. It is only documented how to enable IP Forwarding in the linux kernel but not HOW and WHY I have to enable it. I would be thankful for advice. When and why do I ...
3
votes
1answer
422 views

Bonding bonded interfaces in linux

Let's say I've got 2 physical NICs configured as a bonded interface and another 2 NICs as another bonded interface. Can these 2 bonded interfaces be bonded into a single bonded interface?
7
votes
3answers
2k views

Samba4 advice for production use

I have an old Samba 3 + LDAP server installed that needs to be rebuilt. I'm weighting my options, and Windows Server seems too expensive at the moment, and Samba 4 appeared to be a nice option, ...
0
votes
1answer
121 views

Setup pptpd and tunnel through it

I want to setup pptpd on my linux server and tunnel through it like if I were tunneling through ssh. Is it possible to setup the vpn connection to be a local proxy that way I can choose what programs ...
0
votes
3answers
951 views

Debian 6: how to check if I have some limit on max number of files inside a dir?

I know of fat32 being of 65.000 files per dir, what about linux/debian? ext4?
1
vote
1answer
162 views

Erratic write patterns with linux md RAID1

I'm experiencing strange write performance patterns on a RAID1 array of SATA disks. My kernel is vanilla 2.6.37 and my server has 32G RAM. I'm copying a 32G file from an XFS filesystem on a SAS drive ...
0
votes
2answers
173 views

Advantages/disadvantages of shorter vs. longer “Long Term Support” (LTS) periods for server OS

Wondering what the various advantages/disadvantages of having a shorter Long Term Support (LTS) support period were over longer ones. I notice Ubuntu provides 5 years of support, Red Hat Enterprise ...
8
votes
4answers
1k views

Putting a whole linux server under source control (git)

I am thinking about putting my whole linux server under version control using git. The reason behind it being that that might be the easiest way to detect malicious modifications/rootkits. All I would ...
2
votes
7answers
10k views

What is a typical size for a minimal Linux server install?

Both Debian and Ubuntu end up with 500 Mb to 750 Mb in their "minimal" installations, even after starting with the "netinstall" iso or "business card" iso and no optional packages installed later on ...
1
vote
1answer
398 views

“Unsupported marker type” in httpd error log

I found some error in httpd error log like seen below: Unsupported marker type 0x4b Unsupported marker type 0x50 Unsupported marker type 0x50 Unsupported marker type 0x50 Unsupported marker type ...
1
vote
1answer
857 views

Create a general character devices pair

I'd like to create a character device which has the same properties as a standard pseudo-terminal, but that can be named in a specific name. Basically I'd like to have /dev/pts/my-unique-name instead ...
1
vote
2answers
278 views

How can I set up my Linux (CentOS) box to respond to *.centos?

I have a dev box that runs Apache for lots of different sites. We currently access these through http://centos/project-name. I'd like to switch to http://project-name.centos. I've set up virtual ...
1
vote
1answer
1k views

Apache for Ångström Linux

I need to install Apache webserver for Ångström (Angstrom) Linux. Is there a separate distro I need? Where would I get that? Can I install normal apache distro into Ångström Linux? Any help in this ...
0
votes
1answer
967 views

Linux usb device forwarding

I have a Linux (Ubuntu Server) box with a device (Panasonic PBX) connected to it via USB. On my host I have Linux (Ubuntu, desktop). Can I transparently forward that USB device from Server to Desktop ...
3
votes
4answers
101 views

Add webserver to existing network

I am the web developer for my company, which pretty much makes me the IT guy too. (Wasn't my decision). Anyway we have an existing network and at the heart of the network is our server running Windows ...
1
vote
2answers
611 views

installing mysql-server on ubuntu 10.04

I've had this same issue EVERY time I try: Selecting previously deselected package mysql-server-core-5.1. (Reading database ... 242369 files and directories currently installed.) Unpacking ...
1
vote
2answers
3k views

Nginx load balance with dedicated php-fpm server

I got server setup with nginx+php-fpm and mysql. I have another server with only installed php-fpm, so wanted to use as load balance. But when I am using this dedicated server with php-fpm as load ...
0
votes
1answer
901 views

What does pdflush attempt to do when a CentOS server runs out of memory and does not have a swap partition?

I noticed one of our CentOS machines was very close to 100% memory usage last night. The load average on the machine shot up to ~16 and I noticed that there were several pdflush processes that were ...
0
votes
3answers
1k views

Mysql binary logs not rotating, partition out of space, replication-related admin queries hang

I've got a box where the root partition is full. The most immediate explanation is the mysql binary logs aren't rotating. Despite expire_log_days being set to 10, there are logs older than 10 days. ...
3
votes
1answer
557 views

Which PHP script is overloading my VPS?

Is there a way to get the PHP script filename that is currently hammering my VPS? For example, when I view "top", I see: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7622 itil ...
0
votes
1answer
113 views

Server redirect malware [duplicate]

I have a linux packaged server (is that right?) that I run for a coworker. It has recently been hacked and I've been trying for the last few days to get rid of the malware. It now redirects most of my ...
0
votes
2answers
108 views

Linux webserver tutorials (WordPress) [closed]

I will be setting up a linux webserver to host WordPress on. The problem is that although I know how to do it, I don't know how to properly do it. So I'm now looking for semi-advanced tutorials that ...
4
votes
2answers
2k views

IGMP Membership under Linux (igmp_max_memberships)

I'm experiencing issues related to OSPF (which relies on Multicast) not allowing us to work with enough adjacencies and was told to look at: /proc/sys/net/ipv4/igmp_max_memberships Now, while it's ...