Apple Script to close down all volumes on TrueCrypt.

I like to create script that will close down all mounted volumes in TC.
Does anybody know how to script the programme (preferably in Apple Script, but Automator would be OK to) in such a way as to be able to have the script do a ‘Dismount All’?
I would than link this to the ttys file as a LogoutHook, thus making sure all mounted volumes are dismounted before a shut down happens, this to prevent damaging open files on a volume as this could happen if shut down is forced.
Any suggestions appreciated.

TrueCrypt probably doesn't know about disks/volumes, but the system does. Eject is a different command than unmount, so I am guessing that there is something else going on in there. The following script gets the local volumes and uses diskutil to unmount the specified volume(s):
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 340px;
color: #000000;
background-color: #FFDDFF;
overflow: auto;"
title="this text can be pasted into the Script Editor">
-- unmount local disk volumes
set Unmounted to "" -- this will be a text list of volumes successfully unmounted
tell application "Finder" to set LocalNames to (name of disks whose local volume is true)
set TheVolumes to (choose from list LocalNames with prompt "Choose volumes to unmount:" with multiple selections allowed)
if result is not false then repeat with SomeName in TheVolumes
-- get the disk identifier for the specified volume
get paragraphs of (do shell script "diskutil list " & quoted form of ("/Volumes/" & SomeName))
set TheDiskID to the last word of (Test for SomeName out of result)
-- unmount (the disk ID is used in case there are multiple volumes on a disk)
if TheDiskID is not "" then try
do shell script "diskutil unmount " & TheDiskID
set Unmounted to Unmounted & SomeName & return
on error errmess
log errmess
end try
end repeat
if Unmounted is "" then set Unmounted to "none"
display alert "Volumes unmounted:" message Unmounted
to Test for SomeText out of SomeList
tests if  SomeText is in an item of SomeList
parameters - SomeText [text]: the text to test for
SomeList [list]: a list of text items to test
returns [text]: the first item of SomeList that contains SomeText, or "" if none
set SomeText to SomeText as text
repeat with AnItem in SomeList
set AnItem to AnItem as text
if SomeText is in AnItem then return AnItem
end repeat
return ""
end Test
</pre>

