OS X V10.7 Lion :: Set PATH Environment Variables When There Is No ~/.profile?

Apr 18, 2012

I have a MacBook Air and just installed MySQL.I read the doc which I downloaded and should be able to run "mysql" from terminal as descibed below:Suppose that your MySQL programs are installed in /usr/local/mysql/bin and that you want to make it easy to invoke these programs. To do this, set the value of the PATH environment variable to include that directory. For example, if your shell is bash, add the following line to your .bashrc file: PATH=${PATH}:/usr/local/mysql/bin I checked on my terminal with ls -al, but no ~/.bashrc also no ~/.profile files.  Echo $SHELL shows me that I am using /bin/bash as shell.When I run export PATH=$PATH:/usr/local/mysql/bin  then it works and I just have to type "mysql" to get the mysql command line but as soon as I kill my terminal and open a new terminal this setting is lost.

Info:
MacBook Air, Mac OS X (10.7.3)

View 1 Replies


ADVERTISEMENT

Mac OS X Lion Server :: Restart Apache With Server-admin Environment Variables Set?

May 21, 2012

With any Unix machine, one can run at the command line:-  apachectl -S This will show all virtual servers configured in Apache, and will break if there are any obvious problems in the httpd .conf files. It's very handy for testing a new configuration before restarting the server. With Mac OS X Server though, this doesn't work properly. Sure, I can run that command and see a virtual server or two, but with the introduction of the server Apache wrappers, the command line tools read a very different configuration than the `serveradmin` tool does.

e.g. Wrappers like:-<IfDefine MACOSXSERVER>
....
</IfDefine>
or <IfDefine WEBSERVICE_ON>

[code]....

ps. Running `sudo serveradmin stop web && sudo serveradmin start web` really compared to `apachectl graceful`; it's painfully slow and doesn't provide a way to test a custom configuration before attempting to restart.

Info:
Mac Pro mid-2010, Mac OS X (10.6.4)

View 2 Replies View Related

Software :: Reset All Paths & Environment Variables To Default

Dec 21, 2009

Quite a while back, I had a real problem after installing some software from source that changed a lot of environment variables and stuff. Undoubtably, trying to rectify the situation without enough knowledge just exacerbated the problem.

Anyway, I still have a lot of frustrating problems when working in command line. For example, I just got an error telling me gcc isn't installed. Well that's unlikely, considering how much compiling I tend to do outside command line! However, whereis gcc does nothing.

Basically, I want to just reset all the problems I have caused and just set my paths back to default. I mean everything. Problem is, I dunno what they should be, and I don't know where to start. I know I have to sort my .profile, but even that is a bit taxing.

Which files should I be changing, and what changes should I make

View 2 Replies View Related

MacBook Pro :: Missing Profile - How To Find Its Path

Jan 14, 2011

Has anyone seen my .profile file? It had lots of paths in it, aliases and vars, so stuff just works not now.

Seriously, it is a big problem and I didn't expect this from a 5 month old MBP. Has this happened to anyone? Is there a way to recover? I was used to this sort on Windows and that was completely understandable on that platform. Please tell me Mac is not same as PC only nicer box.

View 1 Replies View Related

OS X V10.7 Lion :: Create A New Profile And Basically Move All Documents Over To The New Established Profile?

Apr 19, 2012

I've mitigated my profile from my older iMini to my new iMini.  Everything worked out fine but I've noticed that [on the new imini] I have to input my password twice.  Once I log on and input my password, my profile comes up and ask me again to input the password.  I also have a unsecured startup deice/item (display) message displayed once the system comes up. Can I create a new profile and basically move all my documents over to the new established profile. 

Info:
Mac mini (Mid 2011), Mac OS X (10.7.3), ..

View 1 Replies View Related

Mac OS X Lion Server :: Migrate Local User Profile To Active Directory User Profile

Mar 22, 2012

I have Macmini 2.1 2007 year

