Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
3
votes
3answers
134 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 ...
1
vote
1answer
133 views

Sandbox a folder in linux / CPanel

Is it possible to entirely sandbox a folder on linux? This is because certain users will be able to upload any files they want to this folder and execute PHP scripts (which in turn can execute more ...
2
votes
1answer
1k views

any way I can fix this cphulk situation?

I should probably sue the cpanel guys right about now. The point is, I'm receiving all these strange messages in my logs about cphulk (brute force detection system) not being able to do its job of ...
0
votes
1answer
15 views

installing npm issue

I was trying to install this : Click here but this error shows up consistently .No matter what i try. I have tried other version of npm they are installed but the npm test error shows up . npm ...
1
vote
1answer
43 views

Possibility of creating an Amazon AWS EC2 instance from the Linux command line?

I'm trying to figure out if it is possible to create an EC2 instance (say of OmniOS) from CLI in my Linux. As per my understanding, it is seeming pretty much straight forward to launch an instance but ...
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 ...
2
votes
1answer
78 views

On my shared Linux webserver apache user is same as my user, is that standard?

I ran the following command, when logged into my shared Linux host to see what user Apache was running as: ps aux | egrep '(apache|httpd)' And it was the same user that I use on the server. ie. ...
1
vote
2answers
558 views

best apache log file permissions on cpanel server

In an effort to protect my site from bad bots including ridiculous hackers that can login to the server, I want to secure access_log and error_log as much as possible without breaking apache or cpanel....
0
votes
2answers
73 views

Redirect at exact moment in time

My company is going to do a press release next month. At that exact moment in time, we need a new domain to go to this site at the time of the press release at 3 PM. Since the domain name already ...
3
votes
3answers
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 ...
0
votes
1answer
305 views

Preventing phpMyAdmin hacks

I recently saw an unexpected error in my error log, and upon investigating, found it repeated many times. What are the deviants trying to accomplish, and is there any risk of them accomplishing it. [...
0
votes
0answers
454 views

Godaddy linux hosting The PDO extension is required for this adapter but the extension is not loaded

I'm getting following error on GoDaddy economy linux hosting. How to fix that. The PDO extension is required for this adapter but the extension is not loaded Error can be found at following url: ...
1
vote
1answer
263 views

Webmin - View log of visitors to a particular webpage

Is there a way with Webmin to see a log of all IPs who have tried to access a particular webpage on the server?
7
votes
2answers
42k 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 ...
1
vote
1answer
58 views

Default Apache webroot different to what I expect; seems to be /var/www/html rather than /var/www

I have a new installation of Apache in Ubuntu 14.04.2 The /etc/apache2/apache2.conf file contains: <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None ...
0
votes
1answer
707 views

Setting up GetSimple CMS with Nginx

I'm quite a noob in web, I'd like to setup a Linux(Debian) web server and decided to use GetSimple CMS and Nginx since I've found out that they'd give the best performance by using smallest resources. ...
1
vote
1answer
47 views

Consider acceptable to use php from a linux webserver to request sql from a Microsoft SQL server?

I have a linux webserver that requires grabbing data from a windows sql server. Now I read that before the linux server connects to the sql server it must have microsofts OCDB sql driver installed. ...
1
vote
2answers
7k views

Getting root access in 1and1 hosting?

I need to install Java and ANT on my 1and1 hosted web server but can't get it to work. I'm very unfamiliar with Linux terminal commands. I've tried sudo and su commands but apparently they don't ...
0
votes
1answer
370 views

Nginx Php-Fpm Global Configuration

So, ive got everything set with 6 wp websites sitting on my lemp stack. I have noticed that every single one of their nginx configurations are the same. Is there a way I can globalize said ...
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." ...
0
votes
1answer
1k views

fsockopen() not working

I'm running an Ubuntu 12.04 server with Plesk 12, Apache 2.2.22 and PHP 5.3.10. I want to enable reCaptcha for my phpBB board, but every time I get this error: Could not open socket I've enabled ...
1
vote
0answers
529 views

How to install/update/upgrade SSL certificate in Tomcat?

I am about to install/update/upgrade a SSL certificate in one of the servers which has the following configuration Sever information: Sever version: Apache Tomcat/6.0.35 OS version: Linux 2.6.18-371....
-2
votes
1answer
130 views

How to block all hacking? [closed]

The title explains most of my question. The OS is linux (Lubuntu). The servers are Apache2 (PHP5), MySQL 5.6 and FTP (Samba).
2
votes
1answer
560 views

Apache 403 error despite group permission

I have a NAS running Linux with a Apache 2.2. I want the apache process (running as user nobody) to run as different group "users" to read some files. I tried the following without success: in its ...
2
votes
0answers
294 views

Set permissions for files uploaded to Apache's web directory via FTP on the Rapsberry Pi

I just set up an Apache web server on my Raspberry Pi, along with MySQL and PHP5. To upload files I set up vsftpd. The ftp connection sent me to my pi user home directory, instead of /var/www. So ...
0
votes
0answers
10 views

Requests for site not hosted on my server [duplicate]

I am seeing http get requests in my servers access log for a site that is not hosted on my server and also the dns records of the site do not point to my server the domain points to 3 ip addresses in ...
0
votes
2answers
54 views

Any negative consequences of linking from a wordpress site to another site that uses ASP pages

A client of mine had a blog that utilized ASP pages for some content. Recently they moved their site to a Linux-based server and installed Wordpress. They did not want to have all the ASP pages ...
0
votes
1answer
58 views

Can I implement IPv6 support on my server using 6to4 address?

I was given an IPv4 address example 192.0.2.4 for my server. To enable clients to reach the server on IPv6 address, I understand that I need to set the AAAA record on my name servers to point to the ...
2
votes
2answers
384 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
3k 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
0answers
246 views

What is the best way to automate “domain parking”? [closed]

Assume I have a domain http://go.example.com/abcdefg when example.com is server running on NGINX. The main task of that server is to proxy pass all visitors to other server and then, this other server ...
23
votes
4answers
107k 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 ...
4
votes
2answers
106 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 ...
2
votes
1answer
481 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 ...
3
votes
2answers
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 ...
0
votes
1answer
419 views

GoDadddy Disk Space Usage figure doesn't make sense

I'm trying to figure out how much disk space my website takes up. I'mm looking on cPanel (Linux version) and the Disk Space Usage figure doesn't make sense: Maybe i'm just being stupid but they haven'...
2
votes
1answer
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/...
1
vote
1answer
196 views

Is it Better to Use a Separate VPS for Each Website or Have One, Stronger VPS? [closed]

In what situations should one purchase multiple VPSes to host multiple websites? For instance, renting three VPSes with 1GB RAM 3 times vs renting one VPS with 3GB RAM? The problem I am currently ...
1
vote
1answer
2k views

How can I check memory usage for each cPanel account?

Currently I have 4 cPanel accounts running on my VPS. I need to check the memory (RAM) usage for each account on the VPS to identify which of them is using high resources in order to ban. I opened the ...
2
votes
1answer
523 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?
0
votes
2answers
112 views

SSL issue and redirects from https to http

I have a site www.example.com for which i purchased SSL cert and installed. And it was working fine, I also have a subdomain with app.example.com which was not on SSL. Both www.example.com and app....
1
vote
1answer
88 views

301 Redirect on a server and an ASP page

This question may seem a bit "childish" but I was wondering what a browser would read first if a 301 redirect is implemented. So if a 301 is implemented on an ASP page (script) would the browser ...
0
votes
2answers
1k views

Installing Google Sitemap Generator on Linux

I have a website with httpd (front end) and Apache tomcat (back end). I'm trying to install Google Sitemap Generator and create sitemap for the website. I followed the following link for ...
5
votes
2answers
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, ...
1
vote
1answer
236 views

Best to archive a website for scholarly purposes?

A non-profit is going through a major website renovation. It's a large website, with about 3,000 pages. These was done using HTML, CSS, JPGs and lots of Adobe PDFs. This was designed long before ...
1
vote
1answer
4k views

Extensive GET /wpad.dat HTTP/1.1 requests

We are having extensive (thousands per minute) GET /wpad.dat HTTP/1.1 requests at our Linux server, causing traffic problems and slowing down access to the websites we host. What does it stand for ...
0
votes
2answers
241 views

How many SSL certificates are required?

I have the following domains, all inside one single VPS (one IP address): www.example.com classmates.com john.classmates.com mary.classmates.com blog.classmates.com If I need https for the ...
1
vote
0answers
20 views

What are my options for a hosted vps service with shell access? [duplicate]

Disclaimer (some folks marked this question as a duplicate): I DO NOT want suggestions for things like a hosted wordpress providers, nor am I asking what web hosting is. This question is not a ...
3
votes
2answers
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 ...
2
votes
0answers
123 views

How many connection can my website have? [closed]

As the traffic increased my website hangs quite regularly. The page visit is now averaging 50k per day. The static page loads fine, but when the page has mysql request it takes too much time to ...