7
Apr
Posted in solaris by carlosap |
Hello,
If your network card is supported in Solaris, you can reset the configuration of solaris logging as a root and typing sys-unconfig. System will reboot and ask you some questions, the first will be: networked? if you answer yes, the card will be on.
With this command you have to specify net card, video driver, etc..
6
Apr
Posted in CentOS by carlosap |
First make disk images from your CD(s):
dd if=/dev/cdrom of=/iso/win2k3_1.iso bs=2048
dd if=/dev/cdrom of=/iso/win2k3_1.iso bs=2048
Then edit your config file:
disk = [ ‘file:/vm/win2k3.img,hda,w’, ‘file:/iso/win2k3_1.iso,ioemu:hdb:cdrom,r’, ‘file:/iso/win2k3_2.iso,ioemu:hdc:cdrom,r’, ]
name = "vm_windows2003"
uuid = "0bd2c8f1-4555-c192-c481-400fa7f6a18b"
maxmem = 1024
memory = 1024
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "d"
pae = 1
acpi = 1
apic = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
disk = [ "file:/vmhd/vm_windows2003/vm_windows2003.img,hda,w","file:/vmhd/cd1.iso,ioemu:hdc:cdrom,r" ]
vif = [ "mac=00:16:3e:06:e5:6a,bridge=virbr0,type=ioemu" ]
serial = “pty”
3
Apr
Posted in CentOS by carlosap |
Autopublicación
Cambiar $row->state = 0; a
$row->state =1; en todo el código
My apologies, I missed out part of the hack to get news auto-published.
If you can, please take Dave’s advice and use mycontent or ja_submit.
Once you hack core code you have to repeat your work every time there is a new release.
However, if you must, here it is:
For Joomla! 1.0.11:
content.php
comment out line 1822 $row->state = 0;
comment out line 1996 $row->state = 0;
database
change JOS_CONTENT.STATE default value to 1
Or if you prefer, instead of commenting out the above lines of code, just change 0 to 1 and leave the database unchanged.
For the item to display on the frontpage:
content.php
change line 1829 $row->frontpage = 0; to $row->frontpage = 1;
// Publishing state hardening CArlos Padron .. Hack
// Publishing state hardening for Authors
if ( !$access->canPublish ) {
if ( $isNew ) {
// For new items - author is not allowed to publish - prevent them from doing so
// $row->state = 0;
} else {
// For existing items keep existing state - author is not allowed to change status
$query = “SELECT state”
. “\n FROM #__content”
. “\n WHERE id = ” . (int) $row->id
;
$database->setQuery( $query);
$state = $database->loadResult();
if ( $state ) {
$row->state = 1;
} else {
// $row->state = 0;
}
}
}
2
Apr
Posted in CentOS by carlosap |
link
compaq
Author Subject: Linux won’t boot! dc5700 and several distros Add to my favorites This thread has been closed
boot: linux pci=nommconf