Questions tagged [linux]

Linux is a Free (libre), Open Source, Unix-like operating system.

Filter by
Sorted by
Tagged with
23 votes
4 answers
111k views

Allowing access to an Apache virtual host from the local network only

I have a web page on a Linux server I administer, running Apache 2.2. This server is visible to the outside world for some other services. I would like to configure Apache so that a given virtual ...
user avatar
  • 343
11 votes
4 answers
340 views

Cheap server stress testing [closed]

The IT department of the nonprofit organization I work for recently got a new virtual server running CentOS (with Apache and PHP 5), which is supposed to host our website. During the process of ...
user avatar
  • 263
9 votes
3 answers
45k views

Have disabled apache site config file 000-default.conf, but it still seems active. Why?

I added a file mysite.conf to my apache sites-available folder with the correct settings, then enabled it and reloaded apache, and it isn't working. I want to disable the default site config as ...
user avatar
8 votes
6 answers
482 views

Fast, Cheap, Dedicated Hosting [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I'm looking for dedicated hosting with at least 1GB of RAM that doesn't hurt the wallet too much. Specifically it should ...
user avatar
  • 199
7 votes
4 answers
373 views

Is there an SVN UI for hosting server?

We are considering upgrading to either a dedicated or cloud server. What I would really like is for the hosting account to have SVN installed on it. With a UI that I can use. So when I make a change, ...
user avatar
7 votes
4 answers
682 views

Can you recommend ways to manage code deployment to a Linux based web server? [closed]

I've always used a very simple bash script to deploy code. I'm moving away from using subversion to Mercurial but I don't really think the revision control software matters for deployment. What are ...
user avatar
6 votes
1 answer
8k views

Vulnerability in /boaform/admin/formLogin?

I am getting this HTTP request line on my server (simple http server). The normal action for this request on my server is to simply close the socket connection. I am asking this question because when ...
user avatar
  • 183
6 votes
2 answers
5k views

How do I migrate mail from one shared hosting account to another?

My web-host suddenly decide to merge with another company and that move has left me in the lurch. I have two weeks till I can migrate my mail data over to another account. The only way that I can ...
user avatar
  • 183
6 votes
1 answer
5k views

When creating a website, what permissions and directory structure?

I'm posing this question because I still haven't found a uniform method that I'm particularly fond of. Ideally, this combination of directory structure and permissions should suit any web server (don'...
user avatar
6 votes
1 answer
477 views

Is Cherokee, Mono, and Linux truly a viable alternative to Windows and IIS for production ASP.NET web sites?

I have played with Apache and Mono and .NET on Linux in the past, but I have yet to deploy any significant production sites to that stack. I recently found Cherokee and an article about enabling ...
user avatar
5 votes
4 answers
12k views

Can file encoding change when FTP is used?

I'm developing a web application which downloads a number of web pages using PHP curl. It then uses diff to compare the files as they change each day. I reported a problem a few weeks back where ...
user avatar
  • 247
5 votes
4 answers
379 views

Strategies for very fast delivery of webpages

I run a website Cucumbertown with an initial pay load of nearly 9KB zipped. All my js is delayed loaded with requirejs and modernizer is the only exception. Now all my webpages are Nginx cached and ...
user avatar
  • 191
5 votes
2 answers
2k views

Check if an image is already optimized for the web

I have found this tool that optimizes images for the web. What is surprising for me (of course, there will be other tools like this :)) is that it only optimizes the uploaded image if it is possible, ...
user avatar
5 votes
1 answer
8k views

Fail2Ban & Port-Scanning

Is there any filter built into Fail2Ban to temporarily ban any IP addresses which attempt port scanning activities (provided that iptables logs these activities)?
user avatar
5 votes
1 answer
85 views

Every hour reach entry processes limit on shared hosting