Similar Messages

  • Itunes library will not close down all the way

    My iTunes library will not close down all the way.  When I close the library I am unable to log back in or turn my computer off because itunes is still running although I x'd it out.

    You're right, you shouldn't have to do that.
    Well, you didn't say whether you've tried uninstalling & reinstalling itunes. Make sure it's installed with an admin user account. Then go into the WIndows Event Viewer and see if there are any error messages about any of the itunes processes in the installation package. That could give us a clue of what's going wrong.
    Another thing that could be causing the problem is the "apple push" part of itunes, APSDaemon.exe. Read wiclee's post here about it.
    https://discussions.apple.com/thread/3734882?start=0&tstart=0

  • How do I close down all my open apps since the update?

    How do I close down all my open apps since the update?

    To close apps:
    Double tap the Home button...slide the last used view of the app up...above the app icon. Tap Home button when finished.

  • Programme closes down all of a sudden

    hi
    since i work on FCP HD it often occurs that the programme closes down all of a sudden. (this never happend when i was working with FCP 3)
    What can be the reason for this?
    g4 533mhz dual   Mac OS X (10.3.5)  

    MAny many things can cause this. Most likey are damaged preferences, so it would be wise to download FCP rescue and run it...it does it automatically for you.
    And while you are at it, run the Disk Utility and Repair Permissions. Always wise to do when stuff like this happens.
    http://fcprescue.andersholck.com/
    Shane
    "There's no need to fear, UNDERDOG is here!"

  • The Firefox icon often disappears from the toolbar when I go to another window like Outlook or Media Player. When I close down all other windows it reappears again. What can I do about that?

    When it has disappeared I can open Firefox again using the menu or the opening icon on the toolbar, but then it only shows up blank, so without the tabs that were opened before. Closing down all other icons on the toolbar is the only way to make the Firefox icon reappear and for me to open Firefox again with all my tabs.
    Please excuse my English, the jargon is difficult.

    Thanks for your reply, cor-el.
    The odd thing is, this problem hasn't occurred again since I posted it. What kind of magic is that? :-))
    It really is odd, since I had it at least twice a week for several months.
    So far, so good, then.
    I'll wait a while more, and will then close it as being solved. I guess that's the procedure.
    We'll put it down to temporary bugs or pc mysteries.
    Though I like the magic option more...

  • When i click on print menu in certain page, the pop page loaded then the print dialogue box appeared and immediately it close down all the pop up and print dialogue box without us to print it. What is the solution?

    On that website (member only site), when i clicked on print menu on the site, it normally loaded the page and then the print dialogue box appear and immediately, it closed down all the pop up and print dialuge so that i cannot print it at all. It happened only after i upgrade Firefox to version 6.0.2, previous version it worked fine.

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    '''For Firefox versions previous to 29.0:'''
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox"[[Image:Button reset]] button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    '''For Firefox 29.0 and above:'''
    #Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''.Now, a new tab containing your troubleshooting information should open.
    #At the top right corner of the page, you should see a button that says "Reset Firefox"[[Image:Button reset]]. Click on it.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Firefox wont close down all the way

    some reason when i go to close down firefox then try to bring in back an hour later keep getting the message "Firefox is already running but is not responding" and keep wondering why this is happening tryed puting the profile to read only it helped for a week then it started back up aside from that not sure why its happening usin firefox 30.0

    This was an issue with v29 that v30 was suppost to fix.
    From what I have been reading from other posts on this forum, the
    issue may be caused by the clear history settings.
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Privacy'''.
    The button next to '''History''', select '''Use Custom Settings'''.
    At the bottom of the page, turn on '''Clear History When Firefox Closes.'''
    At the far right, press the '''Settings''' button. Turn on ONLY '''Cache''' and
    '''Form And Search History''' leaving the others off.
    This is not a cure but will make it easier if Firefox locks up.
    '''https://support.mozilla.org/questions/997866?esab=a&s=&r=1&as=s''' {web link

  • Can anybody fix this apple script for me so all the responses work

    iv been working on a jarvis wake up script and iv continued to add on commands to if theResponce parts of the script but now most of them wont work and i get a syntax if i dont have like 8 end if's at the end of the script could somebody please overview it, fix the script and resubmit it to me in the comments. will be so grateful if somebody fixes this pleasee.!!!!
    set theHours to hours of the (current date)
    if theHours > 18 then
              say "good evening sir"
    else if theHours > 12 then
              say "good afternoon sir"
    else if theHours > 6 then
              say "good Morning sir"
    else if theHours > 0 then
              say "get out of bed sir!"
    end if
    say "It is " & getTimeInHoursAndMinutes() using "Tom"
    on getTimeInHoursAndMinutes()
              set timeStr to time string of (current date)
              set Pos to offset of ":" in timeStr
              set theHour to characters 1 thru (Pos - 1) of timeStr as string
              set timeStr to characters (Pos + 1) through end of timeStr as string
      -- Get the "minute"
              set Pos to offset of ":" in timeStr
              set theMin to characters 1 thru (Pos - 1) of timeStr as string
              set timeStr to characters (Pos + 1) through end of timeStr as string
      --Get "AM or PM"
              set Pos to offset of " " in timeStr
              set theSfx to characters (Pos + 1) through end of timeStr as string
              return (theHour & ":" & theMin & " " & theSfx) as string
    end getTimeInHoursAndMinutes
    set CityCode to 1098081
    set t_format to "C"
    set v_format to "S"
    set a_format to "Y"
    set IURL to "http://weather.yahooapis.com/forecastrss?w=" & CityCode
    set file_content to (do shell script "curl " & IURL)
    --looking for the line with actual condition
    set theText to text ((offset of "yweather:condition" in file_content) + 1) thru -1 of file_content
    set sub_1 to text ((offset of "\"" in theText) + 1) thru -1 of theText
    set actual_condition to text 1 thru ((offset of "\"" in sub_1) - 1) of sub_1
    set sub_1a to text ((offset of "temp=" in sub_1)) thru -1 of sub_1
    set sub_1b to text ((offset of "\"" in sub_1a) + 1) thru -1 of sub_1a
    set actual_temp to text 1 thru ((offset of "\"" in sub_1b) - 1) of sub_1b
    if t_format is equal to "C" then
              set actual_temp to (5 / 9) * (actual_temp - 32) as integer
    end if
    set theText to text ((offset of "yweather:forecast" in file_content) + 1) thru -1 of file_content
    set sub_2 to text ((offset of "\"" in theText) + 1) thru -1 of theText
    set today_min_temp to word 9 of sub_2
    set today_max_temp to word 12 of sub_2
    if t_format is equal to "C" then
              set today_min_temp to (5 / 9) * (today_min_temp - 32) as integer
              set today_max_temp to (5 / 9) * (today_max_temp - 32) as integer
    end if
    set sub_3 to text ((offset of "text" in sub_2) + 1) thru -1 of sub_2
    set sub_4 to text ((offset of "\"" in sub_3) + 1) thru -1 of sub_3
    set today_forecast to text 1 thru ((offset of "\"" in sub_4) - 1) of sub_4
    set sub_5 to text ((offset of "yweather:forecast" in sub_4) + 1) thru -1 of sub_4
    set sub_6 to text ((offset of "\"" in sub_5) + 1) thru -1 of sub_5
    set tomorrow_min_temp to word 9 of sub_6
    set tomorrow_max_temp to word 12 of sub_6
    if t_format is equal to "C" then
              set tomorrow_min_temp to (5 / 9) * (tomorrow_min_temp - 32) as integer
              set tomorrow_max_temp to (5 / 9) * (tomorrow_max_temp - 32) as integer
    end if
    set sub_7 to text ((offset of "text" in sub_6) + 1) thru -1 of sub_6
    set sub_8 to text ((offset of "\"" in sub_7) + 1) thru -1 of sub_7
    set tomorrow_forecast to text 1 thru ((offset of "\"" in sub_8) - 1) of sub_8
    if a_format is equal to "Y" then
              say "The current conditions in Perth are " & actual_condition & " ,and the current temperture is " & actual_temp & " degrees"
    end if
    if v_format is equal to "L" then
              say "Today it will be : " & today_forecast & ". Temperature: between " & today_min_temp & " and " & today_max_temp & " degrees .
              Tomorrow we are expecting it to be: " & tomorrow_forecast & ". Temperature: between " & today_min_temp & " and " & today_max_temp & " degrees " using "Tom"
    else
              say "Today it will be : " & today_forecast & ", between " & today_min_temp & " , and " & today_max_temp & " degrees .
               Tomorrow we are expecting it to be: " & tomorrow_forecast & ", between " & tomorrow_min_temp & " ,and " & tomorrow_max_temp & " degrees " using "Tom"
              say "will that be all sir?"
              tell application "SpeechRecognitionServer" to set theResponse to listen for {"get my mail ", "yes", "notes", "repeat", "Music", "Sleep in"}
              if theResponse is "Sleep in" then
      delay 6
                        say "Time to get up sir,or you will be late"
                        tell application "SpeechRecognitionServer" to set theResponse2 to listen for {"Ok pat im getting up"}
                        if theResponse2 is "Ok pat im getting up" then
      set volume 35
                                  tell application "iTunes"
                                            set the sound volume to 0
      play user playlist "Wake up"
                                            repeat 10 times
                                                      if sound volume is less than 40 then
                                                                set sound volume to (sound volume + 10)
                                                                delay 2
                                                      end if
                                            end repeat
                                  end tell
                                  if theResponse is "Music" then
      set volume 20
                                            tell application "iTunes"
                                                      set the sound volume to 0
      play user playlist "Wake up"
                                                      repeat 10 times
                                                                if sound volume is less than 60 then
                                                                          set sound volume to (sound volume + 10)
                                                                          delay 2
                                                                end if
                                                      end repeat
                                            end tell
                                            if theResponse is "yes" then
                                                      delay 1
                                                      set theOptions to {"very good, sir, have a nice day"}
                                                      set theChoice to some item of theOptions
      say theChoice displaying theChoice with waiting until completion
                                            end if
                                            if theResponse is "get my mail " then
                                                      tell application "Mail" to launch
                                            end if
                                            if theResponse is "notes" then
                                                      tell application "Stickies" to launch
                                            end if
                                            if theResponse is "repeat" then
                                                      set CityCode to 1098081
                                                      set t_format to "C"
                                                      set v_format to "S"
                                                      set a_format to "Y"
                                                      set IURL to "http://weather.yahooapis.com/forecastrss?w=" & CityCode
                                                      set file_content to (do shell script "curl " & IURL)
      --looking for the line with actual condition
                                                      set theText to text ((offset of "yweather:condition" in file_content) + 1) thru -1 of file_content
                                                      set sub_1 to text ((offset of "\"" in theText) + 1) thru -1 of theText
                                                      set actual_condition to text 1 thru ((offset of "\"" in sub_1) - 1) of sub_1
                                                      set sub_1a to text ((offset of "temp=" in sub_1)) thru -1 of sub_1
                                                      set sub_1b to text ((offset of "\"" in sub_1a) + 1) thru -1 of sub_1a
                                                      set actual_temp to text 1 thru ((offset of "\"" in sub_1b) - 1) of sub_1b
                                                      if t_format is equal to "C" then
                                                                set actual_temp to (5 / 9) * (actual_temp - 32) as integer
                                                      end if
                                                      set theText to text ((offset of "yweather:forecast" in file_content) + 1) thru -1 of file_content
                                                      set sub_2 to text ((offset of "\"" in theText) + 1) thru -1 of theText
                                                      set today_min_temp to word 9 of sub_2
                                                      set today_max_temp to word 12 of sub_2
                                                      if t_format is equal to "C" then
                                                                set today_min_temp to (5 / 9) * (today_min_temp - 32) as integer
                                                                set today_max_temp to (5 / 9) * (today_max_temp - 32) as integer
                                                      end if
                                                      set sub_3 to text ((offset of "text" in sub_2) + 1) thru -1 of sub_2
                                                      set sub_4 to text ((offset of "\"" in sub_3) + 1) thru -1 of sub_3
                                                      set today_forecast to text 1 thru ((offset of "\"" in sub_4) - 1) of sub_4
                                                      set sub_5 to text ((offset of "yweather:forecast" in sub_4) + 1) thru -1 of sub_4
                                                      set sub_6 to text ((offset of "\"" in sub_5) + 1) thru -1 of sub_5
                                                      set tomorrow_min_temp to word 9 of sub_6
                                                      set tomorrow_max_temp to word 12 of sub_6
                                                      if t_format is equal to "C" then
                                                                set tomorrow_min_temp to (5 / 9) * (tomorrow_min_temp - 32) as integer
                                                                set tomorrow_max_temp to (5 / 9) * (tomorrow_max_temp - 32) as integer
                                                      end if
                                                      set sub_7 to text ((offset of "text" in sub_6) + 1) thru -1 of sub_6
                                                      set sub_8 to text ((offset of "\"" in sub_7) + 1) thru -1 of sub_7
                                                      set tomorrow_forecast to text 1 thru ((offset of "\"" in sub_8) - 1) of sub_8
                                                      if a_format is equal to "Y" then
                                                                say "The current conditions in Perth are " & actual_condition & " ,and the current temperture is " & actual_temp & " degrees"
                                                      end if
                                                      if v_format is equal to "L" then
                                                                say "Today it will be : " & today_forecast & ". Temperature: between " & today_min_temp & " and " & today_max_temp & " degrees .
              Tomorrow we are expecting it to be: " & tomorrow_forecast & ". Temperature: between " & today_min_temp & " and " & today_max_temp & " degrees " using "Tom"
                                                      else
                                                                say "will that be all sir?"
                                                                tell application "SpeechRecognitionServer" to set theResponse3 to listen for {"get my mail ", "yes", "notes", "Music"}
                                                                if theResponse3 is "Music" then
                                                                          set volume 20
                                                                          tell application "iTunes"
                                                                                    set the sound volume to 0
                                                                                    play user playlist "Wake up"
                                                                                    repeat 10 times
                                                                                              if sound volume is less than 60 then
                                                                                                        set sound volume to (sound volume + 10)
                                                                                                        delay 2
                                                                                              end if
                                                                                    end repeat
                                                                          end tell
                                                                else
                                                                          if theResponse3 is "get my mail " then
                                                                                    tell application "Mail" to launch
                                                                          end if
                                                                          if theResponse3 is "yes" then
                                                                                    delay 1
                                                                                    set theOptions to {"very good, sir, have a nice day"}
                                                                                    set theChoice to some item of theOptions

    What you do in this situation, is split the file into parts. 
    Start with:
    set theHours to hours of the (current date)
    if theHours > 18 then
              say "good evening sir"
    else if theHours > 12 then
              say "good afternoon sir"
    else if theHours > 6 then
              say "good Morning sir"
    else if theHours > 0 then
              say "get out of bed sir!"
    end if
    Add in a few lines of code to this file and see what happens. 
    add the on run, this would be clearer.  It is the default on unit to run.
    on run
        set theHours to hours of the (current date)
        if theHours > 18 then
            say "good evening sir"
        else if theHours > 12 then
            say "good afternoon sir"
        else if theHours > 6 then
            say "good Morning sir"
        else if theHours > 0 then
            say "get out of bed sir!"
        end if
    end run
    Now, it is time for debugging.
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set desktopPath to (path to desktop) as string
        log "desktopPath = " & desktopPath
    end run

  • Firefox won't close down all the way after watching a video. I exit out, and the sound continues. When I try to re-open firefox, I get a message about how I have to restart my computer. How do I fix this?

    Basically whenever I watch a video and I exit out of the video I have to restart my computer to get Firefox back open. If I exit out or go to a new page while the video is playing, the audio continues like nothing has happened. I've checked my task manager and it shows that Firefox is closed. When I try to re-open Firefox I get an error message that tells me Firefox is running but is unresponsive and I have to restart my computer. How do I get it to stop doing this?

    Try holding control, alt and delete down in succession and then a dialogue box will appear with windows task manager. Once open click on the Processes Tab and look for firefox.exe. Highlight this and then click end process. It should come up with a warning but just click Yes. This should then close firefox and allow you to reopen it from your desktop without shutting down your computer. Hope this helps.

  • Safari won't close down, all windows remain open

    mac book won't shut down because Safari won't close

    Command + Option + Esc will force quit Safari.
    OS X: How to quit an unresponsive application using Force Quit

  • Dear sir/ Madame sometimes firefox / explorer is locked, and the only way to tackle is to close down all explorer applications, what should I do? thank you very much

    for instance there is a web site so called fizy. I think it may be a reason for this.

    You say that 'sometimes' it gets locked ... it is quite probable that due to some reason/recent activity that you perform on your machine the memory consumptions increases a lot because of which the windows freeze.
    When it happens next time, try to open 'Task Manager' and check for 'memory consumption' also as to which process is eating max memory (then you can delete that particular process only and see whether it solves the issue)
    try this and let us know whether it helps or not

  • I run an iMac Intel Core2 due with mac OS 10.7.3.  One software package is HMRC Basic Tools and I am unable to install the latest updates.  I open them up enter my password and press enter and they close down.  Apple and HMRC are unable to help..ates

    I run an Imac Intel Core 2 duel with Mac OS 10.7.3.  I run a software package provided by HMRC and called a Basic PAYE Tools.  I am trying to install the latest 2012 update for the new tax year.  I have downloaded this with no problems and I click on the icon to open this.  I am asked for my computer password which I enter.  Then press enter and the update closes down.  I have tried this several times and the same thing happens.  I have the appropiate Adobe packages for this to work.
    Help please as Apple  helpdesk and HMRC helpdesk cannot find out why.  I have even obtained a CD with the updates from HMRC and the same thing happens.

    Thanks, this worked for me, too.
    At first I tried to Quit Virusbarrier x6 but it kept on running. Then I disabled the Real-time Scanner and it all worked fine after that.

  • Hi, Just bought an ipod classic 160gb and i notice that when I turn the volume down all the way, music is still heard, i.e. I cannot turn it down lower than a certain volume. Is there a fix for this? Thanks

    Hi, Just bought an ipod classic 160gb and i notice that when I turn the volume down all the way, music is still heard, i.e. I cannot turn it down lower than a certain volume. Is there a fix for this? Thanks

    I've got a feeling that's the way it is. I know that if I turn the volume down all the way, I can still hear the music very softly -- which is great for listening when I have a migraine!

  • My apple ipod 32mb has turned all the icons upside down and backward. How can I fix this.

    Apple iPod Touch 32mb has turned all icons upside down and backward. How do I fix this.

    I really do not understand. Try the basics:
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • Open & close iTunes every night via Apple Script

    What I would like to do is have my Mac come out of sleep at 3am, open iTunes and download all my podcasts and then go back to sleep. Is this possible with Apple Script?

    In System Preferences>Energy Saver click on 'Schedule' and set 'Start Up or Wake' to 3 AM
    In iCal set up an event for 3.05, setting an alarm to Open File and selecting iTunes.
    Suppose you want to allow half an hour:
    In AppleScript Editor, write
    tell application iTunes to quit
    tell application "Finder" to sleep
    and save it somewhere as a script, not an application.
    Set up an event in iCal for 3.35 with an alarm, setting it to Run Script and selecting your script.

