<b>Linux Magazine: </b>"Q: What did one lumberjack say to the other lumberjack? A: Watch those logs. Now, what will you, as a system administrator, use to watch logs? Logwatch, of course."
Windows 2008 R2 might end up giving me a heart attack at some point.
Yesterday I installed and configured UDDI 3.0 as part of an ESB 2.0 install & config. After configuring UDDI 3.0, if I browsed to the localhost/uddi virtual directory from IIS, all of the links would show up in UDDI. If opened up IE and went to the UDDI site only the Home and Search links would show up.
You've probably already guessed at what the "fix" was... I had to Run IE as Administrator. Then when I browse to the UDDI site all of the links show up.
<b>Linux Tutorial:</b> "The book is organized into 9 chapters, holding a total of 99 recipes in all. Each recipe introduces the task, tells how to prepare to perform the task, offers the specific steps, describes how the task is supposed to work, and lists any additional information related to the task."
I have followed the instructions on this website www.rtcquickstart.org to set up my firewall, DNS settings, TLS, and have installed the TURN server and repro proxy as instructed, and have restarted repro. However, I am not able to access the web interface of repro on port 5080, either at localhost:5080 / 127.0.0.1:5080 or at the server's IP address: IPADDRESS:5080 (I have set the server's IP for binding in repro.config). I get the browser error message: 'Unable to connect to server' whenever trying to connect to the web interface via port 5080. I initially had Apache2 installed, which loaded pages correctly at port 80 / address root, and when checked it 'listened' at port 5080 after it was configured in /etc/apache2/ports.conf, however the repro web interface still did not work at port 5080. I have tried uninstalling Apache2 in case that was conflicting with repro's web server, but the problem persists, and testing port 5080 now shows that nothing is 'listening' on port 5080. I have tried reinstalling / purging repro but it has not helped. My router is correctly set to allow all ports; port 5080 is open and forwarding correctly. I can connect to the internet and ping all websites through the server and everything else is working correctly.
I would be gateful if anyone could offer advice on how to solve this problem.
A beginner emailed me last night and I had forgotten about this little ditty ! When you create a NEW project and immediately try to run the Web Site Administration Tool you will get this error. The solution is easy BUILD FIRST ! I remember being very confused the first time I got this :) ...Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
A beginner emailed me last night and I had forgotten about this little ditty ! When you create a NEW project and immediately try to run the Web Site Administration Tool you will get this error. The solution is easy – BUILD FIRST ! I remember being very Read More......(read more)
<b>Linux.com:</b> "A few days ago, a copy of Action Comics No. 1 sold for about $1.5 million. What makes a 72-year old comic worth seven figures? More importantly, what can system administrators learn from a guy who's been wearing tights and a cape for more than seventy years?"
Forgetting your password is always a pain, but luckily there’s an easy way to reset your Domain Administrator password. All you need is a copy of the Windows Server 2008 R2 installation disk and one simple command line trick. HTG Explains: What Is Windows RT and What Does It Mean To Me? HTG Explains: How Windows 8′s Secure Boot Feature Works & What It Means for Linux Hack Your Kindle for Easy Font Customization
So this is my second ASP.NET MVC 4 project. It's decided that for this one we will use this template and it was said in a way that I felt really stupid for not knowing how exactly this template will help us and what exactly we gain by using it.
I'm used to using HTML/CSS for the UI combined with jQuery. Now it seems that instead of jQuery we will be using bootstrap which as far as I understand is just another JS library created from twitter, so if that's it then this part is clear. What I really need to clarify for myself is what exactly this theme is used for, what is offering, why one would want to use such a theme? From what I see in the live demo maybe it's just a stack of premade controls that you can use in the front end along with bootstrap.js and maybe I'm just confused because on the page is shown as much as possible just for presentational purposes. If that's right, still I wonder where I can find info for the current theme, the controls that it offers and the functionality that I get and not least - how to use it.
But still those are just my assumptions. What I really need is a clarification on what exactly is this theme for, what is the advantage using it, is there a good tutorials about how to use such themes in the context of ASP.NET MVC 3+.
Also any additional info about this theme and generally on using themes in ASP.NET MVC will be much appreciated.
In my website there are no accounts except for those of moderators and administrators. That's why I don't want to show the login form to everyone but to these people.
I thought of using a weird URL for the login form like www.example.com/1a79a4d60de6718e8e5b326e338ae533 that only admins and mods would know. But it's a quite impractical solution, besides if someone would want to login in another computer and forgets this URL, then is unable to. Is there any more effective way?
Learn the PHP scripts that allow shoppers to change item details after they have added the items to their carts, as well as the scripts for administrators to add and remove items.
This is the continuation of part one which ran on Tuesday of last week. After deleting the styles lt style type= text css gt in the head section of MasterPage.master you will need to create an external CSS to solve the relative URL problems in the website. This will ensure that the background images and links work according to the master page design. This article will explain how to do this and more....
Comcast? Business Class - Official Site Learn About Comcast Small Business Services. Best in Phone, TV & Internet.
I have two models like this:
class KPI(models.Model):
"""KPI model to hold the basic info on a Key Performance Indicator"""
title = models.CharField(blank=False, max_length=100)
description = models.TextField(blank=True)
target = models.FloatField(blank=False, null=False)
group = models.ForeignKey(KpiGroup)
subGroup = models.ForeignKey(KpiSubGroup, null=True)
unit = models.TextField(blank=True)
owner = models.ForeignKey(User)
bt_measure = models.BooleanField(default=False)
class KpiHistory(models.Model):
"""A historical log of previous KPI values."""
kpi = models.ForeignKey(KPI)
measure = models.FloatField(blank=False, null=False)
kpi_date = models.DateField()
and I'm using RGraph to display the stats on internal wallboards, the handy thing is Python lists get output in a format that Javascript sees as an array, so by mapping all the values into a list like this:
def f(x): return float(x.measure)
stats = map(f, KpiHistory.objects.filter(kpi=1)
then in the template I can simply use
{{ stats }}
and the RGraph code sees it as an array which is exactly what I want.
[87.0, 87.5, 88.5, 90]
So my question is this, is there any way I can achieve the same effect using Django's _set functionality to keep the amount of data I'm passing into the template, up until now I've been passing in a single KPI object to be graphed but now I want to pass in a whole bunch so is there anything I can do with _set
{{ kpi.kpihistory_set }}
dumps the whole model out, but I just want the measure field.
I can't see any of the built in template methods that will let me pull out just the single field I want.
How have other people handled this situation?
Hello, I'm using django to create a application download site. I try to write a model, that the admin can add the different download content dynamically in the admin page. For example I have a software named foobar, it have 3 different version: 1.1, 1.2, 1.3. I would like the user can admin the model by using an add button to add the download link with a download version. But I don't know how to do this in django.
I'm trying to add a custom action to a core controller by extending it in a local module. Below I have the class definition which resides in magento1_3_2_2/app/code/local/MyCompany/MyModule/controllers/Catalog/ProductController.php
class MyCompany_MyModule_Catalog_ProductController extends Mage_Adminhtml_Catalog_ProductController
{
public function massAttributeSetAction(){
...
}
}
Here is my config file at
magento1_3_2_2/app/code/local/MyCompany/MyModule/etc/config.xml:
...
<global>
<rewrite>
<mycompany_mymodule_catalog_product>
<from><![CDATA[#^/catalog_product/massAttributeSet/#]]></from>
<to>/mymodule/catalog_product/massAttributeSet/</to>
</mycompany_mymodule_catalog_product>
</rewrite>
<admin>
<routers>
<MyCompany_MyModule>
<use>admin</use>
<args>
<module>MyCompany_MyModule</module>
<frontName>MyModule</frontName>
</args>
</MyCompany_MyModule>
</routers>
</admin>
</global>
...
However, https://example.com/index.php/admin/catalog_product/massAttributeSet/ simply yields a admin 404 page. I know that the module is active - other code is executing fine. I feel it's simply a problem with my xml syntax. Am I going about this the write way? I'm hesitant because I'm not actually rewriting a controller method... I'm adding one entirely. However it does make sense in that, the original admin url won't respond to that action name and it will need to be redirected.
I'm using Magento 1.3.2.2
Thanks for any guidance.
I'm trying to secure an application so that users can only see objects which are assigned to them. I've got a custom QuerySet which works for this, but I'm trying to find a way to force the use of this additional functionality. Here is my Model:
class Inquiry(models.Model):
ts = models.DateTimeField(auto_now_add=True)
assigned_to_user = models.ForeignKey(User,
blank=True,
null=True,
related_name="assigned_inquiries")
objects = CustomQuerySetManager()
class QuerySet(QuerySet):
def for_user(self, user):
return self.filter(assigned_to_user=user)
(The CustomQuerySetManager is documented over here, if it is important.)
I'm trying to force everything to use this filtering, so that other methods will raise an exception. For example:
Inquiry.objects.all() ## Should raise an exception.
Inquiry.objects.filter(pk=69) ## Should raise an exception.
Inquiry.objects.for_user(request.user).filter(pk=69) ## Should work.
inqs = Inquiry.objects.for_user(request.user) ## Should work.
inqs.filter(pk=69) ## Should work.
It seems to me that there should be a way to force the security of these objects by allowing only certain users to access them.
I am not concerned with how this might impact the admin interface.
I have a high traffic website running with Drupal and Apache, five web servers behind a Varnish server load balancing. Let's say this site is example.com. I'm using five backends and a director like this in my default.vcl:
director balancer round-robin {
{
.backend = web1;
}
{
.backend = web2;
}
{
.backend = web3;
}
{
.backend = web4;
}
{
.backend = web5;
}
}
Now I'm working on a new Django project that will be a new section of this site running on example.com/new-section.
After checking the documentation I found I can do something like this:
sub vcl_recv {
if (req.url ~ "^/new-section/") {
set req.backend = newbackend;
} else {
set req.backend = default;
}
}
That is, using a different backend for a subdirectory /new-section under the same domain.
My question is, how do I make something like this work with my director and load balancing setup?
I'm probably going to run two or more web servers (backends) with my new Django project, each one with a mix of Gunicorn, Nginx, and a few Python packages, and would like to put all of those in their own Varnish director to load balance.
Is it possible to do use the above approach to decide which director to use?, like this:
sub vcl_recv {
if (req.url ~ "^/new-section/") {
set req.director = newdirector;
} else {
set req.director = balancer;
}
}
All suggestions welcome.
Thanks!
I'm stuck. After setting up gitosis, cloning gitosis-admin for the first time results in the following:
$ git clone ssh://[email protected]:gitosis-admin.git
Initialized empty Git repository in c:/path/to/my/repo
Using username "git-upload-pack 'git".
fatal: The remote end hung up unexpectedly
Anyone ever experience this problem? Troubleshooting ideas?
We are running Microsoft Server 2003 with IIS. We would like to give our developers access to manage IIS (through IIS Admin) but do not want them to be administrators of the entire machine.
Putting them in "Power Users" group does not seem to work.
What permissions should we grant to our developers to allow them to manage IIS (e.g. add websites, modify app pools, etc.) without giving them full admin rights to the server?
I'm trying to configure my Windows 2008 servers so that my developers can view their status without needing to log on to the box or be an admin. Unfortunately, the permissions set in Windows 2008 for remote non-admin users don't include the ability to enumerate or otherwise query services. This causes anything that contacts the SCM on the far end to fail (Win32_Service, sc.exe, services.msc etc).
How do I set up permissions so that they can at least list the services and see if they are running?
I'm running VS2K8 in Win7 64-bit. I'm logged in as admin and I'm running it as admin, but the program I'm working on fails with access denied when I call a restricted API. If run the program from Explorer with "Run as Administrator" it works.
I was under the belief that VS2K8 debugs programs with whatever rights VS2K8 itself is running with. As it stands I can't debug my application due to this and I'm at a loss as to what's going on.
Hi,
when I'm logged in as a user that is not member of the administrator group the entry to create a new textfile is missing from the right click "New" menu.
If I give the user admin rights or start the explorer with admin rights the "New - text document" menu entry magically appears.
As far as I can see the registry entries are correct.
Anybody got a solution for that side effect of beeing a normal user in windows??
Regards
Hi all,
I'd like to know if there is a way for a user account to be enabled or elevated to carry out system admin tasks WITHOUT having to use the root account or sudo.
Goal here is to allow a user account to Add/Delete users/printers without giving them the 'God' powers that the root account carries, in a way setting up a restricted system admin essentially. Not sure if there is a way of doing this as most just use root to my understanding.
Is there a way to add a new App Path (for adding commands to Start-Run) without needing Admin?
With admin, you can add an App Path to HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths. I tried adding one under HKCU with no effect.
I've added a new (user-writable) location to my user's PATH environment variable which lets me launch things from Start-Run, but the nerd in me still wants to know about the App Paths.
Hi, I'm wondering if you could copy all the settings of an Admin-enabled profile to a standard user account? If not, is there an application that can help you achieve this?
I didn't know I've been running under Admin account all this time...