Tag Info

Hot answers tagged

72

Permissions are a pest. Basically, you need to make sure that all of those developers can write to everything in the git repo. Skip down to The New-Wave Solution for the superior method of granting a group of developers write capability. The Standard Solution If you put all the developers in a specially-created group, you can, in principle, just do: ...


29

This has not been said, so I want to quickly add it. To ensure that permissions issues do not crop their ugly head, make sure to set the following on your git shared repository's config file: [core] sharedRepository = true This will ensure that your system's "umask" settings are respected.


11

The Git User Manual describes how to share a repository in several ways. Exporting via the Git Daemon. Exporting via HTTP. CVS/SVN style, a single shared repository where developers push/pull. More complicated, though feature-full ways to share repositories are: Gitosis Gitorious GitHub (or GitHub Firewall Install) We use GitHub for a team of 6 ...


7

Also look at gitolite for hosting your git repository. Gitosis apparently isn't being developed anymore.


6

quoting and answering your questions: > "...I want it's localhost to be available from other computers" Sorry, but "localhost" (meaning "this computer") is the standard hostname given to the address of the loopback network interface. The name is also a reserved domain name, so you can't make computer's localhost to be avalible from other computers. > ...


6

This is entirely possible with NTFS rights, but it is far from a standard configuration. We had to do something similar, create drop-boxes: directories where students could copy in files, but couldn't delete them once there, or see any other directories. Doable with some custom work. The key is understanding how different rights behave when set on files and ...


5

The ldconfig command will show these paths for you... ldconfig -v | grep -v ^$'\t' The paths are set in /etc/ld.so.conf and /etc/ld.so.conf.d.


5

Shares are listed in SYSTEM\CurrentControlSet\Services\LanmanServer\Shares registry key, you can delete the entries there, after a backup of the key (source)


5

My question is how can i secure that the files that are in the shared folder open once a time so everytime only one user from the network can edit the specific file. That's built-in by design. It's called opportunistic locking, see here: http://support.microsoft.com/kb/296264 By default, opportunistic locking is enabled for server message block ...


4

You are really asking two entirely different questions. Here are the answers I'd give: Will my VPS's performance be dependent on other VMs on the same physical server? To some extent, yes, although (unless the admins are incompetent) you will receive at least the performance you pay for. Many VPSes are setup so that you can draw more above your set ...


4

Using ldd you can see the dynamic libraries that are linked to a specific binary file. Like so: $ ldd /usr/bin/wget linux-vdso.so.1 => (0x00007fffa5dff000) libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f4d3280e000) libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f4d3247e000) libdl.so.2 => /lib/libdl.so.2 ...


3

I work for a web hosting company and have made a number of observations over time: Shared hosting is inherently less reliable that renting a virtual server. The reason for this is that on a shared box you're going to be co-habiting with possibly 1500-2000 other websites. The biggest problem we encounter are badly written scripts that soak up CPU and memory ...


3

One way to fix permissions in the shared repository, so users won't have permission problems when pushing, is to create a post-update hook script which will do just that. This should work in any git version. Suppose you have a shared repository in /myrepo.git. All files in that repository belong to say mysharedgroup. All users pushing to that repository ...


3

You could buy a reseller account and create sub-accounts for each domain. There is also the possibility of just using a regular shared hosting account with cPanel as long as the plan offered by the host supports "add-on" domains, in which case they will all sit in your public_html in their own directory.


3

Reduce bandwidth - You may want to use a free CDN such as CoralCDN or SimpleCDN and temporarily redirect visitors to the CDN domain. That's what people normally do for the slashdot effect. Reduce CPU load - You could also present a static cache of your site made using httrack or similar tool instead of a full dynamic one. Spread the load - Varnish can ...


3

Petras, The "number" of websites you are capable of hosting on a VPS is dependent on the type of load that each application is experiencing (and App Pool over head etc. too, of course). A better measure (although not definitive) would be how much traffic you are pushing - this is usually more indicative of the type of load your machine is under. You cannot ...


3

Lastly, you could use strace. strace <program_to_execute will give you a ton of info, including calls to libraries. It's not nearly as clean as the other answers, but it's another way of doing things. (and useful in its own right) --Christopher Karel


3

This use case is exactly what WebDAV excels at. I'd recommend going that way unless you want the added complexity of a proper Document management system (Alfresco, Sharepoint, etc.).


3

Yes. Essentially, the total bandwidth will be distributed amongst all competing users, so if someone has an application that talks enthusiastically enough to the internet, and if noone else is doing so, she'll get all the bandwidth. How things are decided if the bandwidth is contended is a long and complex issue, but the practical upshot is that unless you ...


2

You can use git-daemon to share the repository. Read the documentation for git-daemon for more information. EDIT: Also check this article 8 ways to share your git repository.


2

Also you could look at a standalone device such as an axis document server I have one of these at home and it integrates with AD/LDAP.


2

removing the front page does not affect the mysql version installed. I would speak to the provider and ask them to confirm what the software is telling you. and if the mysql is less then 4 I would change providers as they do not keep their systems up to date! Stuart


2

You can get the multifunction printers that just send you the scanned document via email. Simple and efficient...


2

If you ever came around updating this system to a newer version of Windows, take a look at Smart Card Group Policy and Registry Settings in the Technet docs. The smart card removal policy service available with Windows 7 would give you the desired locking/unlocking functionality out of the box. All you have to do is configure it. For older Windows ...


2

If they are allowing heavy users to cause problems to other shared users at any level then it doesn't say much for them. On the other hand you get what you pay for to some extent and expecting high reliability when you are paying so little is a bit optimistic. Upgrading may help but really your question is unanswerable because depends entirely on the ...


2

You can change your DNS now and it will have an impact, most definitely. However, if you are storing information server-side (I don't mean session state stuff, I mean taking orders, user input, content whatever...) then this might not be practical. It takes a full 24 hours for propagation to occur, but if you've got a static-ish site, you can definitely ...


2

if your just looking for any old .net application to test your server, there are many avialible, heres just a few of the top of my head: DotNetNuke Umbraco Mayando


2

If you're going to lose money, it's not the right solution.



Only top voted, non community-wiki answers of a minimum length are eligible