Maybe you are looking for

  • How do I view hidden media files on iPad Air?

    I recorded some interviews on a third-party app (Voice Recorder Pro) that I need to edit. I tried email the file to myself  from the app so I could access the .m4a file, but I got an error saying I need to download it from iTunes.  I cannot figure ou

  • Unable to install itunes due to 80070422 error using Win7?

    Please, please, please can someone help me resolve this error when trying to load itunes 10 - have tried everything , reg fixers, reinstalling windows components etcetc but still can not fix. The only thing left is to reimage - and not want to go dow

  • Better way to change telephone, fax and emails in mass?

    Hi, What's the better way to change telephone, fax number and emails in mass in ISU and CRM? ADDR_COMM_MAINTAIN and ADDR_PERSONAL_COMM_MAINTAIN functions seems to work fine for ADR2, ADR3 and ADR6.  But it does'nt update telephone in KNA1 and LFA1 ta

  • My iphone has crashed since the last software update

    I have an iphone 2g I think, is there a way to tell? But anyway it was working fine before I updated it with the lastest iphone software update and now the iphone has completely crashed. I connected it with the USB cable and it said Apple mobile devi

  • Linker problem compiling OCI8 on PHP 5.2.5

    System: Red Hat Enterprise Linux Server release 5.1 (Tikanga) GNU ld version 2.17.50.0.6-5.el5 20061020 gcc version 4.1.2 20070626 (Red Hat 4.1.2-14) Problem: I've downloaded and extracted the basic and sdk into: /opt/oracle/instantclient_11_1 Config