aliyev's notes

  • About

Windows Server 2008: Install Windows PowerShell

November 2, 2010, by admin No comments yet

PowerShell, Microsoft’s replacement for the commandline, is included with Windows Server 2008, but you do need to install it. Here are the steps you need to take to get PowerShell up and running on your server:

1. Click Start and select Server Manager.

Read more →

How to remove Delegate Control on Active Directory

September 28, 2010, by admin No comments yet
If you have allowed a user delegate control permissions. For example, for the user to be able to modify groups but you now wish to remove the control, follow the instructions below:

1 ) Open Active Directory Users and Computers
2 ) Click View
3 ) Enable Advanced Features (If already enabled, you should see a tick)
4 ) Right click on the folder you set delegate control on
5 ) Click properties
6 ) Click the security tab
7 ) Remove the user/group
8 ) Click ok

Smarty error with Google Analytics

May 20, 2010, by admin No comments yet

The error appears after modifing a page and load it for the first time.
If the analytics tracking code removed from the template (*.tpl), the error does not appear.

Solution:

wrap around your js code with {literal} {/literal}

Example:

Read more →

Use .htaccess to Deny Access Directory Listing

May 14, 2010, by admin No comments yet

Don’t have an index in all your directory’s? Many people create a blank index.html file in every directory to prevent directory listing. It’s ok for a small website, but imagine if you have a website that has hundred or thousand directories. The easiest way is to write a htaccess file, include the following line in your .htaccess file to deny access to all the directory listings, if there is no index file.

Options -Indexes

Changing default gateway on MS Windows using command line

June 28, 2009, by admin No comments yet

Despite the fact this post is quite fat from Ubuntu or Linux I decided to puclish it here as find this usefull and sometimes neccessary.

So here we are on how to update default gateway using command line:

netsh interface ip add address “local area connection” gateway=100.1.1.5
gwmetric=2

How To search for an string in a file using grep

April 23, 2009, by admin No comments yet

grep searches the input files for lines containing a match to a given pattern list. When it finds a match in a line, it copies the line to standard output (by default), or does whatever other sort of output you have requested with options.

grep can simply be invoked: $ grep ‘STRING’ filename

Read more →

Setting the Date and Time in Linux

October 8, 2008, by admin No comments yet

Run the date command to make sure you have the correct time:

[root@server /root]# date
Thu Sep 20 11:00:06 CDT 2001
[root@server /root]#

If your timezone is correct but the date and/or time needs updating, the following commands will update the date and time. The second command is needed in order to push the date and time into the PC clock.

[root@server /root]# date 092011082001
Thu Sep 20 11:08:00 CDT 2001
[root@server /root]# hwclock --utc --systohc
[root@server /root]#

Free WordPress themes and Hidden code

September 10, 2008, by admin No comments yet

If you are using a free wordpress theme, make sure that the footer does not contain hidden code. I’ll show you how to find and unhide that hidden code below, something that many people starting out with WordPress miss. Such a mistake can have you linking to bad link partners which can cause your site to never rank well with the search engines.

You are who you hang around with, at least that is the way it is on the internet. If your site is on Green Tea and you keep linking to mountain dew, then your site is considered to be about dew, not tea to most search engines.

If you have a site that links to websites considered bad by search engines, you will be penalized and may not recover for years – at that point, you might as well start another site. Read more →

XMMS on Ubuntu

August 31, 2008, by admin No comments yet

I’ve finally got new hdd for my laptop. So I decided to dedicate myself on getting to know more about Desktop version of Ubuntu. Latest copy was installed successfully without any troubles except driver for Nvidia. But that was easily solved by downloading and installing latest driver.

Read more →

3 Things in Linux you should NOT Install

August 24, 2008, by admin No comments yet

While I’m all for promoting the use of Linux and software on Linux, unless you absolutely know what you’re doing, there are certain things you should not install. Entirely too often, I see people on LinuxQuestions.org asking how to configure one of these or why they will not work. So, in no particular order, 3 Things you should NOT Install: Read more →

12345

Categories

  • FreePBX
  • IIS
  • Misc
  • Nokia
  • Photoshop
  • Server 2003
  • Server 2008
  • Ubuntu advices
  • Ubuntu troubles
  • Uncategorized
  • vim
  • Windows 2003
  • Wordpress

Recent blog posts

  • Automatically Log off Disconnected User Sessions on Windows admin, September 15, 2020
  • Event ID 20069 – AT_KEYEXCHANGE admin, September 15, 2020
  • SharePoint Online: Adding Term Store Administrators admin, June 10, 2020
  • Sharepoint Online. Get storage use per site using powershell admin, June 8, 2020
  • Extract IP addresses from PCAP admin, May 19, 2020

This is widgetised area:
Footer › Column 1

This is widgetised area:
Footer › Column 2

This is widgetised area:
Footer › Column 3

Copyright © 2020 aliyev. All Rights Reserved. Cookie policy | Privacy policy