0
votes
0answers
16 views

Centos virtualbox proper configuration [on hold]

I'm trying to setup Centos 6.5 on Mac OSX so that: CentOS can use internet using NAT mode adapter 1 (eth0) Host (Mac OSX) can connect to Guest (CentOS) using static ip via Host Only mode adapter 2 ...
0
votes
0answers
7 views

How can I get Homebrew working under Mavericks? [migrated]

I had been doing most of my POSIX development on something other than my Mac after upgrading from Mountain Lion to Mavericks, and when I came back, Homebrew was not functioning at a smoke-test level. ...
0
votes
0answers
145 views

Load testing HTTPS with Siege (open auth)

I am trying to load test our new website with siege. It is currently behind basic auth. I have edited my .siegerc file to include the right username and password (I've checked many times that it is ...
1
vote
1answer
46 views

How Ubuntu 12.04 re-install handles /var on separate partition

To add some context to my question, the majority of my experience is with Mac OS X. The default installation process in modern versions of Mac OS X, for volumes on which Mac OS X is already installed, ...
-1
votes
2answers
151 views

zcat/gzcat works in linux, not on osx. general linux/osx compatibility

First the specific problem: In linux, I use zcat to list a .zip file. In osx, zcat seems to automatically append .Z to the file name. Various people suggest replacing zcat with gzcat; however, gzcat ...
1
vote
2answers
84 views

How to directly query authoritative DNS nameserver from command line, bypassing cached servers? [closed]

How can I directly query authoritative DNS nameserver from Linux and Mac OS X command line, bypassing cached servers? This is helpful when wanting to immediately verify newly-created DNS host names ...
0
votes
2answers
37 views

Getting the executed source from bash

Okay, this is a last attempt to see if I can salvage something I accidentally did. I accidentally did "command > ~/.profile" instead of "command >> ~/.profile" on my computer. I didn't have it ...
-1
votes
2answers
136 views

ARP Command doesn't display all devices

I have a machine on my network that needs to create a list of all mac addresses connected to the network. This is running OSX when I run the arp command it doesn't always display everything connected ...
1
vote
1answer
191 views

Why does OS X spend one more packet to establish and close a TCP connection?

Linux spends 3 packets to establish a TCP connection and 3 packets to close it, as shown by the tcpdump capture # establishing TCP connection 22:37:09.150456 IP 127.0.0.1.49327 > 127.0.0.1.8000: ...
1
vote
1answer
52 views

OpenLDAP Authentication in Mixed Enviroment

I am preparing to setup a small network with single sign on capability provided by and OpenLDAP server that runs on OpenBSD 5.3. Currently, I am able authenticate an Ubuntu 13.04 client against the ...
1
vote
1answer
117 views

Controlling rsync bandwidth usage by percentage of available bandwidth, in userspace?

I often use rsync on a OSX-based laptop to synchronise some files from it to a Linux server. The laptop can be connected to different networks with greatly varying bandwidths (office ethernet, wifi, ...
1
vote
0answers
142 views

Write issues on Linux Samba shares with OS X clients

Our web development company has a Linux server with a Samba share which employees use to develop websites. On the Samba share are numerous directories which serve as document roots for a webserver ...
0
votes
1answer
269 views

Apple XServe not booting from anything (USB, CD) - Prohibited Sign

I have an XServe (Early 2008) which was working good before, however, I recently deleted all my raid drives because I wanted to recreate them. So now, I have nothing, no recovery partition or ...
0
votes
2answers
510 views

Apple XServe, Installing Linux on it? [closed]

Basically, I will be running multiple VM's on my XServe. I wanted the Main OS to be very lightweight and not a memory hog. I am not sure but I feel like OS X Server is not very lightweight, also ...
1
vote
5answers
693 views

Sharing folder from Linux to Mac, Samba or NFS? [closed]

When I need to access (read/write) to a folder of many files under Linux from Mac OSX, there are two options: Install Samba in Linux and share as Windows share Share via NFS Which one is the ...
3
votes
1answer
513 views

Setting up a Linux Ubuntu Server to provide Samba, AFP and Windows Roaming Profiles

I'm replacing our old Windows XP Pro office server with a HP Microserver running Ubuntu Server 12.04 LTS. I'm not a Linux expert but I can find my way around a terminal prompt, I'm a Mac user by ...
0
votes
1answer
72 views

Is it possible to migrate OS X Server user passwords to Linux?

I have an FTP server running on OS X Server 10.6 and I would like to migrate it to CentOS. Is it possible to migrate user passwords from OS X Server to Linux?
1
vote
1answer
1k views

Some SSH tunnels reporting connection refused between Linux VM and OSX Lion

I'm trying to connect to a set of services running on a Centos 6.3 VM guest (VMware Fusion 4) from a Mac OS X Lion host. I've setup .ssh/config script in /var/root: Host testbed Hostname testbed ...
3
votes
1answer
702 views

How to add a broadcast address to loopback with ifconfig on a OS/X?

I am trying to use ifconfig to turn on broadcast on my loopback interface. It currently reads: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 As you can see, no broadcast address! ...
1
vote
1answer
2k views

VirtualBox failure building guest additions module

Having trouble installing GuestAdditions in VirtualBox / Vagrant running under Mac OS X 10.8 (Mountain Lion). I haven't worked with VB/Vagrant before nor much with Linux so looking for a little ...
3
votes
3answers
266 views

rsync --link-dest behaviour when run as sudo

In order to create regular backups, I'm using rsync together with --link-dest so as to create hard-links for unchanged files. For example: rsync -ax \ --partial --delete --delete-excluded ...
6
votes
7answers
537 views

Centralized virtualization (ESXi, XenServer) in a completely Windows-free environment

I'm looking into deploying a small (one or two host servers) non-production virtualization initiative for our company. We need it to be high performance and host shared resources for a number of ...
2
votes
0answers
361 views

NFS inherit permissions from shared directory - Mac OS client

Short question: Is there a way to have files on a NFS share on a Mac OS client inherit the permissions of the shared directory? Scenario: Ubuntu 12.04 server Mac 10.7.4 client shared directory has ...
3
votes
1answer
596 views

Is it possible to determine WiFi type with a Linux / Mac command?

At the co-working space that I am in, there are a number of wireless access points around. However, there is one that only some of us are able to connect to. We suspect it is because the access point ...
4
votes
3answers
170 views

Moving files off volume and then back on while preserving all attributes?

I have a situation where I'm testing a new filesystem that has an issue with some metadata. All of the files are intact, however I ultimately have to effectively move every single file off to another ...
1
vote
0answers
291 views

NFS mounted from Mac OS X Lion doesn't update

Using Mac OS X Lion 10.7.3, I mount my NFS share exported from a Linux machine like this: My machine is a Linux 3.2.0-17-generic. $ sudo mount_nfs -P precise:/media/sda2/datas/SAB /media/nfs1 ...
0
votes
1answer
77 views

Symbolic linking of client (Mac) directory to server (Linux) directory

How can I link a directory on a Mac to a remote directory on a Linux server? The Linux server has Samba and SSH available, and I can add other services if necessary
1
vote
2answers
1k views

Can't contact LDAP server remotely from Mac

I'm trying to configure a LDAP server with some basic security parameters, including TLS and required authenticated binding. I have started the server, and can access it from localhost with the ...
2
votes
0answers
616 views

how to tune NFS client on MacOS to get Linux like performance?

I have a NFS server running Linux and exporting a couple of shares. Both Linux and MacOS clients connect to the server, and while with the Linux clients I get ~ 75MB/s write speed, the MacOS clients ...
0
votes
1answer
225 views

What is my 'export PATH=' missing?

I am on Mac OSX Lion, and somehow in installing mysql and postgres the export PATH line on my .bash_profile got messed up or removed. So I added in this in an empty .bash_profile: export ...
1
vote
1answer
73 views

ssh from username1@client to host using username2@destination

Forgive the possibly simple question, but I cannot seem to find a good solution. A backup job needs to rsync files to a destination host, over ssh. The only login available to me is ...
0
votes
1answer
879 views

What is the simplest way to deploy a Captive Portal?

How do I setup in the simplest of ways a Captive Portal? One that is possible on a setup of 1 wireless router and 2 computers. No billing, only authentication. Also, is it possible to do with Mac OS ...
1
vote
5answers
2k views

How to use a local (OSX) editor to edit remote (RHEL) files?

What's an easy way to be able to edit remote files such as bash scripts? Currently I'm using Vim on the server, but that's obviously not ideal, particularly when lag is noticeable. On Windows, I'd ...
0
votes
1answer
20 views

Getting the current status (logged in/current program running) of OSX systems in a local network?

I'm exploring building an internal site that displays what computers in the lab are currently being used. My initial idea involved a webapp that took in info from each computer every 5-10 minutes and ...
1
vote
2answers
301 views

File sharing between MAC, Linux

Here is what I want to do: Share files between MAC OSX (snow leopard) machine and Ubuntu (10.* and 11.*) on a local network. I know 2 solutions: Samba: easy to setup but it is not case sensitive ...
2
votes
5answers
823 views

Safe way to determine size of a file using unix tools?

I wonder, what's the best way to determine the size of a file using common unix tools. I need to determine the size of a file in bytes in a shell script. The problem is, that the shell script needs to ...
1
vote
0answers
186 views

Using OSX home directories from linux

I'm running an OSX (Snow Leopard) Server with OpenDirectory, which is nothing else than a modified OpenLDAP with some Apple-specific schemas. However, I want to reuse this directory on some of my ...
0
votes
1answer
98 views

rsync inconsistancies

It appears that not all files are copying over when using rsync to copy files from a mac to a FAT formatted external drive. I'm copying over 45 files and the 43 file looks like it's missing and ...
0
votes
1answer
178 views

Cascading smarthost in postfix failed

For some reason, we have three MTA namely MTA-A (IP:10.1.8.1), MTA-B (IP:10.1.9.1), MTA-C (IP:10.1.10.1):- MTA-A is a MX exchange which is responsible for local delivery only MTA-B is a MTA ...
1
vote
1answer
993 views

LDAP User Management Tool for Mac 10.7.1

I have been using Luma on Linux to create and manage LDAP user accounts. I've now a macbook pro, and am looking for an equivalent program for Macosx - something that will automatically and correctly ...
2
votes
2answers
167 views

Macbook / Linux Octal Dump on a Directory [closed]

I'm reading "The Unix Programming Environment". Its discussion of directories makes frequent use of the od command to get an octal dump of a directories' contents. But at some since 1984, usage of ...
1
vote
0answers
289 views

Connect to OpenLDAP with Mac OS X Workgroup Manager?

I would like to be able to manage my openldap server using the mac os x workgroup manager. How do I authenticate as it asks for a username and password as opposed to DN? I believe it has something ...
2
votes
1answer
646 views

Making a multi hop SSH tunnel a mysql server (3-4 hops)

I'm trying to get to a mysql server on a remote network, and to get to it I currently have to do several ssh hops, so I can use the mysql command line interface. I'd really like to do a mulit-hop ...
0
votes
2answers
576 views

How to reload AppleFileServer without unloading it?

I am using this commands to restart my AppleFileServer for sharing. But how I can reload it, without killing, or unloading it? sudo killall DirectoryService sudo AppleFileServer sudo launchctl ...
0
votes
1answer
143 views

How can I run terminal commands at startup on a Mac OSX server?

For example, when the server boots I need to start Tomcat, and I need to start an Android emulator, and then issue some commands to it. These are on the path already. I'm familiar with Linux and ...
3
votes
4answers
208 views

What is the canonical /portable means of determining ONLY the ip of an interface

I'm writing some setup scripts/documentation and I want to dynamically set the listen ip for a service, given that I know that a particular network interface will be on a particular network. There are ...
-1
votes
2answers
119 views

Finding out how host names are resolved [closed]

I'm working on a network analysis tool (academic research), and I would like to find out what DNS is used on the machine the software is running on. I'm not a network admin, and I'm wondering: what's ...
1
vote
3answers
522 views

sync local OSX with remote linux server using ftp via shell script

I would like to sync a local folder on my Mac to a remote ftp server. I only want to upload files changed since last sync. I would also like to download new and modified files from the server. Is ...
1
vote
2answers
160 views

Can I create a RAID0 using two partitions on the same drive?

This question pertains to either Linux 2.6 and/or the latest Mac OS/X. My goal is data integrity, not speed. I have way too much disk space anyway. I gather under Linux I need to use the mdadm ...
2
votes
3answers
64 views

Networking OSX BSD Book Commands [closed]

I am looking for a good source (book, online) of networking on mac osx or linux. What commands, how to connect, send data, security (checking for intruders) etc.. Setup server. Thanks for the time.. ...