Synology VIRTUAL HOST

Una característica molt interessant del servidor Synology es que permet tenir diversos dominis apuntant a carpetes diferents. Es adir amb un única IP fixa es possible tenir fins a 8 domis matarranya.cat, beseit.net, cadascú d’ells a la seva carpeta corresponent. (add on domini)

WWW (WEB STATION) /VIRTUAL HOST
A l’imatge de sota es mostra com s’ha de configurar. Després d’una actualització m’ha deixat de funcionar i s’ha solucionat activant i desactivant HTTP back end server nging apache



xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Accioxns a Moniker:x

com ferm servir com a servidor de pagines web el nostre synology amb la seva Ip, hem tenir seleccionat defauld nameser i posar la seva ip corresponent (si fos epage etc. tindríem external nameserver) IMPORTANT CREAR SUBDOMINI WWW.URQUIZU.INFO i verificar que la feina s’ha fet

With the feature of Virtual Host, you can setup multiple web sites on Synology NAS. A domain name is required for Virtual Host set up. There are two different settings for each Virtual Host set up: Name-based and Port-based. Each Virtual Host web site requires a Document Root directory for file storing and accessing.
Add a new Virtual Host

Click Create
Select the type of Virtual Host: Name-based or Port-based.
Enter the hostname and select the protocol and port number is necessary.
Select the Document Root path, this folder will be used to file store. (Please refer to Note)
Select whether or not to enable HSTS setting (forces browser to use HTTPS connection) and HTTP/2 to speed up the web transfer.
Select the back-end server for this Virtual Host.
Enable PHP back-end is necessary and choose the back-end type.
Click OK to create the Virtual Host.
When SSL encryption connect is enabled, you will be promoted and redirected to the Certificate page for further setup.

Note:

For better flexibility and security, Web Station uses the http user group to execute tasks. Therefore, to control access permissions for your web pages, please change the http group’s access permissions for each corresponding folder and file. For example, if you want to make the vhost1 folder accessiable via Web Station, you’ll need to make sure the http group has proper read/write permissions for the vhost1 and files/folders in it.

Trading ages

L’idioma dels subtítols es el que es té escollit al web google traslator . seleccionar un text amb el botó esquerra i canviat l’idioma de traducció. alguns vídeos youtube tenen …mes -> transcript!

