0
votes
2answers
89 views

Portforwarding with IPTABLES and Remote IP detection

I was able to forward 80 port from my primary server 192.168.90.1 to the second one 192.168.90.2 with IPTABLES The primary server has a public address X.X.X.X so I forwarded X.X.X.X:80 -> ...
-1
votes
1answer
273 views

Run CURL every 5 seconds

I'm very new to linux and not sure what the best solution would be for the following. I want to run a HTTP GET request every 5 seconds. I imagine some kind of service that I can start/stop at will. ...
0
votes
1answer
142 views

What do these kernel errors in my logwatch mean?

I was reading my logwatch this morning and I've noticed that there are a lot of kernel errors. I'm on CentOS 6 and the machine acts as a web server. Can anyone help me understand what these mean and ...
0
votes
1answer
237 views

Cron permissions?

I have a bash script which if I run manually (as root) performs all of its tasks without issue. The tasks are just a few php scripts and then a "mv" to move the process file to a temporary folder. ...
0
votes
2answers
286 views

CentOS lost Root Access

For some reason I cannot access my root user via SSH. It displays the error on login: could not open session. However I happen to have another user account that is a normal non-sudo user. Is there ...
0
votes
2answers
547 views

How to reduce server load without killing processes?

I am running a CentOS 6 VPS with WHM/cPanel. I am trying to move some accounts, to reduce load, so I have to run /scripts/pkgacct, however the gzip and other processes run by this script cause a very ...
2
votes
2answers
842 views

How do I export variables for all users in Linux?

I am using Red Hat. I need to export variables for all users (permanently). How would I go about doing that? I know there is a file for a single user where I can set permanent variables.
2
votes
1answer
67 views

Subversion update

I have a Subversion system running. It always does an post-commit update on /var/www by the following code: /usr/bin/svn update /var/www/. But, this is OK when I am working on an other server. I do a ...
2
votes
3answers
318 views

Centos how to set default permissions for specific folder

I have a centos server that one of my apps creates files in a tmp folder. The files are always created with the permissions r--r--r-- and i need all the new files in this directory to be created with ...
0
votes
0answers
255 views

Two IP ranges on eth1 configuration for centos 6.2

I have a dedicated server, with "Virtuozzo" on it running VPS's. I have: eth0 - which is configured to the internal network, that one is fine. Now I have: eth1 - which has two ranges routed through ...
-2
votes
5answers
408 views

Which Linux distribution is suitable for serverside development and somewhat easy to use? [closed]

I need to setup a Linux-based server which is going to be the backend for our web services. This is what I need: (In order of importance) A GUI to manage applications and files It would be running ...
2
votes
1answer
186 views

Backup your unix server via shell access

I am looking to backup my dedicated unix server which is running Parallels Plesk Panel v10.4.4_build1013111102.18 os_CentOS 6. The server has Plesk installed but there are some limitations to it's ...
3
votes
2answers
2k views

Is there a CentOS server edition and a seperate desktop edition?

Until now I have been using Ubuntu server. Ubuntu has separate downloads for desktop and server editions. I want to try a CentOS server, when I download a copy from a mirror through centos.org the ISO ...
-3
votes
1answer
219 views

LVM Limitation in any Linux/Unix

What is LVM limitation (space in GB/TB/PB/EB) in any Linux/Unix?
1
vote
2answers
340 views

Why does “cat /dev/null” and “ls” take 5 seconds to load?

One of my web servers is responding very slowly. Even to simple unix commands. Can you help point me in the right direction to debug? Here's a crazy example: # cat /dev/null This command ...
1
vote
2answers
195 views

HAProxy configuration file

Where it is located? Sometimes I see it under /etc/haproxy.conf, other times at /etc/haproxy/haproxy.cfg. IF both reside, which one precedes then?
0
votes
1answer
279 views

Unable to change user password on AWS using `passwd` command

I am using Amazon's AWS insances running CentOS. I was trying to create a user with SUDO privilege and then disable the Root login to secure the systems. I have already done the required to bring this ...
2
votes
2answers
1k views

Compiling PHP with GD and libjpeg support [closed]

I compile my own PHP, partly to learn more about how PHP is put together, and partly because I'm always finding I need modules that aren't available by default, and this way I have control over that. ...
1
vote
2answers
580 views

Quick and Easy Backup of Remote Server?

I'm switching from a slower remote server to a faster one. (In a nutshell.) Everything seems to have been migrated properly, but just incase some things didn't get transferred properly, I'd like to ...
0
votes
2answers
94 views

Finding Memory Hogs on Server?

I recently purchased a remote server plan for a few additional services that I need to run, that my previous hosting plan just couldn't support. (JIRA, another separate Tomcat instance, etc.) I would ...
1
vote
1answer
288 views

Whitelist file type on vsftpd on CentOS

I have CentOS server running on unix, and vsftpd FTP server installed. I did chroot for users and now I'm trying to limit their file type upload. I don't want to use deny_file because deny_file limit ...
0
votes
2answers
3k views

Prevent sleep mode/shutdown on CentOS 5.6

I have a question about the best practice with a home linux box. I recently install CentOS 5.6 on a machine I had lying around, and now I am using it by sshing into it from another machine. All that ...
2
votes
1answer
244 views

Sendmail does not receive e-mails from outside

have a VPS running CentOs 5.1 64bit with ISPManager panel. dovecot-1.0.7-7.el5 is used in conjunction with sendmail. I can send e-mails to outside (sendmail works), can send and receive e-mails ...
0
votes
3answers
1k views

Allow IP Address Range In hosts.allow

I would like to allow this Ip Range 94.1.1.1 to 94.15.255.255 I tried inputting this in the hosts.allow file after reading here that you need to use networks and netmasks? i don't know much about ...
0
votes
4answers
4k views

the path for phpmyadmin

i have www doc in html folder. i go to 192.168.1.1/phpmyadmin to pull it up. but when i ftp there i dont see any phpmyadmin folder under html folder. how can i find where phpmyadmin folder is? i am ...
0
votes
3answers
324 views

web files permission setup

I could not find out what is the best way to setup your web files under UNIX OS. I have Apache running on Centos OS, I put my root directory under /var/www/html Here is the example: /var/www/html ...
0
votes
1answer
277 views

Error installing Webmin

Having some problems installing Virtualmin ( http://www.webmin.com/vinstall.html ). I'm fairly new to Unix terminals and all that, but proficient enough to have been able to install and configure a ...
0
votes
4answers
3k views

useradd with 755 permissions

I d like to set the home directories permissions as 755 when i add the user via useradd. How can i do this? Thanks.
4
votes
2answers
2k views

Why are files being removed from /tmp?

I use centOS5, but these files of /tmp is deleted automatically when time passes. What kind of structure will this kill him in? In addition, How to stop this?