OK, this isn't really a server question in practice, but I'm pretty sure it has something to do with server management.
What is this joke supposed to mean?: http://xkcd.com/742
debian4 linux
i have the following cmd line which works fine
rsync -avr -e ssh /home/dir [email protected]:/home/
but i need to setup it up now to rsync to a remote server that only has ftp on it
how do i go about that ?
i looked at the rsync help but quickly got lost (i don't do this stuff very often)
thanks
alex
Can anyone recommend a linux command line tool to monitor the number of bytes transferred between the local server and a specified IP address/port.
The equivalent tcpdump command would be:
tcpdump -s 0 -i any -w mycapture.trc port 80 host google.com
which outputs :
46 packets captured
131 packets received by filter
0 packets dropped by kernel
I'd like something similar that outputs:
54 bytes out, 176 bytes in
I'd like it to work on RHEL and be free/open-source. It would be good if there was an existing tool which I was just missing too!
Hi,
I've come across several sites based on wordpress that look more like a gallery than a blog, for example 365psd.com
Are there any ready-made templates / plugins to create a similar site?
Many thanks
i tried linux command on my CentOS 5.x:
mail -s "mysubject" mymail@gmail.com
minutes takes, it dont finish, i do Ctrl+C, it says "(Interrupt -- one more to kill letter)"
i tried command:
mail
No mail for root
/var/log/maillog is empty
/var/log/kloxo/maillog is full of messages:
Oct 25 17:28:17 vps qmail: 1382736497.255902 delivery 1246425: deferral: Uh-oh:_.qmail_has_prog_delivery_but_has_x_bit_set._(#4.7.0)/
Oct 25 17:28:17 vps qmail: 1382736497.255915 status: local 1/10 remote 0/60
i checked all my .qmail files and none has execution permissions. Any idea please how to debug?
Hello,
I run into the same issue as someone who posted this question on experts-exchange.com (couldn't read the answer though as I don't have an account there):
{Quote Begin}
I noticed that the 180-day Evaluation version of SQL Server 2008 is the
Enterprise version. Is there going to be any problem "upgrading" the Evaluation Enterprise
version to a licensed STANDARD version (and how much additional stuff is going to be
left inactive on my disk and, more importantly, in my registry, etc. if I do
so)?
{Quote End}
Any advice is appreciated.
Hy Everyone,
I want to manage a kind of private App Store.
All users of my company can download apps or software from the Intranet.
Here is a sample of what I want for a private use :
http://www.01net.com/telecharger/
Does anyone know a open source service that can do that ?
Thx.
Good evening everyone or possible early morning if you are in my neck of the woods.
My problem seems trivial but after several hours of testing, researching and fiddling I can't seem to get this simple nginx rewrite function to work.
There are several rewrites we need, some will have multiple parameters but I cant even get this simple 1 parameter current url to alter at all to the desired.
Current: website.com/public/viewpost.php?id=post-title
Desired: website.com/public/post/post-title
Can someone kindly point me to as what I have done wrong, I am baffled / very tired...
For testing purposes before we launch we were just using a simple port on the server. Here is that section.
# Listen on port 7774 for dev test
server {
listen 7774;
server_name localhost;
root /usr/share/nginx/html/paa;
index index.php home.php index.html index.htm /public/index.php;
location ~* /uploads/.*\.php$ {
if ($request_uri ~* (^\/|\.jpg|\.png|\.gif)$ ) {
break;
}
return 444;
}
location ~ \.php$ {
try_files $uri @rewrite =404;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_pass php5-fpm-sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors on;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location @rewrite {
rewrite ^/viewpost.php$ /post/$arg_id? permanent;
}
}
I have tried countless attempts such as above @rewrite and simpler:
location / {
rewrite ^/post/(.*)$ /viewpost.php?id=$1 last;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_pass php5-fpm-sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors on;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
I can not seem to get anything to work at all, I have tried changing the location tried multiple rules...
Please tell me what I have done wrong.
Pause for facepalm
[relocated from stack overflow as per mod suggestion]
Is there a way to create a wildcard domain in the Windows hosts file.
I tried this
xxx.xxx.xxx.xxx *.somedomain.com
This does not work, is there maybe some other syntax I should use?
I am working on Windows 7
Is there a way to create a wildcard domain in the windows hosts file.
I tried this
xxx.xxx.xxx.xxx *.somedomain.com
This does not work, is there maybe some other syntax I should use?
I am working on Windows 7
I would like to block all countries except mine in iptables, that is a lits with about 100.000 Entries.
how can i define this blacklistfile in a script, so iptables blocks all those ip-ranges?
maybe i can use
http://www.ipdeny.com/ipblocks/data/countries/
that provides lists in the form
117.55.192.0/20
117.104.224.0/21
119.59.80.0/21
121.100.48.0/21
...
i want to be able to change the blacklistfile easily without having to change the iptables-script
Is there a way to AUTOMATICALLY open all links in a given website in different tabs or windows?
I've tried "snap link plus", but it didn't work on this particular website:
http://www.teledunet.com
To open others streams on this website (found on the left hand side of the page), you would need to login using (cmoi123 / 12345) by clicking on "Connexion" on the top right side of the main page).
Thank You In Advance!
-Paul
I was inspecting my apache access logs(I use default combined log format) and I came a cross a wired entry
69.171.247.0 - - [22/Oct/2012:18:15:20 +0200] "GET /some site resources HTTP/1.1" 404 514 "-" "facebookexternalhit/1.0 (+http://www.facebook.com/externalhit_uatext.php)"
As u see, this query come from a facebook robot that extract objects from site when somebody post a link.
What I find weird is the logged ip address : 69.171.247.0
Does anybody know how is that possible ?
Hello everyone,
I am trying to create a UDID protected Cydia Repo but I cannot use it on nginx because of nginx does not use the .htaccess file. The file certain rewrite rules to make it run. Here are a copy of the Repo: https://github.com/ic0nic/UDID-repo Below is a copy of the .htaccess file.
RewriteEngine On
RewriteBase /your_repo_folder/
RewriteRule ^(Release)$ release.php
RewriteRule ^(Packages.*)$ package.php
Oracle mentions the ability to connect to their LDAP server - the Oracle Internet Directory http://download.oracle.com/docs/cd/B19306_01/network.102/b14267/olsoid.htm. Can Oracle Label Security be configured with an alternative LDAP server such as Active Directory?
I want to install emacs-snapshot from http://emacs.orebokech.com
But there is already an emacs-snapshot in Ubuntu's repositories.
How can I specify the repository from which a package will be installed?
PDF files seem to have a separate set of file properties which contain (among others) a creation date and a modified date (see screenshot here: http://ventajamarketing.com/writingblog/wp-content/uploads/2012/02/Acrobat-Document-Properties1-300x297.png).
Those date obviously can differ from the creation and modified date shown in the file system (Windows Explorer).
How can I access the date information in the PDF file and read it out in Windows 7 with Windows PowerShell (or maybe another method)?
I have strange behavior with browsers on my PC (but it work well before yesteday)
My Chrome, FF (ERROR: Error 101 (net::ERR_CONNECTION_RESET): Unknown Error ) write me that can't connect to Internet I need to check Proxy, Firewall etc.
I did it and all settings are fine, on other PC in this area all working with the same settings. Only explorer can work in internet. How to solve it ?
Thanks
I have tried chrome://net-internals/#tests in grope and test gooogle.com but all test failed with 101 error
I have used Puttygen to create a public and a private key, and then is ready to let TortoiseHg on Windows 7 do a clone by going to
ssh:[email protected]/somecode
but there seems to be no where to add the private key to TortoiseHg?
The file is already some where on hard disk as somefile.ppk Does someone know how to add it?
I have a dedicated server with Debian and ISPconfig on it
And a domain example.it
I did a error while setting the dns for the first time
I've tried to set it to
ns1.example.it IP.IP.IP.IP
myDedicnumber.kimsufi.com IP.IP.IP.IP
But it got stuck it shows "Current Status: on hold" its been 7days already.
I've tried contacting ovh but they just told me to set my dns to something diffrent but I can't as this operation is blocking any changes to the DNS records.
Is there anything that I could do accept bug OVH?
I have website http://waycoolblog.com, but I cannot access it through its ip address
http://74.220.219.56/
Why is this happening?
My main question is whether this is a common thing. In my app I am trying to the resolve the sitename myself and trying to connect with the ip-address instead of sitename.
I want to make sure this that works properly.
How to redirect a page form show.php?id=(15charstring) to show/(15charstring)
I tried like this it is doing reverse means it is redirecting /show/(15chars) to show.php?id=(15chars)
RewriteEngine on
RewriteRule ^/show/([a-zA-Z0-9]{15})$ http://site.com/show.php?id=$1
Second case is i have to redirect to another page if he added &m=true to the url
show.php?id=(15chars)&m=true
html/show.php?id=(15chars).
The Mac OS X Server homepage tells of a feature "Mobile Access Server":
http://www.apple.com/server/macosx/features/mobile-access.html
But the text is very marketingy and doesn't actually say what it does? Is it a type of VPN or a remote desktop thingy or what?
I am pretty sure that the latest Ubuntu release does not support my wireless internet card. Everything was working fine in 9.04 and since upgrading my browser will load web pages. I can see and connect to my wep encrypted network. I can ping google.com and lose no packets.
I am at the end of my tether, what else can I try? Is it possible to download a driver to re-enable my wireless?
I have a Windows 2003 server running a SSH server (WRQ Reflection), how would I ssh to it and specify a specific drive letter? (like the D: drive)
ex: from another workstation: ssh meuser1@somewindowsbox-running-ssh-server.com d:
When I do that it fails and I get this error: "exec request failed on channel 0" If I simply SSH to that same windowsbox without trying to specify a drive letter I get a Windows (CMD.EXE) command prompt shell on the C: drive. I can then run any windows command.
Thanks