- Details
- Category: Linux
- Hits: 1219
To gunzip and untar a file in a single step, use the following—note that the z switch is the important one that tells tar to unzip it.
tar xvfz somefilename.tar.gz
- Details
- Category: Windows
- Hits: 1136
Проблема: при запуске и остановке служб под локальным администратором не хватает прав, выскакивает UAC.
- Details
- Category: Ленточная библиотека
- Hits: 2583
Проблема:
Решение:
для коректной установки драйверов необходимо запустить из папки драйверов install_nonexclusive.exe.
- Details
- Category: PostgreSQL
- Hits: 2612
На сервере источнике создадим дамп:
sudo su - postgres
pg_dumpall --host=127.0.0.1 --port=5432 --database=base --file=base.dump
Затем перенесём файл на другой сервер, например используя scp. После чего выполним импорт базы:
sudo su - postgres
psql -Upostgres -h newhost -f base.dump
- Details
- Category: СХД
- Hits: 2809
EVA4400 management module default ip is: 192.168.0.1
If management module not responding, try to reset it by pressing reset button, located on management module.
To access WOCP: Open browser, in address prompt type: https://192.168.0.1:2372
Type user name: admin
there is no password by default.
- Details
- Category: Разное
- Hits: 2720
know I can add specific URLs in the network.authmatic-ntlm-auth.trusted-uris
and separate them by comma, but I would like to enable NTLM for all intranet sites. I tried https://*
and https://.
but that didn't work. Also, some of the intranet sites are https
.
Update
- Set
network.automatic-ntlm-auth.allow-non-fqdn
totrue
- Set
network.automatic-ntlm-auth.trusted-uris
to blank
- Details
- Category: VIOS
- Hits: 2298
CDROM - DVDROM (Virtual Optical Device):
Any optical device equipped on the Virtual I/O Server partition (either CD-ROM, DVD-ROM, or DVD-RAM) can be virtualized and assigned at any logical partition, one at a time, using the same virtual SCSI adapter provided to virtual disks. Virtual optical devices can be used to install the operating system and, if DVD-RAM, to make backups.
Creating Virtual Optical Device:
1. On VIO Server create SCSI Server Adapter. This adapter is set to Any client partition can connect.
This dedicated adapter for the virtual optical device helps to make things easier from a system management point of view.
2. On client LPAR: create SCSI client adapter, mapping the id with the server adapter (above)
3. cfgdev (on vio) will bring up a new vhostX
cfgmgr (on client) will bring up a new vscsiX
4. On VIO Server create optical device:
-for using physical CDs and DVDs, create an optical device
$ mkvdev -vdev cd0 -vadapter vhost4 -dev vcd
vcd Available
$ lsdev -virtual
...
vcd Available Virtual Target Device - Optical Media
-for file backed (iso images) optical device
$ mkvdev -fbo -vadapter vhost1
vtopt0 Available
$lsdev -virtual
...
vtopt0 Available Virtual Target Device - File-backed Optical
(copy the iso image to /var/vio/VMLibrary, 'lsrep' will show media repository content)
(lssp -> mkrep -sp rootvg -size 4G <--this will create media repository)
(creating an iso image: mkvopt -name <filename>.iso -dev cd0 -ro)
load the image into the vtopt0 device: loadopt -vtd vtopt0 -disk dvd.1022A4_OBETA_710.iso
(lsmap -all will show it)
or you can check it:
padmin@vios1 : /home/padmin # lsvopt
VTD Media Size(mb)
vtopt0 AIX_7100-00-01_DVD_1_of_2_102010.iso 3206
if later another disk is needed, you can unload an image with this command: unloadopt -vtd vtopt0
if we don't need the image anymore at all we can remove it from the repository: rmvopt -name AIX_7100-00-01.iso