Ir kāds variants, kā sinhronizēt mySQL datubāzes uz 2 dažādiem serveriem? Jeb es gribu, lai teiksim, reizi 24 stundās mySQL datubāze eksportējas no viena servera, un importējas uz otra.
S J miniblogs
- 0
S J 19.04.2013. 16:51
Tā kā klasesbiedrs, ar kuru jātaisa referāts nereaģē, uzjautāšu šeit.
Kāds gadijumā nevar uz 3 dienām iedot virtuālu kasti ar winblows 2008R2 serveri?- 0
Niggah 19.04.2013. 17:04
Kā vispār darbojas virtuālā kaste? Es šodien nolādēju, domāju ka varēšu izmēģināt ubuntu viņā, bet tas vm laikam domāts priekš dažādiem windows os. Priekš ubuntu man būtu jānovelk linux vm?
- +1
S J 19.04.2013. 17:06
Jebkura operētājsistēmu, kuru atbalsta konkrētā virtualizācijas metode. Es ar "virtuālā kaste" nedomāju VirtualBox, bet jebkādu. Ir dažādi risinājumi.
Un ubuntu mūsdienās ir pārbāzts un rijīgāks par windows 7.
- +1
S J 17.04.2013. 12:33
Apdeitoju OS un kautko salauzu. Welp.
[13:31:19] [root /home/svens] # sudo dpkg --configure -a
Setting up initscripts (2.88dsf-13.10ubuntu11.1) ...
mkdir: cannot create directory `/dev/shm': File exists
dpkg: error processing initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openvpn:
openvpn depends on initscripts (>= 2.88dsf-13.3); however:
Package initscripts is not configured yet.
dpkg: error processing openvpn (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of procps:
procps depends on initscripts; however:
Package initscripts is not configured yet.
dpkg: error processing procps (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of netbase:
netbase depends on initscripts; however:
Package initscripts is not configured yet.
dpkg: error processing netbase (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ifupdown:
ifupdown depends on initscripts (>= 2.88dsf-13.3); however:
Package initscripts is not configured yet.
dpkg: error processing ifupdown (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwww-perl:
libwww-perl depends on netbase; however:
Package netbase is not configured yet.
dpkg: error processing libwww-perl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libio-socket-ssl-perl:
libio-socket-ssl-perl depends on netbase; however:
Package netbase is not configured yet.
dpkg: error processing libio-socket-ssl-perl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-common:
postgresql-common depends on procps; however:
Package procps is not configured yet.
dpkg: error processing postgresql-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ntpdate:
ntpdate depends on netbase; however:
Package netbase is not configured yet.
dpkg: error processing ntpdate (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of udev:
udev depends on procps; however:
Package procps is not configured yet.
dpkg: error processing udev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-9.1:
postgresql-9.1 depends on postgresql-common (>= 115~); however:
Package postgresql-common is not configured yet.
dpkg: error processing postgresql-9.1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-8.4:
postgresql-8.4 depends on postgresql-common (>= 129~); however:
Package postgresql-common is not configured yet.
dpkg: error processing postgresql-8.4 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
initscripts
openvpn
procps
netbase
ifupdown
libwww-perl
libio-socket-ssl-perl
postgresql-common
ntpdate
udev
postgresql-9.1
postgresql-8.4
[13:31:57] [root /home/svens] #- +1
S J 17.04.2013. 13:05
OMG, salaboju savu pirmo dependency hell.
(staigāju pa config failiem, lasiju komentus, un nomentēju rindiņas, kuras uzskatiju par nevajadzīgām)
- +1
S J 16.04.2013. 22:07
Ok, man šodien labs garīgais. Pirmais, kurš pieteiksies, saņems bezmaksas web-vietu uz mana VPS.
- +1
S J 16.04.2013. 11:42
Problēma ar DNS serveri.
Tātad, man NIC'ā ir norādīti NS ieraksti - ns1.svenz.lv un ns2.svenz.lv, abi ir piešūti vienai IP (173.44.40.49)
Mans /etc/bind/named.conf.local
zone "svenz.lv" {
type master;
file "/etc/bind/zones/svenz.lv.db";
};
zone "49.40.44.173.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.49.40.44.173.in-addr.arpa";
};
named.conf.options
options {
directory "/var/cache/bind";
forwarders {
8.8.8.8;
8.8.4.4;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
svenz.lv.db
svenz.lv. IN SOA ns1.svenz.lv. (
2006081401
28800
3600
604800
38400
)
svenz.lv. IN NS ns2.svenz.lv.
svenz.lv. IN NS ns1.svenz.lv.
svenz.lv. IN A 173.44.40.49
ns1.svenz.lv. IN A 173.44.40.49
lolz.svenz.lv. IN A 173.44.40.49
Kādēļ tas nestrādā? :/- 0
mad 16.04.2013. 11:46
Neko nesapratu. Tu gribi nicā norādīt nameservera adresi, kura dns ierakstus gribi turēt uz tā paša nameservera?
Mindfuck. Tas nav iespējams.
- +1
S J 16.04.2013. 21:46
Jā, tas arī bija tas, ko es centos panākt. Anyway, uzliku DNS'u uz cita servera. Paldies, citādi es vel pāris stundas būtu čakarējies.
Pašam savs DNS serveris ir spēks.- 0
mad 16.04.2013. 22:16
Ja vien tev nav neskaitāmi domēni un subdomēni ko novirzīt uz dažnedažādām vietām, nav jēgas no sava ns.
- 0
Cāļuks 15.04.2013. 18:38
Lietoju jau pusgadu ar Sublime Linter un Sublime Codeintel pluginiem. Lieliski.