Posted by
gfdsa on Mar 20th, 2010 in
linux,
tech,
tip,
work |
0 comments
Problem: you have a shared remote backup space and you want to backup sensitive data from your servers
There is a plenty of options out there, in my situation I have a Linux server with shell access where to take files and a shell account on BSD with 75GB of space where to put these files. I need to keep a daily copy of everything for a week. After some thinking and experimenting here is what I’ve got with...
Posted by
gfdsa on Mar 18th, 2010 in
it,
linux,
tip,
work |
0 comments
If you ( better not you, but **** happens) remove your /etc on redhat/centos 5 and you still have an open remote root shell, here is what you have to do to make sure you still can reach the host (I wouldn’t write it if I had a backup):
0. Say f***********ck, take a deep breath and don’t panic
1. Make a prayer ( whatever god will do, even Einstein, nobody hears you screaming anyway )
2. Restore...
Posted by
gfdsa on Dec 19th, 2009 in
VoIP,
it,
tech,
tip,
work |
0 comments
[Dec 19 21:09:03] NOTICE[5196]: chan_sip.c:15236 handle_request_register: Registration from '"100"<sip:100@194.177.99.220>' failed for '174.129.52.203' - Not a local domain
[Dec 19 21:09:04] NOTICE[5196]: chan_sip.c:15236 handle_request_register: Registration from '"101"<sip:101@194.177.99.220>' failed for '174.129.52.203' - Not a local domain
[Dec 19 21:09:04] NOTICE[5196]: chan_sip.c:15236...
Posted by
gfdsa on Nov 29th, 2009 in
it,
test,
tip,
work |
1 comment
1. get resource kit tools for 2003 (no 2008 at the moment of writing) just to have a copy of srvany.exe
2. ignore compatability warnings and install as is
3. create service using sc and binPath=”srvany.exe”
4. open regedit and create a string value /CreatedService/Parameters/Application
5. put \Path\to\powershell.exe -ExecutionPlicy RemoteSigned -File \Path\To\script.ps1
start it
my example starting from...