We are on a shared hosting and from today (we didn't change anything), every beginning hour the website just go away and it's unreachable for 4-5 min. The cPanel says we have reached the Entry ...
user avatar
5 votes
1 answer
349 views

Trying to install web2py on a shared server (Dreamhost)

I've been trying to install web2py on a subdomain on my shared account at Dreamhost. There used to be some info in their knowledge base, but it has been removed for outdated. I've found lots of ...
user avatar
  • 171
5 votes
2 answers
229 views

Plesk Migration failure

When using plesk migration manager all content domains and databases seem to be copied to their places but when I log in to plesk I cannot see them. when I try to add them manually it says "domain ...
user avatar
4 votes
2 answers
115 views

Best process for upgrading a live server

I just recently started at a new company, and their live server has PHP v5.2.6 (yes, circa 2008). A site I recently designed for them actually wouldn't work on it because PHP is so old, so I've now ...
user avatar
4 votes
4 answers
994 views

CSS development tools for Linux

What are some CSS editors and development tools available for the Linux operating system? I'm using vim for everything. Are there some things you would recommend to do rather in another editor ...
4 votes
2 answers
2k views

Apache not working on AWS Linux after reboot - 301 Response code

I have setup an EC2 instance with the Amazon Linux image and installed LAMP and Wordpress as per the Amazon docs. It works fine, serves the default Wordpress page, but as soon as the instance is ...
user avatar
4 votes
3 answers
612 views

Best cheap Linux hosting with LAMP support [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I'm looking for a linux hosting provider that supports LAMP and wondering if the community could recommend one. I was ...
user avatar
  • 143
4 votes
2 answers
1k views

X-Robot-tag noindex not appearing in header

I am trying to include the following in my response header to all resources in multiple directories (dirone/dirtwo/dirthree/direfour) from an Apache server. X-Robots-Tag: noindex, nofollow In my ...
user avatar
4 votes
1 answer
459 views

addon domains keeps adding primary domain in URL

I took new vps plan from inmotionhosting.com and moved my host from previous hosting company. I have several cpanel accounts in the whm, imported them all using the migration tool from server to ...
user avatar
3 votes
2 answers
6k views

How to prevent a specific website from linking to our domain?

We have a landing page which is used only for running an ad campaign. There is a website that has found this link somehow and is linking to it. I've been told by marketing they don't want that website ...
user avatar
  • 151
3 votes
6 answers
1k views

How can I choose between Linux and Windows hosting? [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I am a relative beginner when it comes to choosing web servers and hosting plans. I'm about to signup for a hosting plan ...
user avatar
  • 163
3 votes
3 answers
143 views

If i use 301 redirects (to bounce the requests), will the other destination be aware of my Server IP?

(Just for the knowledge) I wonder, let's say one day, when my Site is suddenly having some attacks at the login page (e.g: /login.php). If i don't bother about my Login page anymore, and i want to ...
user avatar
3 votes
3 answers
8k views

Using PHP inside .html files not working as expected

Apache2, Linux, php5 I have added this line to my .htaccess file AddType application/x-httpd-php5 .htm .html running apace2ctl -m, shows this module loaded A php5_module (shared) I have a ...
user avatar
  • 51
3 votes
2 answers
2k views

WHM Root Password Stops Working

I have WHM hosted on a virtual-dedicated Linux Enterprise Centos 5 server hosted at iWeb. Now and then my root password will stop working. I will get a red message saying: "The login is invalid." ...
user avatar
3 votes
3 answers
102 views

About cdn architecture to route way

Our web system, use the third-party cdn service. Assume that the user set the local dns with the googledns or opendns to visit our web sites, so cdn service will select the closest cdn proxy node. ...
user avatar
3 votes
1 answer
281 views

Why do some Linux VPS host companies restrict access to time/date settings?

Is there a reason on why some Linux VPS host companies restrict access to time/date settings? I had two VPS hosts running on CentOS from two different companies and both were restricted and I had to ...
user avatar
3 votes
4 answers
1k views

Migration from Windows to Linux hosting

I'm looking forward installing a CMS for my sites - most likely Joomla - but apparently Windows hosting doesn't support it. I was wondering what kind of changes I'd have to perform if I changed to ...
user avatar
  • 871
3 votes
1 answer
870 views

convert pdf to jpeg on linux?

Sometimes clients email me a poster which they received from a graphic designer in pdf format that they want added to the site. I have generally told them to ask the designer to export it in jpeg ...
user avatar
  • 311
3 votes
1 answer
5k views

Logged Out Too Soon; PHP Sessions Expire Too Quickly. Is this a Linux, CentOS, Cookies, CPanel problem?

Recently, I've been getting logged out sooner than expected on several websites that I manage on Linux servers. The problem started spontaneously a few months ago. At the time, I had not made any ...
user avatar
  • 51
3 votes
1 answer
2k views

Enable remote access to MySQL server (Linux)

How can I enable remote access to my MySQL Debian server?
user avatar
  • 31
3 votes
1 answer
4k views

How do I save user uploaded files outside of the web folder but use them on my page?

I have read that one of the best things to do for security with user uploaded files is to store them outside of the web folder, as there is very little you can do to ensure that that jpg image the ...
user avatar
3 votes
1 answer
741 views

Different cPanel physical memory usage with free -m and top terminal command

So, I have a cPanel access. In the cPanel statistic, I see that my Physical Memory Usage is 2 GB and almost full. When I go to terminal and run free -m I got this: total used ...
user avatar
3 votes
1 answer
534 views

Proper way of allowing Apache to serve from an encrypted folder (/home dir)

I have a folder in my home folder, /home/user/mywebsite. My home folder was encrypted when I installed Ubuntu. I have a symlink in /var/www/fleet -> /home/user/mywebsite. My configuration file: <...
user avatar
  • 141
3 votes
2 answers
2k views

Can't Make Changes via FTP on my Ubuntu Server

I'm very new to server management, I literally just set this up for the first time a couple weeks ago, no idea what I'm doing. In order to allow WordPress to run updates, apparently everything needs ...
user avatar
3 votes
1 answer
678 views

Problem with missing JSON functions on PHP 5.2.6 / Plesk 8.4

I have a vserver running openSuse 10.3, Apache 2 and Plesk 8.4. I can update/upgrade neither, as it is apparently not recommended to upgrade openSuse 10.3 (and an update to the EOL 10.4 does not seem ...
user avatar
  • 131
3 votes
1 answer
6k views

Setting file permissions on linux to allow PHP to write to a directory

I have a website built with Codeigniter and hosted on a Linux box. I am trying to follow "best practices" when it comes to my file permission settings, but I'm not sure if I completely understand the ...
user avatar
  • 41
3 votes
0 answers
60 views

Server receiving hit from its own DigitalOcean public IP Address. Why is that and how to resolve this?

I have a MEAN Stack application deployed on a Digital Ocean Droplet and I am using Nginx as proxy server to handle the request and redirect to application's particular port. I wrote a short script in ...
user avatar
3 votes
0 answers
70 views

How I give Apache access to users vhosts and keep it secure?

I have 2 RHEL 7 servers running Apache 2.4 behind a load-balancer. Both connect to an NFS data store where web pages are held and both servers run ssh to allow users to put web data on them. The users ...
user avatar
  • 31
2 votes
4 answers
1k views

Google bots are severely affecting site performance

I have an aggregate site on a linux server that pulls in feeds from a universe of about 2,000 blogs. It's in Wordpress 3.4.2 and I have a cron job that is staggered to run five times an hour on ...
user avatar
2 votes
2 answers
36k views

Get the number of concurrent users in Apache?

We want to know how many concurrent users the apache is serving at one time? Can I do it by installing some statistics tools? I tried webalizer but it only shows hourly hits, not the number of users. ...
user avatar
2 votes
2 answers
393 views

Does an increase in bandwidth usage and a down server indicate a DDoS attack?

I have a dedicated server and it went down hours ago. Just wondering if this happened because of a DDoS attack. I got the bandwidth graph from my hosting provider, it clearly shows huge traffic ...
user avatar
2 votes
3 answers
172 views

What are dompdf_img_* files?

I noticed recently that my tmp directory is starting to fill up and it seems that it is filling up with file that start with dompdf_img_*. Whatever program that is creating these files is not ...
user avatar
  • 630
2 votes
1 answer
9k views

How to map requests to an external directory

I have a directory/application that is located outside of the web root directory of my site. Say the site is here: /var/www/site/htdocs/ And the external app is located here: /var/www/apps/coolapp/...
user avatar
2 votes
4 answers
517 views

Which scripting language for server maintenance? [closed]

What scripting do you use for basic server maintenance kinds of tasks, e.g. backups, moving files around, etc.? Do you stick to bash, ruby, perl, something else, or do you mix-and-match for different ...
2 votes
1 answer
3k views

What does the user "nobody" represent in server process logs

I am new to vps hosting. I checked daily process logs on my server and found a user with name nobody consuming more memory than others. So what is the user nobody related to and why is it consuming ...
user avatar
  • 1,658
2 votes
1 answer
76 views

How to stop backslash working on XAMPP

I have XAMPP installed on my Windows development machine and I always use Linux production machines. The most common mistake I make is to use a backslash for filespec. Either slash works on Windows,...
user avatar