After install 4 GB RAM (work only 3 GB) i install MAC OS X 10.7.3

Now i joined Macmini to Domain Active Directory 2008 R2. Joined via standard tools.

Macmini have a local user.

How i can migrate all settings, all data local user to Domain user? 

When i used MAC OS X 10.6.8 i can joined to Domain via Likewise Open, and after i can use Likewise tools for migrate.

But now, in MAC OS X 10.7.3 i can't joined to domain via Likewise... and use migrate tools. 

View 1 Replies View Related

OS X V10.7 Lion :: Base OS Install For Dev Environment

May 11, 2012

Is it possible to create a base install of Lion with MySQL, Git, Pear, PHP Unit / DBUnit Test and other tools and have it sitting on a server or Time Machine? I am looking to create a dev machine so 3 developers have the same environment and when any other people join we can just order the Mac Mini and install the base system. Not bothered about actual applications, just a base install?

Info:
Mac OS X (10.7)

View 7 Replies View Related

OS X V10.7 Lion :: Integrate Apple Macs In A Windows Environment?

Mar 14, 2012

Mac OS X offers a method by which you can "join" an Active Directory server by going through System Preferences --> Users and Groups --> Login Options --> Network Account Server. Is this the same as making a windows pc join a microsoft domain?

If so, is this the preferred method of integrating Apple Macs in a pre-dominantly windows environment. 

Info:
Mac Pro, Mac OS X (10.6)

View 1 Replies View Related

OS X V10.7 Lion :: See The Doc Path In A Program Like Pages?

May 21, 2012

How do I see the doc path in a program like Pages? Lion's lack of "save as" means that (as far as I can see) the only way to see the path of the Pages doc I'm working on is to 

1) make a duplicate