0:08
her eyesight deteriorates had teeth this color and skin things wrinkles and sides
0:14
as she comes face-to-face with yourself about 73 how she feel how we should be
0:22
treated and will it change your life forever
0:27
ok
0:32
oh my good oh oh no I don’t know hot nice toilet horrible i don’t want to
0:42
think about getting older because you look wrinkly look awful and now look at
0:48
me
0:48
no wonder up and terrified wouldn’t you be if you get to the merits or this up
0:54
oh wow chicken skin
1:00
twenty-nine-year-old Caroline Bell lives in brighton she’s a children’s drama
1:04
teacher with particularly strong views on the elderly
1:09
oh no it’s a no go get one they’re all stupid car things look at it
1:16
his heart was a she she’s half dead because slowly she’s going she breathing
1:22
just about
1:25
I’ve always had trouble with old people I’ve never had anything to do with them
1:29
so i knew nothing about them they were like aliens to me they scared me a prime
1:40
candidate for a wake-up call
1:42
Caroline’s in for a shock her current lifestyle involves clubbing most nights
1:47
with a new boyfriend she considers a toy boy Joel who’s 22 that it is it’s not
1:55
like this you laughter now let’s get determined to stay young
2:03
Caroline’s obsessed with looks good is at the comforter into why should know
2:08
clock the guts to wear and figures occasion
2:17
Caroline’s going to have to confront her fears and prejudices of the elderly not
2:26
only she going to have to live as an old woman she’s going to be immersed in
2:29
their world
2:32
for a month
2:51
Caroline’s left their own life behind she’s gonna have to live in a pensioner
2:55
alone away from family and friends she has no access to a car a mobile has been
3:01
taken away and she’s heading for a new home
3:08
very old woman length very womanly flowery table is our lovely to slip into
3:37
the evening Mary lady isn’t pink pink and grey it doesn’t mind a little bit of
3:46
my grandmother’s flat but this is much cleaner than my grandmother’s Pat this
3:51
sort of thing very typical you know she’d have something like that
4:04
I
4:07
stepping out for the first time in our own hometown things are very different
4:12
now she’s 73
4:18
no wolf whistles then this is very strange to us women dancing they look
4:23
through me
4:25
hey they’re not that type
4:28
it feels weird being in brighton because obviously this is my home ground but
4:36
obviously i’m here with somebody that’s not shoulder that’s really surreal i
4:42
can’t see flew somewhere do i get run over
4:47
see what I have the beeping sound now woman that can’t be softly when they
4:51
cross the road
5:02
to immerse Caroline into the world of the oap she’s heading for a day’s
5:07
voluntary work of the local healthy aging charity shop
5:12
yeah
5:16
although she’s never had any contact with the elderly Caroline’s got to
5:21
convince them
5:22
she’s one of them yeah as the new girl she’s banished to the back room if it’s
5:37
got stains on it and underarm crotch or any other general stains and you put
5:48
them in the bag for the rack been all these rags they give money for the racks
5:54
so it all goes to the charity is a hierarchy what you’ve been in 47 and
6:05
9999 comes under bric-a-brac except nobody suspects a thing
6:18
everybody is totally treated as an old person so how old are you then the other
6:24
night he reviewed 19 yes yes
6:27
you still seem so full of life you know
6:30
I think it was you brains work in your is that all you do this sort of thing to
6:35
keep your know they’re keep going
6:38
every morning I exercise the same time it remotely just touching your toes and
6:44
I did that bad 12 times and this about 12 times and this about and left i do
6:51
over there was a lot of exercises about 12 * another soap under captain me dire
6:56
believe in selenium multivitamins with the Highland complex hot cups and also I
7:05
cook every day fresh and I like I’m not make sure i get clean yet celery pass
7:12
they finish garlic is a month think too that I believe it as a new face around
7:19
town the regulars are keen to let Caroline know what’s available to
7:23
pension is in the area not mentoring something girl what if you want a cheap
7:29
happy go check usually cap the top of ghosts of business do you know what you
7:36
get a mother meal / heart stay keep ours medinas you name it the old-fashioned
7:45
baton putting burden you like very blue
7:48
thanks putting they can play the footing with onion and change and you name it
7:55
but not some freak pudding
8:01
what people coming hold people or room not all you’d be surprised if 95 coming
8:09
in it
8:10
yeah it was quite sad you know you get your customers and you something you
8:15
don’t see him for a while and you know what’s happened to them it takes so that
8:21
then is the left the job
8:31
the older people work in charity shop just love just a few morning’s keeping
8:36
their brain active working till working at money i mean the 90 your lady was
8:43
amazing she looked incredible and she’s just so with it so the headache and I’m
8:51
ready for bed as you can see I’ve got my chocolate notes / team got my own
8:59
routine actually feeling like an old lady today my routine and slippers and
9:04
dressing down and I’m so ready for bed
9:07
it’s been a tiring day it’s very emotionally and physically draining

11 Reasons Why You Don’t Have Many Friends

Communication Relationships by Amy Morin

Finding and keeping friends in adulthood is different from the days when you played on the playground at recess. It takes work to maintain friendships over time. If you don’t have many friends, it’s important to consider the possible reasons why.

1. You Complain A Lot
if you’re constantly complaining about your job, lack of money, or unfair life, people won’t care to spend a lot of time with you. Complaining gets old fast. Try to develop a more positive attitude and look for more interesting topics to discuss rather than what’s going wrong in your life.

2. You Ditch Your Friends When You’re in a Relationship
If you’re guilty of ditching your friends every time you begin dating someone new, it’s likely your friends won’t sit around and wait to hear your breakup story. Instead, they’ll move on without you. It’s important to find a balance between spending time with your pals and your latest romantic interest.

3. You’re Selfish
Consider whether or not being selfish contributes to the fact that you don’t have friends. Friendship requires you to give sometimes, even when you don’t feel like it. If you’re only willing to do what you want, when you want it, it’s unlikely that your friends will tolerate it for very long.

