administration

Why ulimit can't limit resident memory successfully and how?

丶灬走出姿态 提交于 2019-12-09 09:45:23
问题 I start a new bash shell, and execute: ulimit -m 102400 ulimit -a " core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 20 file size (blocks, -f) unlimited pending signals (-i) 16382 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) 102400 open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u)

“500 - An error has occurred” in Joomla, when attemping to login in backend

一笑奈何 提交于 2019-12-09 06:46:06
问题 When I attemp to login in the backend using the right login of the Super User i get an error page "500 - An error has occurred." I have changed the Super User password by PhpMyAdmin and the error remains. I have installed Joomla 2.5 installed. 回答1: First you have change folder permission to 775 for the following folders: cache, logs, tmp & administrator/cache Then go to: configuration.php find code: $log_path = 'XXXXXXXXXXXXX'; $tmp_path = 'XXXXXXXXXXXXX'; and change code into: $log_path = '.

How to open Neo4J Webadmin to remote control?

坚强是说给别人听的谎言 提交于 2019-12-09 02:49:15
问题 I have installed a Neo4J instance on my server on port 7474. My domain is also using that server and I want webadmin to be used remotely with a username and a password like this: example.com:7474 Is there a way to do that? I could not find any guideline in the Neo4J documentation. 回答1: Did you get a chance to go through Neo4j Server Configuration documentation? It says: #allow any client to connect org.neo4j.server.webserver.address=0.0.0.0 This line in conf/neo4j-server.properties is

How to drop and create new repositories with a subversion server?

为君一笑 提交于 2019-12-07 16:32:59
问题 Ok so I just did something boneheaded. I'm setting up a subversion server for the first time ever that will be used by contractors. I did the 1 click setup, created my project and did my first check in of our application thinking that I'll go through later and remove the password information in the connection string in the configuration file. Duh... So now I need to delete that project within the repository and create it again so I can do the checkin this time without the password. Looking

Best source code control for a university environment (low overhead to manage repositories)

北城余情 提交于 2019-12-07 09:28:08
问题 Does anyone know of a solution (web hosted or otherwise) for a source code control system that would work well in a university environment where information technology is the focus? We'd like to offer it as a campus-wide "version-control service", much like universities do with an email service. Specifically, I'm talking about the following peculiarities: There are a large number of new repositories created/managed each semester . Any programming course or research project could require

Updating grep for Mac OS 10.7

你说的曾经没有我的故事 提交于 2019-12-07 08:38:50
问题 I would like to update grep on my Mac to a more recent version than 2.5.1, which came with Mac OS 10.7.2. My question is: what is the best way to update grep (or any similar program) for the Mac? I could use Fink or MacPorts to install a new version and set my path variable to look in the appropriate branch of the file tree, or I could update the grep program in usr/bin, or perhaps there's another approach that I haven't considered. Because I am relatively new to the command line and the Unix

Remote Administration of Windows XP through the Command Line

无人久伴 提交于 2019-12-07 04:42:51
问题 Does anyone know of a good way to do remote administration of a Windows XP machine using just the command line? At the moment the only things it needs to do is to be able to install applications/patches, and transfer files to and from the machine, and installing registry patches would be nice as well. Currently we use a horrible hacked together solution that uses NetMeeting, in the past I've thrown together a proof of concept using SSH for windows (at the time windows 2000) but it didn't work

IIS7 Profiling

我的未来我决定 提交于 2019-12-06 20:02:47
问题 Is there a way to profile IIS7? (freeware?) Number of connections Bandwidth usage Errors (Event Viewer?) -... thx, Lieven Cardoen ps: Something similar to mssqlserver profiling 回答1: Try out the Administration Pack for IIS 7.0. It has: Configuration Editor: The configuration editor module will help you manage your configuration files. This tool is available for server administrators only. It allows you to edit any section, attribute, element or collection in your configuration file. In

POST vs GET method for a search form in CMS

断了今生、忘了曾经 提交于 2019-12-06 18:31:46
问题 I'm a bit stuck with one thing. Just can't make up my mind on whether to use POST or GET method at my search form. Normally I would use GET method for such a form, so users could bookmark their results they got. But this time, the search form is present in administration area, so results are relevant shortly and there is no need to bookmark results and of course, they aren't public for everyone. To be more specific, the search feature is meant to be used along with a list of users, so there

What is the best conceptual approach, in Rails, to managing content areas in what is otherwise a web application?

妖精的绣舞 提交于 2019-12-06 04:28:09
问题 (A while back I read this great post: http://aaronlongwell.com/2009/06/the-ruby-on-rails-cms-dilemma.html, discussing the "Rails CMS Dilemma". It describes conceptual approaches to managing content in websites vs web apps. I'm still a beginner with Rails, but had a bit of a PHP background, and I still have trouble wrapping my brain around this. A lot of what I run into is customers who want a website that is not 100% website, and not 100% web app... That is, perhaps there are several pages of