2) save the duplicate (which shows me where the original was. 

Info:
iMac (27-inch Mid 2011), Mac OS X (10.7.2)

View 3 Replies View Related

OS X V10.6 Snow Leopard :: Move Profile Data To New Profile?

Apr 5, 2012

my system fonts are jacked up and fill in lines in Safari are not readable as the text is bigger than the fil in window. Also my laptop is running harder, hotter and the battery life is less than half of what it should be. I also get text overlap line to line sometimes in Safari. 

I have restored my OS with a clean install and then recovered my profile from Time Machine, this is how I discovered its my profile. I added a clean profile the first time I rebuilt the mac and it ran much faster, with less hardware usage and longer battery life. Once I began to recover my profile the system was same as always slow with Safari issues mentionee earlier. I switched to the temp user account profile and the system is fast no Safari issues and less intensive activity going on, battery life good etc.  

If I rebuild the mac again I am not able to recover the profile/account without issues, I would like to move just what I need to a new profile/account from Time Machine but it doesn't allow access to the original admin account for a selective restore. I would like to be much more granular about the restore and just move my documents and such. I don't want to recover the applications or application data at this point as I don't need it. I would rather re-install just the apps I need at this time. Other option would be to clean my account/profile so that it runs as it should or move everything I want (mostly documents)  to a new profile for improved use.

Info:
Macbook book pro 17, Mac OS X (10.6.8), FCP7

View 1 Replies View Related

OS X V10.7 Lion :: How To See Path Of Current File In TextEdit (or Any App)

Feb 22, 2012

Pre-Lion the way to see the path of the file you are currently looking at (in any app, but for simplicity let's say TextEdit), was to select Save As... and it would default to the directory the file is open in. At least that's the way I did it... 

So now in Lion (which I generally like) how do you see what directory your current file is located in?? 

Info:
Mac OS X (10.7.3)

View 3 Replies View Related

MacBook Pro :: How To Display Path In Spotlight On Lion

May 23, 2012

The function of Spotlight has changed so that it no longer displays the path of a selected file.  There are additional keystrokes that need to be performed to display path.  Not only is this change inconvenient and frustrating it is also a productivity killer.  Those 2 or 3 seconds to click on a box or do a key combo add up at the end of a long project.  Does anybody know if Apple has Business Analysts that vet any proposed changes like this.  If so, are the BAs keeping the path open that goes to us users.

Info:
MacBook Pro (15-inch 2.53 GHz), Mac OS X (10.7.4)

View 4 Replies View Related

OS X V10.7 Lion :: Spotlight No Longer Shows The Path Of A Search?

May 2, 2012

In Lion, the spotlight no longer shows the path of a search. Can I restore that?

Info:
iMac, Mac OS X (10.7.3)

View 1 Replies View Related

OS X V10.7 Lion :: Find The Path To A File In A Spotlight Search Result?

May 24, 2012

how to find the path to a file in a Spotlight search result. In Snow Leopard I would get the path to a file or folder by just holding the mouse over the search result in Spotlight. I don't see that in Lion.

Info:
iMac, Mac OS X (10.7.3)

View 2 Replies View Related

OS X Mountain Lion :: How To Find Path To Folder Listed In Spotlight

Aug 25, 2014

When I have an item listed in a Spotlight search that is in a folder I'm actually looking for, how do I figure out where the folder is located?  I often remember a document or app and want to add something to the same folder, but can't find it-- Spotlight does not give the path that I can see. 

Info:
Intel IMac, Mac OS X (10.4.6)

View 8 Replies View Related

Applications :: Does Pages Have Fields/Variables

Sep 19, 2009

One feature I like about NeoOffice is the ability to create user-defined variables (what it calls Fields) and then insert them into the text. If you were writing a contract, for example, one variable could be a name. By inserting a variable several times in a document, you can save time and effort updating the document by simply changing the variable's value and having the several instances in the text updated automatically.

View 1 Replies View Related

OS X V10.7 Lion :: Automator Workflow With Create Package Action: Launch Path Not Accessible

Apr 5, 2012

I am using this action in a workflow.  I have downloaded the Auxiliary Tools and put PackageMaker in /bin.  When I run the workflow, it barfs on this action.  The error message is "launch path not accessible."

Info:
Mac OS X (10.7), iMacs, MacBook, and iPhone 4

View 1 Replies View Related

OS X Technologies :: Creating Folder Names With Variables In Applescript?

May 30, 2012

im trying to make folders and name them with structured names but im getting an error and im not sure what im doing wrong.  

the error i get is:Finder got an error: Can’t make "/Users/USERNAME/Desktop/Fake Server/Project Name" into type item.  ----------------------these variables are just used for my example, the actual script asks for input and makes that into the variables ------------------- set the_folder to "Macintosh HD:Users:USERNAME:Desktop:Fake Server"set theChosenOne to "Selected"set Code to "ABCD"set Number1 to "12345" set projLocation to (POSIX path of the_folder & "/" & theChosenOne)set folderTags to Code & " " & Number1 tell application "Finder" make new folder at projLocation with properties {name:folderTags & " artfile"}end tell

Info:
Applescript, Mac OS X (10.7.4)

View 6 Replies View Related

OS X V10.7 Lion :: Cannot Delete VPN Profile

Mar 25, 2012

I installed a new VPN profile to connect to a MacMini Server on System Preferences > Network, and I found there an old VPN profile that I don't want to use anymore. I tried to disable the service, but the delete button is greyed out, even if this service is active.  

How can I remove this old VPN Profile?  

View 5 Replies View Related

OS X V10.7 Lion :: Can't Change Profile Pic?

Jul 3, 2012

It seems stuck on the soccerball on the user profile in System Preferences. I've tried changing it to my picture and then tried changing it to one of the dumb icons that come with the system, and still won't change. I did unlock the lock in the lower left corner. I was even allowed to change my login items but I can't change the picture. Any ideas on how to fix this?

Info:
MacBook Air, Mac OS X (10.7.4)

View 2 Replies View Related

Mac OS X Lion Server :: How To Backup Profile Manager

Mar 9, 2012

Is there a way to backup the database in the profile manger?

Info:
iPhone 4, iOS 4.3.3

View 3 Replies View Related

OS X V10.7 Lion :: User Profile Not Saving Any Preference Changes

Apr 22, 2012

I have a secondary user account who's preferences will not save. I have tried making it an administrator, but that hasn't seemed to help. The dock changes oringinally weren't saving, and I deleted the plist file, but that was a one time fix. I made changes once, and it only saved them once. Also, I have an application (Steam) that has been set to open when the user signs on. I have tried removing this program both through its own preferences panel, and also through the Start-Up items menu in the user preferences on the computer, and neither one is working.

Info:
MacBookPro, Mac OS X (10.7)

View 5 Replies View Related

OS X V10.7 Lion :: Terminal Doesn't Execute Profile

Jun 26, 2012

I am trying to add a PATH input so that I don't have to keep using ./ for commands that aren't system-native. The problem is that bash doesn't seem to be executing any of the .profile commands.

Info:MacBookPro, Mac OS X (10.7.4)

View 4 Replies View Related

Mac OS X Lion Server :: Profile Manager Error After Logon

Mar 12, 2012

I am working on getting profile manger working on 10.7.3. After turning profile manger I can get to a logon screen but after I logon I get this error in my browser. I am guessing the issue is with apache routing but I don't know. 

View 5 Replies View Related

Mac OS X Lion Server :: Can't Access Profile Manager From Client

Apr 14, 2012

10.7.3 private server (hostname is myserver.private) with profile manager turned on.I can access the profile manager locally from the server through https://myserver.private/mydevices, but when I try the same thing from the client (as suggested in the help window) I get the following error in Safari: Safari can't find the server Safari can't open the page

View 3 Replies View Related

OS X V10.7 Lion :: Can Use Time Machine To Access An Old Deleted Profile

Apr 29, 2012

For a couple of years I was backing up my old MacBook using Time Machine to a 1T Time Capsule. I had two profiles on my Mac, but eventually I deleted one of the profiles. I always thought I could use Time Machine to go back into the Time Capsule and retrieve files from that deleted profile from a date before it was deleted, but it seems it will only access my main profile.

Info:
MacBook, Mac OS X (10.6.4)

View 2 Replies View Related

OS X V10.7 Lion :: After Updating To 10.7.4, Second Monitor Lost Its Color Profile?

May 24, 2012

Is Apple aware - how can I inform them of my issue - do I have to wait months and months till 10.7.5 comes out, for a solution?

Info:
MacBook Pro, Mac OS X (10.7.4)

View 2 Replies View Related

Mac OS X Lion Server :: Profile Manager App Upload Failure

Jul 2, 2012

Trying to upload a IPA for ad-hoc deployment to a device group of IOS devices. File goes to upload and nothing happens.

Profile Manager Log has the following exception:
Jul 3 13:03:07 cif-podcast.qut.edu.au ProfileManager[441] <Error>: Caught unhandled exception undefined method `each' for nil:NilClass at /usr/share/devicemgr/backend/app/models/cfprefs_knob_set.rb:45:in `replace_string_types' ....

View 2 Replies View Related

Mac OS X Lion Server :: How To Disallow Removal Of The Remote Management Profile

Feb 2, 2012

If our users can simply remove the Remote Management Profile and have access to everything anyway, what is the point of remote management? I need to be able to lock this profile down so that it cannot be removed without a password, but I see no way to do this. Is this a giant bug in the software or am I missing something?

Info:
iPad 2, iOS 5.0.1, Lion Server 10.7.2

View 1 Replies View Related

Mac OS X Lion Server :: Push Shortcut Desktop Via Profile Manager?

Feb 9, 2012

I've been looking around and I have yet to find an explanation or guide on how I could push shortcuts to websites and applications to the IOS/OSX Desktop or Dock via profile manager? I feel like the functionality is there, but I'm just missing something really obvious.

Info:Mac OS X (10.7)

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved