Admin Notes / Install Proxmox VE on Debian Lenny on 32-Bit Processor

Proxmox VE is only provided for 64-bit CPUs using the debian amd64 architecture. While this makes sense for the KVM hypervisor that depends on special hardware features not available in 32-bit CPUs, at least the container based virtualization OpenVZ can be supported on 32-bit CPUs.

Unfortunatly you cannot install Proxmox VE on those old 32-bit machines, that's why I ported the packages for i386 architecture.


...
   
Admin Notes / How To mount a Windows (samba) share with fstab

To mount a remote samba share, just follow this (adapt it according to your setup):

First, create a target dir, e.g.:

mkdir /mnt/samba1


...
   
Admin Notes / Configuring smarthost in sendmail

Откройте /etc/sendmail.cf и найдите в начале файла строки:

# "Smart" relay host (may be null)
DS

Вот после этого DS и запишите в квадратных скобках имя smtp-сервера. Должно получиться вот так:



...
   
Admin Notes / Resize extended partition
I wil give you just an example


~# apt-get install parted
Reading package lists... Done
Building dependency tree... Done

...
   
Admin Notes / ProFtpd works slow OR how to accelerate Proftpd
On a server running ProFTPd in certain configurations you can see a very slow load time (up to a minute or more) while listing the directory contents. This can be sped up greatly by adding these commands to the bottom of your ProFTPd configuration file.

...
   
Admin Notes / Howto use more than 4 GB RAM on Debian
Nowadays, many servers are running with 2-4 gigabytes of RAM, and their owners are discovering a problem: When they run 32-bit debian Linux distribution, their extra RAM is not being used. Fortunately, correcting the problem is only a matter of installing or building a kernel with a few specific parameters enabled or disabled.




...
   
Admin Notes / How to convert vmware vmdk image to kvm.

First convert the .vmdk to a format compatible with qemu-img.

Turns out this can be done with vmware-vdiskmanager.

1. Converting from .vmdk

vmware-vdiskmanager -r Ubuntu.vmdk -t 0 Ubuntu-copy.vmdk

Note: If you have multiple disks, use Ubuntu.vmdk as well (you do not need to convert each Ubuntu-f001.vmdk).

Note: That is a -t Zero not a capital O. see man vmware-vdiskmanager.

Note: vmware-vdiskmanager is part of vmware server (and workstation, not sure about player).


2.Convert to .qcow2 (KVM, QEMU)


qemu-img convert Ubuntu-copy.vmdk -O qcow2 Ubuntu-copy.qcow2

...
   
Admin Notes / How to shrink qcow file
Before shirinking  it would be best if you defragmented the image first and then wiped the free space to make sure that files that you have deleted are completely removed. So you may use http://www.microsoft.com/technet/sysinternals/FileAndDisk/SDelete.mspx. After that use following commands


...
   
Admin Notes / How to shrink MSSQL log file
When we want to restore records from Transaction Log in Microsoft SQL we should assign Recover Model to Full or Bulk Logged. In this case, we can restore records in short time. However, it needs a lot of space in file system. If we don't monitor Transaction Log size it grows and fills up disk. So, we should shrink the log file size in timely manner or limit the growth size. In this article we're going to see how to shrink database transaction log size.



...
   
Admin Notes / Adding system user in linux
adduser --system --home /var/spool/vexim --disabled-password --disabled-login --group vexim

...
   
 
«    September 2010    »
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
© 2008 All Rights Reserved. IT Solutions Studio.