aliyev's notes

  • About

Configuring AWStats on Ubuntu Server

August 3, 2008, by admin No comments yet

Last nite I sat down and configured AWStats on my Ubuntu 7.10 server. I had previously been using statcounter, a free stat service, but I had noticed that it was one of the causes of slowdown on my page loads. Having to access an external site and javascript wasn’t helping. I also run the server so I have full access to the server logs, why not just use those directly.
Read more →

tar command basic operations

August 3, 2008, by admin No comments yet

The tar (i.e., tape archive) command is used to convert a group of files into an archive (no compress).

Unlike some other archiving programs, and consistent with the Unix philosophy that each individual program should be designed to do only one thing but do it well, tar does not perform compression. However, it is very easy to compress archives created with tar by using specialized compression utilities. Read more →

How to install second hard drive in Ubuntu Linux

August 3, 2008, by admin No comments yet

So you’ve been using linux for awhile now, and it’s time to install another hard drive for some more storage? Maybe it’s finally time to wipe out a Window’s or NTFS partition.

In any event, I wrote this post so you would have a little help through this step. I’m going to assume that you already know how to install a hard drive. I’m also going to assume that you knew how to make it a master or slave, you’ve checked to make sure that it shows up in bios, and that it was intalled properly. It also assumes you’ve already formatted your drive in linux ext3 format, using a tool like gParted, or something similar. Read more →

Howto: Backup and restore your system!

August 3, 2008, by admin No comments yet

Hi, and welcome to the successful backing-up and restoring of a Linux system!

Most of you have probably used Windows before you started using Ubuntu. During that time you might have needed to backup and restore your system. For Windows you would need proprietary software for which you would have to reboot your machine and boot into a special environment in which you could perform the backing-up/restoring (programs like Norton Ghost).
During that time you might have wondered why it wasn’t possible to just add the whole c:\ to a big zip-file. This is impossible because in Windows, there are lots of files you can’t copy or overwrite while they are being used, and therefore you needed specialized software to handle this.

Well, I’m here to tell you that those things, just like rebooting, are Windows CrazyThings ™. There’s no need to use programs like Ghost to create backups of your Ubuntu system (or any Linux system, for that matter). In fact; using Ghost might be a very bad idea if you are using anything but ext2. Ext3, the default Ubuntu partition, is seen by Ghost as a damaged ext2 partition and does a very good job at screwing up your data.
Read more →

PAM unable to dlopen

August 3, 2008, by admin No comments yet

/var/log/auth.log is getting littered
On my server my /var/log/auth.log was filled with lines like this

PAM unable to dlopen(/lib/security/pam_smbpass.so)
PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory] Read more →

Putty and mc – annoying â character

August 3, 2008, by admin No comments yet

Look in PuTTY options, you need to change the character encoding.
Ubuntu uses UTF-8 and PuTTY’s default is ISO-99xx_something (or Latin-1).

Managing Mysql database (adding database and user)

August 3, 2008, by admin No comments yet

#
# Connect to the local database server as user root
# You will be prompted for a password.
#
mysql -h localhost  -u root -p

#
# Now we see the ‘mysql>’ prompt and we can run
# the following to create a new database for Paul.
#
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