Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
19
votes
4answers
67k 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 ...
11
votes
4answers
317 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 ...
8
votes
6answers
477 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 ...
7
votes
2answers
30k 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 ...
7
votes
4answers
304 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, ...
7
votes
4answers
674 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 ...
6
votes
1answer
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'...
6
votes
1answer
458 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 ...
5
votes
4answers
373 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 ...
5
votes
2answers
1k 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, ...
5
votes
2answers
4k 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 ...
5
votes
2answers
219 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 ...
4
votes
4answers
5k 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 ...
4
votes
2answers
86 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 ...
4
votes
4answers
972 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
2answers
935 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 ...
4
votes
3answers
574 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 ...
4
votes
2answers
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 ...
4
votes
1answer
280 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 ...
4
votes
1answer
277 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 ...
3
votes
2answers
5k 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 ...
3
votes
6answers
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 ...
3
votes
3answers
102 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 ...
3
votes
3answers
5k 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 ...
3
votes
2answers
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." ...
3
votes
3answers
95 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. ...
3
votes
1answer
276 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 ...
3
votes
4answers
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 ...
3
votes
1answer
864 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 ...
3
votes
1answer
2k views

Enable remote access to MySQL server (Linux)

How can I enable remote access to my MySQL Debian server?
3
votes
1answer
3k 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 ...
3
votes
1answer
212 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 ...
3
votes
1answer
293 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: <...
3
votes
1answer
649 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 ...
3
votes
1answer
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 ...
3
votes
0answers
31 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 ...
3
votes
0answers
63 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 ...
2
votes
4answers
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 ...
2
votes
2answers
342 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 ...
2
votes
3answers
151 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 ...
2
votes
1answer
8k 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/...
2
votes
4answers
467 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
1answer
2k 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 ...
2
votes
3answers
2k views

How to set up a mail server on Linux only for sending admin/debug emails?

I need to send server reports to myself from my remote servers, and I don't mind them going to spam, so I don't need SPF, DKIM, etc. I tried using mailutils to send something like this: uptime | mail ...
2
votes
1answer
439 views

What was this hack-bot trying to achieve via directory traversal?

I was walking through my server logs and the following kinda stunned me: ACCESS ERROR 404 from IP 62.112.152.161: Path: /index.php?page=weblog&env=../../../../../../../../etc/passwd%00 ...
2
votes
1answer
501 views

Upgrading Apache 2.2 to Apache 2.4 [closed]

I'm planning to upgrade Apache 2.2 running on my centOS 6.5 server to Apache 2.4, Does the new Apache version worth the update?
2
votes
1answer
4k 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)?
2
votes
2answers
1k views

Implement SSL in website

Our company have purchased SSL certificate and installed in linux on Host Server. Can you plz tell me how to make use of this in our website. How to configure it in Website.Is there any need to write ...
2
votes
1answer
775 views

I cant get my domain to point to my server

I have bought a domain on Crazy Domains called techitproductions.com And at home i have a Linux Ubuntu Server running Apache, php5, ispconfig, courier mail etc... I have port forwarded port 80, 8888 (...
2
votes
1answer
219 views

LAMP Stack Versioning — Is there a website or version tracker source to help suggest the right versions of each part of a platform stack?

Taken singly, it's easy to research versions and compatibility. Version information is readily available on each single part of a platform stack, such as MySQL. You can find out the latest version, ...