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

learn more… | top users | synonyms (3)

0
votes
2answers
2k views

How can I diagnose an Ubuntu system freeze after reboot

One of our servers froze yesterday, apparently refusing to serve any HTTP requests. The tech guy on site could not connect remotely to the machine, so he rebooted the (virtual) machine from the VMware ...
1
vote
3answers
890 views

Does Snow Leopard Server support .htaccess?

I'm working on a site which requires mod_rewrite rules in an .htaccess file. But when uploading the file to this new OSX 10.6 Server install (with Apache 2.2.13) it just disappears. I'm pretty sure ...
0
votes
0answers
753 views

winbind failing after a semi-random amount of time

I have winbind set up to authenticate to our AD for samba shares. This is the third such server, and the only one having any issues. It seems after a random amount of time samba shares will just stop ...
0
votes
1answer
364 views

Getting the path of items on your network

I have a ReadyNAS on my network that I can't SSH or rsync into because it doesn't allow connections on port 22. I can, however, see the machine in Ubuntu's filesystem GUI under "Network". If I open up ...
0
votes
1answer
160 views

Hot link prevention not working

I am trying to prevent hot linking of images on our site. I have tried editing /etc/httpd/conf/httpd.conf by adding the following to the end of the file: <VirtualHost *:80> ServerName ...
6
votes
5answers
9k views

Using Active Directory as an LDAP server for Linux clients

I'm trying to figure out how to use Windows Server 2008 R2 as an LDAP server for Linux clients. Ideally, users should be able to login to their Linux workstations via pam_ldap authenticating against ...
1
vote
2answers
632 views

PHP make install seems to end abruptly and does not update libphp5.so

I'm trying to compile PHP 5.3.3 and after a lot of ups and downs, I finally did 'make' it followed by 'make install' which just shows this: root@server [/tmp/php-5.3.3]# make install Installing PHP ...
0
votes
3answers
115 views

Hot linking images

Not sure if this is the right stackexchange site to post this question, but I wanted to know if it is possible to get a list of all websites which are hot linking to images on my website, and how to ...
4
votes
2answers
658 views

Linux tool for IPv6 unsolicited neighbor advertisements

Unsolicited neighbor advertisements is necessary to facilitate rapid service address takeover in a HA cluster. For IPv4 (ARP) you can use "arping -U", but so far I've had no luck finding any tool that ...
0
votes
3answers
1k views

Explicitly installing PHP 5.3.3 on RHEL5

My dedicated hosting provider has installed php-5.1.6-27.el5.x86_64 on my server whereas I would like PHP 5.3.3 installed (64 bit) I can't seem to upgrade it at all root@server [~]# php -v PHP 5.1.6 ...
1
vote
4answers
230 views

Install Ubuntu on USB drive then put back HD inside computer?