4. You Don’t Care About Your Friends
If you don’t care what’s happening in your friends’ lives, your friends might not keep you around. It’s important to show interest in how your friends are doing. People will likely grow insulted if you don’t care to ask about them or you don’t care about their feelings.

5. You Stir Up Drama
If you’re guilty of stirring up trouble, it’s likely that people will try to avoid the drama. If you blame others, don’t keep secrets, or try to irritate people on purpose, you’ll likely have difficulty convincing people why they should stick around.

6. You Keep Score
Keeping score has no place in true friendship. If you try to keep score about whose turn it is to choose where you’re going to dinner or whose turn it is to call who, you will likely turn your friends away. Be willing to give to the relationship, rather than focus on trying to keep everything fair.

7. You Get Jealous
If you feel jealous when your friend buys a new car, gets a promotion at work, or enters into a new relationship, it’s likely going to lead to problems. It’s important to celebrate with your friends and feel happy for them when they succeed. If you’re always feeling jealous, you’re attitude will likely shine through, even if you try to hide it.

8. You Expect Too Much From Friends
If you expect your friends to always be available or always meet your needs, you’ll be disappointed. Your friends will hurt your feelings sometimes and will likely disappoint you from time to time. But that doesn’t meant they aren’t good people or that you shouldn’t remain friends with them. Practice forgiveness when your feelings get hurt.

9. You Gossip
If you gossip non-stop, people will recognize that you likely talk about them as well. Don’t talk negatively about other people or spread rumors. Instead, show that you can be trusted to respect people’s privacy.

10. You Bully Your Friends
Bullying doesn’t end in high school for many people. If you’re guilty of bossing your friends around or making demands, it’s likely that people won’t like you. It’s okay to be assertive with people, but make sure you don’t cross the line into behaving aggressively. Respect other people’s rights and work on developing healthy relationships.

11. You Don’t Get Out Enough
Of course, there is also a good chance that not having friends isn’t related to a specific character flaw. Instead, it might just be because you haven’t had the opportunity to meet people whose company you enjoy. If that’s the case, create opportunities to meet other people based on your interests and activities and be willing to take a chance on striking up a conversation with a stranger. It just might turn into a lifelong friendship.

Want to be a better friend? 10 Ways To Be A Better Friend

Format and Clone a USB Flash Drive (The best Acronis True Image)

usb_particio
If you have DOS or a Command Prompt window you can use Xcopy to move your files and clone a USB flash drive. To do this, you will need to know the drive letters of both of your USB flash drives. In this example, if your old USB drive is drive “H” and your new drive is drive “G”, you would type the following in the command prompt window: xcopy H:\*.* G: /e /h /k and then press .

L’únic que m’ha funcionat ha sigut el programa CRONIS TRUE IMAGE.

MediaMonkey

MediaMonkey és el reproductor de àudio i vídeo que últimament m’he instal·lat. vaig començar en musicmatch jukebox fa més de vint anys. Per a mi va ser un pioner en la reproducció de mp3 molt abans que spoty i altres mitjans que avui en dia existeixen. Després durant molt de temps vaig fer servir MediaJukebos-xx en les seves diferents versions. La veritat es que en el reproductor multimèdia de Windows   mai m’hi he pogut familiaritzar.

Característiques bàsiques de MediaMonkey

Manage 100,000+ music and video files without bogging down.
Record CDs and download music, movies, and podcasts.
Automatically lookup and intuitively tag album art, lyrics and other metadata.
Manage any audio / video genres: Rock, Classical, Audiobooks, Podcasts, Home movies, tv, etc.
Wi-Fi Sync with MediaMonkey for Android.

Play MP3s and other audio formats, and never again worry about varying volume.
Create playlists and let Auto-DJ & Party Mode take care of your party.
Sync Android, iPhone, iPod, iPad & others, converting & leveling tracks on-the-fly.
Share via DLNA and convert MP3s, M4A, OGG, FLAC, WMA, MP4, AVI, and WMV to support most devices.

