ps -ef | grep bea.home | sed -e 's/.*-Dbea.home=\(.*\)\-D.*/\1/' | sed 's/\-.*/\-/' | grep - | uniq
bookmarks
Закладки
четверг, 26 октября 2017 г.
вторник, 13 июня 2017 г.
ftps with lftp
ftps with lftp
FTPS with lftp
http://blogs.reliablepenguin.com/2009/08/11/ftps-with-lftp
lftp support ftps (different from sftp). ftps is ftp over an explicit TLS (SSL) connection. We’ve seen a few sites running MS IIS that require ftps and getting lftp to work has been tricky. To make it work verify that your lftp build has gnutls support compiled in with:
1
|
lftp -v
|
This build does not:
1
|
Libraries used: Readline 5.1, Expat 1.95.8, OpenSSL 0.9.8d 28 Sep 2006
|
Here’s one that does:
1
|
Libraries used: Readline 5.1, Expat 1.95.8, GnuTLS 2.6.6, zlib 1.2.3
|
Once you have have TLS support in your lftp build then you can put a file with something like this:
1
2
3
4
5
6
|
lftp -c 'open -e "set ftps:initial-prot ""; \
set ftp:ssl-force true; \
set ftp:ssl-protect-data true; \
put test.txt; " \
-u "USERNAME","PASSWORD" \
ftps://HOSTNAME:990 '
|
The option sets are critical as lftp wants to do “PROT C” by default but Windows wants to see “PROT P”.
пятница, 23 декабря 2016 г.
Network configuration for RHEL6 Minimal install on VM Virtualbox
Issue: RedHat Enterprise Linux 6 minimal install on VM Virtualbox has no internet connection. Network Adapter is set to NAT. Also cannot connect via SSH to guest machine, even with port forwarding. Bridged adapter usage is not a solution because of corporate policy and IP addresses provision policy.
Solution:
Network configuration for Minimal install
Virtualbox network adapter type: NAT
Host machine operating system: Windows 7
Guest machine operating system: Red Hat Enterprise Linux 6.2
=== ifcfg-eth0 configuration ===
/etc/sysconfig/network-scripts/ifcfg-eth0
###################
DEVICE="eth0"
NM_CONTROLLED="no" (don't know why, but it works)
ONBOOT="yes" (enables eth0 device automatically on boot)
HWADDR=<should be set here already. If no - see /sbin/ifconfig>
IPADDR=10.0.2.16 (or anything else in range of [3..254], eg. 10.0.2.100, anything, but in 10.0.2.* subnet)
PREFIX=24 (this means 255.255.255.0)
GATEWAY=10.0.2.2
DNS1=(the same as DNS of host machine)
DNS2=(the same as DNS of host machine)
BOOTPROTO="dhcp"
DEFROUTE="YES"
NAME="System eth0"
###################
=== network file configuration ===
/etc/sysconfig/network
###################
NETWORKING=yes
HOSTNAME=rhel62.localdomain
###################
Restart network:
service network restart
четверг, 8 октября 2015 г.
SQL Queries To Analyze All Concurrent Requests
http://prabhatdshine.blogspot.in/2013/10/sql-queries-to-analyze-all-concurrent.html
-SYSTEMATIC APPROACH TO FINDOUT DETAILS ON LONG RUNNING REQUESTS-
-SYSTEMATIC APPROACH TO FINDOUT DETAILS ON LONG RUNNING REQUESTS-
среда, 7 октября 2015 г.
пятница, 14 ноября 2014 г.
All for long running concurrent processing
http://shaikoracleappsdba.blogspot.com/2013/09/long-running-concurrent-requests.html
1.How to Determine Which Manager Ran a Specific Concurrent Request?
Long running Concurrent Requests
четверг, 24 июля 2014 г.
Покатушки
http://mystoryaustralia.com/2011/08/05/immigration/
http://nesiditsa.ru/discovery/zhizn-v-avstralii-2
http://avstralii.ru/zhit-v-avstralii/
http://rospersonal.ru/immigration/immigraciya_v_avstraliyu/professionalnaya_immigraciya_v_avstraliyu/?gclid=COnglJj_3b8CFQEXwwodJ1QAqQ
http://pora-valit.livejournal.com/1829070.html
http://habrahabr.ru/post/143617/
http://nesiditsa.ru/discovery/zhizn-v-avstralii-2
http://avstralii.ru/zhit-v-avstralii/
http://rospersonal.ru/immigration/immigraciya_v_avstraliyu/professionalnaya_immigraciya_v_avstraliyu/?gclid=COnglJj_3b8CFQEXwwodJ1QAqQ
http://pora-valit.livejournal.com/1829070.html
http://habrahabr.ru/post/143617/
Подписаться на:
Сообщения (Atom)