I would like to install Ubuntu on a hard drive that is accessed via USB. Then, when all is OK, replace the computer hard disk with that one that was USB-connected. (Computer used for USB ...
0
votes
1answer
206 views

PHP Security: Need help understanding SUID

I am reading a book about PHP Security and there's the below I do not really understand, specific part in bold. So say PHP want to move a file that belongs to user A, PHP has to run as user A? Is that ...
4
votes
4answers
216 views

Is it possible to configure cron (on linux) to read a user crontab from a file checked in to an application?

I'd like a set of hourly, daily, weekly files like in /etc/ but for each application I run. I'd ideally like cron to look in /srv/www/*/current/config/cron for them. So that I can add a new Rails ...
0
votes
5answers
6k views

Access VNC on Ubuntu through web browser?

I want to install desktop GUI on my Ubuntu server (for development usage) and then be able to see my remote screen through the web browser with VNC. Is this possible? If so, could you provide me some ...
0
votes
1answer
448 views

Linux TCP stack and network cards performance: packets per minute before drop?

how much TCP packets should come at 100/1000mbit network card (not an embedded Realtek's home solution) before the Linux kernel will become unable to process the NIC's buffer resulting in packet drop? ...
3
votes
4answers
857 views

Does wake-on LAN/WOL depend on hardware or the operating system?

Does wake-on LAN/WOL depend on hardware or the operating system? Or both? How does one send a command to wake up a machine if it is supported (say a Fedora server)?
1
vote
1answer
173 views

installing ghc in home directory

I am following the instructions http://sporkcode.wordpress.com/2009/07/11/installing-the-haskell-platform-in-ubuntu/ for installing GHC in Ubuntu. And I want install it in my home directory. I have ...
1
vote
1answer
749 views

SQUID works but not transparent on VM?

It is a virtual machine with slackware eth0 bridge receive internet from main switch (connected to the internet link) on network 10.0.0.0/24 where the gateway is 10.0.0.254 and the ip it receives is ...
2
votes
1answer
544 views

Recommended technology for layered disk cache in linux

I originally asked this on superuser but it occurs to me it's more more of a server topic. I've just bought a 6-core Phenom with 16G of RAM. I use it primarily for compiling and video encoding (and ...
0
votes
2answers
98 views

Change of mysql db password brings down website

Each time I change the MySQL db password, and update the dbconfig file, the website is down. I also flush privileges Any idea why?
1
vote
1answer
50 views

How can I configure a reusable package download script for new distro setups?

For my future debian setups I'd like to use a common file containing lists of packages and commands to run after initial VPS creation ( I use linode ). Could anyone advise what I could setup in order ...
1
vote
3answers
203 views

What is the purpose of executable file access rights in Linux?

I never understood this, because if you have access to read a file, doesn't that mean you would be able to copy it somewhere else, thus allowing you to execute it anyway? What am I missing?
0
votes
2answers
42 views

question on upgrading Fedora FC5 to something newer

I have a pair of heavily-used machines which are running Fedora Core 5 or FC6, i.e.: $ uname -r -v 2.6.20-1.2320.fc5 #1 SMP Tue Jun 12 18:50:49 EDT 2007 (I think one of them might have started out ...
0
votes
1answer
1k views

How to install gpxe/etherboot to hard disk

I have an old PC that I'd like to use as an LTSP client, but its BIOS cannot boot from the network... I tried booting from a CDROM containing a gxpe (Etherboot) image downloaded from ROM-o-matic and ...
0
votes
1answer
176 views

Which file systems do support file locking

I want to use PPSS link text According to the manual, PPSS should be used on a file system that supports file locking. I assume that EXT3, EXT4, JFS, XFS, NTFS do support file locking, but I'm not ...
0
votes
1answer
2k views

Installing PHP with MySQL support?

I've got PHp installed from my hosting provider and it doesnt seem to have mysql support built in. I was redirected to an installation script: /usr/bin/mysql_secure_installation Which installed ...
6
votes
3answers
5k views

How can I do traffic shaping in Linux by IP?

We have a transparent proxy setup. I tried looking for traffic shaping in Linux, and all I could find online was to limit traffic by interface (eth0/eth1...). I need to limit the bandwidth (never ...
16
votes
6answers
19k views

shutdown: What is difference between “Power Off” and “Halt”?

With your typical Linux shutdown command, what is the difference between halting the system and powering off the system?
0
votes
1answer
290 views

How to generate new CSRs for TLS use in sendmail?

SendMail 8.13.8 | CentOS 5.x Hi Guys, I'm using ca-signed TLS certificates on my sendmail server and they are up for renewal soon. Our new CA doesn't like our old CSR so I need to generate a new ...
5
votes
2answers
7k views

IPTables and DHCP questions?

On my other thread I was talking about some interesting things about the iptables policy and states, now I would like to understand more about how the DHCP works and how iptables understands it. ETH0 ...
0
votes
3answers
254 views

Linux kernel multiple file system drivers and performance

I am not sure how Linux kernel handles multiple file system drivers and if an inode lookup for each given mounting point in file system interferes with other mounting points, or is there something ...
1
vote
1answer
714 views

How to stop kernel critical messages from printing to terminal

I have a system that is un-usable because I keep getting logs every second from the kernel. The system can actually start up and in the little spaces between the messages I can actually log in. But ...
0
votes
2answers
271 views

Two DNS servers for one domain

I had one server which acted as a dns and http server and one domain. Now I have two servers and some sites will be on a new server and the rest will still be on the old one. Is it possible to ...
0
votes
1answer
736 views

Correct user / permissions for running php script which writes to disk?

I've got a website at /var/www/html Which has a couple of files, one of which is: -rwxr-xr-x 1 root root 1609 Feb 16 2010 send_form_email.php (earlier it was 644) I can access the file ...
0
votes
1answer
331 views

Commands output to xconsole how?

What I wants to do is to use xconsole to get the output of some user commands. Basically as a regular user, I wanto concentrate my some commands outputs in xconsole so I will have a common place to ...
4
votes
3answers
7k views

Can we mount multiple disks as one directory?

Are there way to mount the different disks as one directory? Assuming I have some disks with ext4 partitions: /dev/sda1 1Tb mounted as /store1 /dev/sda2 2Tb mounted as /store2 /dev/sdb1 2Tb mounted ...
0
votes
4answers
485 views

Installing NFS module on a dedicated server

I've got a dedicated server which does not have the NFS module installed on it. How can I install it? It was not listed in /proc/filesystems root@server [~]# cat /proc/filesystems | grep 'nfs' And ...
2
votes
1answer
768 views

Per user network traffic accounting under Linux

I have several users on a computer running Linux (Ubuntu Lucid to be more specific). I need to see how much network traffic they generate on a specific interface. Iptables can match outgoing ...
1
vote
3answers
283 views

Script to be executed on ssh connect

There is a remote host, where I'd like to run a specific script every time I connect to it via ssh. Where should I put the file to be run automatically?
8
votes
5answers
10k views

PHP on Linux: How to make PHP use proxy settings to connect to internet?

my server is in a LAN and is connected to internet through a Proxy Server. my PHP application (Drupal), should be able to check for updates through PHP codes. how can i set Proxy Settings for PHP so ...
1
vote
3answers
230 views

urlrewrite htaccess on symbolic directory

I have a problem using htaccess url rewrite on a symbolic folder. Below is the line which i am using in htaccess file for url rewriting. RewriteRule ^global/css/([0-9]+)/([a-z-_]+)\.css$ ...
0
votes
3answers
237 views

Unable to get the ip address of linux PC's(Ubuntu desktop)

We are unable to get the Ip address, I have checked DHCP server we have Ip address available, we can get the Ip address I connect windows system. Please help me to resolve the issue... Thank you in ...
0
votes
1answer
230 views

how to configure asynchronous ppp connection on a lan

how can i configure asynchronous ppp connection on a lan so that ppp connection to ISP is made (the Internet) only when there is a request from a local net to and disconnect if there is no activity ...
5
votes
3answers
7k views

The difference between /etc/pam.d/login and /etc/pam.d/system-auth?

I want to configure securetty to limit root directly access. Now I am clear if I add: auth required pam_securetty.so into /etc/pam.d/system-auth, and keep only "console" in ...
0
votes
4answers
1k views

How to make default owner for all files and directories in folder

I want all new files created in one folder to have an owner called user1 How can I do that?
2
votes
1answer
1k views

How do I trouble shoot an Apache 500 Internal Server Error? (restart, status, tail… then what?)

Here's what I've done so far [username@VMname /]$ sudo /etc/init.d/httpd restart [username@VMname /]$ sudo /etc/init.d/httpd restart Stopping httpd: [ OK ...
1
vote
3answers
3k views

HOw to use rsync to delete files older than 1 week

I use rsync to do backups of files and folder\ rsync -avqz --stats --delete /media/server/ /media/Server2/ Now this deletes files while are not present on source and makes source exact copy of ...
0
votes
1answer
3k views

What does “apache2ctl:: command not found” mean if Apache IS installed and running?

Trying to run the command "apache2ctl restart" and just got this message "apache2ctl:: command not found" -- thing is, Apache IS installed, running, and I'm actively doing development on the server ...
2
votes
4answers
1k views

How do I tell if Apache is restarting?

Trying to restart Apache, and can't tell if it's restarting -- are there logs for the restart, or if I input the commandline to restart should I expect a response (error msg, confirmation, status, ...
1
vote
1answer
54 views

Store files in the cloud to be accessible by any VPS

I often create/delete online VPS machines so storing files there will not be so good. I want a dedicated online storage like S3 for storing files (scripts, videos etc) to be accessible by any VPS ...