mediamonkey1

  • Fent clic a la caràtula es es passa de mode imatge a mode ‘lirycs’
  • Fent clic amb el botó dret es pot afegit la lletra o editarla
  • You can change font size at Tools | Options | Skin
  • També choose fields text size-> 22 px

 

Movent WordPress: de servidor, canviant el nom de la carpeta …

MOVENT DE SERVIDOR PERÒ MANTENINT NOMS DE CARPETES

UPDATE wp_1options SET option_value = replace(option_value, ‘http://192.168.1.40/beseit’ , ‘http://www.beseit.net’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’

UPDATE wp_1posts SET guid = replace(guid, ‘http://192.168.1.40/beseit’ , ‘http://www.beseit.net’)

UPDATE wp_1posts SET post_content = replace(post_content, ‘http://192.168.1.40/beseit’ , ‘http://www.beseit.net’)

UPDATE wp_1postmeta SET meta_value = replace(meta_value, ‘http://192.168.1.40/beseit’ , ‘http://www.beseit.net’)
————— —————–
UPDATE wp_1options SET option_value = replace(option_value, ‘http://www.beseit.net’ , ‘http://192.168.1.40/beseit’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’

UPDATE wp_1posts SET guid = replace(guid, ‘http://www.beseit.net’ , ‘http://192.168.1.40/beseit’)

UPDATE wp_1posts SET post_content = replace(post_content, ‘http://www.beseit.net’ , ‘http://192.168.1.40/beseit’)

UPDATE wp_1postmeta SET meta_value = replace(meta_value, ‘http://www.beseit.net’, ‘http://192.168.1.40/beseit’)
————— —————–

UPDATE wp_1options SET option_value = replace(option_value, ‘http://www.beseit.net’, ‘http://192.168.1.40/beseit’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;

UPDATE wp_1posts SET guid = replace(guid, ‘http://www.beseit.net’, ‘http://192.168.1.40/beseit’);

UPDATE wp_1posts SET post_content = replace(post_content, ‘http://www.beseit.net’, ‘http://192.168.1.40/beseit’);

UPDATE wp_1postmeta SET meta_value = replace(meta_value, ‘http://www.beseit.net’, ‘http://192.168.1.40/beseit’);

————— —————–
urquizu local-> justhost
UPDATE wp_1options SET option_value = replace(option_value, ‘http://192.168.1.40/urquizu’, ‘http://www.urquizu.info’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;# MySQL ha retornat un conjunt buit (p.e. cap fila).

UPDATE wp_1posts SET guid = replace(guid, ‘http://192.168.1.40/urquizu’, ‘http://www.urquizu.info’);# 47 files afectades.

UPDATE wp_1posts SET post_content = replace(post_content, ‘http://192.168.1.40/urquizu’, ‘http://www.urquizu.info’);# MySQL ha retornat un conjunt buit (p.e. cap fila).

UPDATE wp_1postmeta SET meta_value = replace(meta_value, ‘http://192.168.1.40/urquizu’, ‘http://www.urquizu.info’);# MySQL ha retornat un conjunt buit (p.e. cap fila).

Moving Directories On Your Existing Server

He tingut necessitat de canviar el nom de la carpeta que contenia la web http://192.168.1.40/english —-> http://192.168.1.40/english_note/

Aquest canvi és més complexe del que sembla a primera vista. Ja que per exemple hi ha post que apunten a english/upload …

He partit del supòsit que si a la bd MySQL canvio tots els registres que contenen english a english_note, la cosa hauria de funcionar. He fet la prova i sembla que ha funcionat. Si surt algun inconvenient ja ho anotaré. De moment va bé.

Les taules que contenen /english/ són :

  • wp_comments -> 1 reg
  • wp_options -> 4 reg
  • wp_postmeta (tots al meta_value) ->290
  • wp_post (camps: postcontent , guid) 2967)

Les sentències SQL serien:
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`, ‘%/english/%’, ‘%/english_note/%’) WHERE `meta_value` LIKE ‘%%/english/%%’ COLLATE utf8mb4_bin
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`, ‘/english/’, ‘/english_note/’) WHERE `post_content` LIKE ‘%/english/%’ COLLATE utf8mb4_bin
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`, ‘/english/’, ‘/english_note/’) WHERE `guid` LIKE ‘%/english/%’ COLLATE utf8mb4_bin

ho he fet en l’administrador MySQL.

PER SEGURETAT HI HA QUE FER UN BACKUP DE LA BD PRÈVIAMENT I FER-HO EN LOCAL
————— —————–

COM ES POT SABER QUINES CON LES TAULES QUE CONTENEN /ENGLIS/?

BD/CERCA/selecciona tot/executa

cerca

synology com a servidor de nom de domini privat

Abans de començar

Abans de configurar DNS Server, consulteu els requisits següents:

1 Instal·lar DNS Server: per instal·lar i executar el paquet DNS Server de Synology, entreu en DSM i visiteu el Centre de paquets.

2 Obtenir una adreça IP pública i fixa: per configurar un servei DNS públic, ha d’adquirir una adreça IP fixa per a la seva Synology NAS. (213.4.33.41).

3 Registrar un nom de domini: moniker->  beseit.net. Quan el registrador li notifiqui que el seu nom de domini s’ha registrat correctament, pot crear una zona màster per al domini en Synology DNS Server.

4 Comprovar la configuració del tallafocs o del reenviament de port: els serveis DNS requereixen l’ús del port 53 de TCP i UDP. Si el Synology NAS utilitza un tallafocs, s’ha d’obrir aquest port. Si el servidor NAS es connecta a Internet a través d’un encaminador, configureu regles de reenviament de port i obriu el port TCP i UDP 53. (alejandra 192.168.1.1 ; 1234, beseit00)
Registrar el seu dispositiu: no ha d’oblidar registrar l’adreça IP i altra informació necessària de la seva Synology NAS en el proveïdor del seu nom de domini. Altrament, els clients no podran consultar el seu Synology NAS a través d’Internet. Consulti al seu proveïdor de noms de domini per a més informació. En funció de la configuració per als servidors de noms de domini per al proveïdor, els canvis en servidors de resolució DNS poden aplicar-se en un termini de 48 hores o més.

5 Canviar la configuració de l’encaminador: si va a configurar el seu servidor DNS per a la seva xarxa local, de modificar la configuració del servidor DNS en el seu encaminador o el seu dispositiu client de manera que el servidor DNS pugui ser consultat. Per a més informació, consulteu el manual de la encaminador o el dispositiu client.
Traductor de Google per a empreses:Translator ToolkitTraductor de llocs webGlobal Market Finder

dbForge Studio for MySql (professional edition 6.3.358)-

Les bd MySql les gestiono amb dbForge Studio for MySql (professional edition 6.3.358). També he instalat EMD MySQL manger. Les connexions són:

a ) conexió matarranya.cat

 

matarranya_cat

b) localhost

localDesprés d’actualitzar el paquet appserv 32-2.5.10 -> appserv 32-8.1.0 dbForge Studio for MySql no podia obrir les BD existens en local. sortia l’error: ADV ERTÈNCIA: ‘INFORMATION_SCHEMA.SESSION_VARIABLES’ feature is disabled; see the documentation for ‘show_compatibility_56’

això es soluciona executam aquesta instrucció de SQL des del phpMyAdmin:

set @@global.show_compatibility_56=ON;

c ) beseit.synology.me

beseit.synology.me

d ) synology_valldoreix

synology_valldoreix

Update old URL to new URL in word-press mysql Query:

És freqüent tenir la necessitat de passar el blog personal del servidor on s’allotja normalment a un servidor local o al inrevés.   Des de  la secció paràmetres general es pot  modificar Adreça del WordPress (URL). Però a més d’això hi ha altes adresses dins de la BD de MySql que cal canvia:

Es pot entrar directament a phpMyAdmin i executar el comandament SQL següents:

[php]

UPDATE wp_options SET option_value = replace(option_value, ‘http://81.0.60.37/english_note’, ‘http://81.0.60.36/english_note’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;

UPDATE wp_posts SET post_content = replace(post_content, ‘http://213.4.33.41/english_note’, ‘http://81.0.60.36/english_note’) ;

[/php]