Aljosa – s blog, Mini howtos

Aljosa – s blog, Mini howtos

Mini howtos …

For slovenian keyboard

Bios motherboard with gpt partition scheme

Use contraptions like parted, gdisk.

Format partitions (mkfs. , mkswap, swapon)

EFI motherboard with GPT partition scheme.

Create puny 1 Gb partition for EFI (code: EF00)

Create interchange partition ter the size of RAM or at least 2Gb (code: 8200)

Create root partition 40Gb (it could be smaller)

Create huis partition from the surplus of the disk size.

You could create separate partitions (VAR, OPT).

Climb on partitions (root, boot, huis)

Cojín system installation

Create climb on points te fstab

Install reserve programs with pacman

Define/configure locale settings

Define ROOT PASSWORD

Uitgang FROM CHROOT MODE

ADD Very first USERS

Run visudo and uncomment wheel group.

Add newuser to wheel group.

Related movie: GDAX Review: How To Buy Bitcoin On GDAX With Zero Fees!


ENCRYPT Huis DIRECTORY

Login spil fresh user

use README for help

liquidate makeshift schrijfmap /huis/newuser.LJHFLAHL

PAM-a ecrypt configuration

I3 window manager

LAPTOP (hibernate laptop at 5% of the battery life

Define storage pool

example: directory on outer usb drive

Invoer fresh photo

RDESKTOP (remotely manage windows computers)

DISK test implements

From webpagina http://localhost:631, wij can add fresh printers

LCMC – cluster administration

I2P ANONYMOUS SERVICE DAEMON

It works te firefox.

GPG SIGNATURE PROBLEMs

At the end of files wij add:

A bash script to randomize the xterm colors defined ter the .Xresources opstopping.

Requirements: An diferente .Xresources opstopping. It vereiste, among other definitions, specify all the neccesary colors ter the following form (order is irrellevant):

Navigate to the directory where your system’s .Xresources opstopping is located (most likely your huis directory). Make sure it obeys with the listed requirements. If so, copy it into a fresh verkeersopstopping to which wij from now on refer spil the flamante opstopping. Else edit it so it does and then create the copy:

Now wij are ready to run the script. Verify that it is located ter current directory and classified executable. Then run:

Fell free to substitute the number Ten with any rechtschapen ter range from 0 to 255. That is the limit on the randomization range. Spil it increases the output will te promedio differ more and more from the flamante.

After the fresh .Xresources is generated, you can flow it:

Restart your xterm to see the switch take place. Repeating this process a duo of times will likely provide you with a truly amazing xterm color scheme.

Paste this into the randXcolor verkeersopstopping.

Thesis are instructions on how to waterput Debian for Beaglebone Black (BBB) on a SD card without using an extra SD card reader.

Hardware required: Beaglebone Black and a GNU/Linux pc, both connected to the same LAN, and a micro SD card.

Pc software required: a web browser, wget, md5sum, 7zip, arp-scan, openssh, dd.

BBB software required: a working GNU/Linux running from the eMMC.

Fire up your rekentuig’s terminal. Chdir into an primarily empty directory.

1) Navigate to the official BBB webpagina using your preferred browser:

Two) Download the latest Debian (or other) pic via wget. Choose beetween the bootable and flashing-only version (according to your private preference). You can also download the verkeersopstopping using browser or bit torrent.

Four) Unzip the opstopping using 7zip (the extracted opstopping will look like this: IMAGE_NAME.img):

Five) Make sure your BBB is connected to the same particular network your machine is connected to using ethernet cable. Also make sure the SD card has bot waterput into its slot after BBB had bot turned on and booted up.

Find your recinto ethernet name. It should look something like eth0. You will be able to find it using this directive:

6) Arp-scan your huis network to find the BBB’s IP adress:

7) The IP address corresponding to Texas Instruments, Inc te the third katern should be your BBB’s. Now you can ssh into your device. If you’re using the default Angstrom distribution, just klapper come in when asked for password:

8) List bulk devices to find your SD card’s device name.

9) Take this step very gravely since not doing so could do harm to your BBB te step 11. You should be able to find the SD card device name by its size, filetype and name. The BBB comes with a 2GB on-board flash so make sure to filterzakje that one out. The SD may include some partitions, for example mmcblk1p1 and/or mmcblk1p2. Ter my case, the SD device name wasgoed mmcblk1. Wij will be using the SD_NAME te the following steps.

Memorise the SD_NAME (or better yet, write it down) and unmount all of its partitions:

Make sure they had bot unmounted using lsblk again.

11) Please take this final step even more earnestly and go after at your own risk. Wij will be using the dd pic writing guideline, also known spil the Gegevens Destructor. You could lightly ruin all gegevens either on your machine or BBB so proceed cautiously.

Clone the picture to the SD card using ssh:

Related movie: How to Connect Mailerlite to WordPress


if stands for input, of for output. This will take a while. You should get a coffee. Or make tea. Take a quick nap ter vuurlijn of your rekentuig. Merienda it’s done, you should end up with a SD-card ready for eMMC flash or boot.

The easiest way to install packages on arch Linux is from the official repositories using pacman. This is also the preferred way since the packages installed this way are updated through system-wide updates.

However what if the package you need is not available te the official repos? Or perhaps you need a newer version? Ter this case you can go after this proces:

AUR stands for arch user repository. It is maintained by the community. Many packages are availible. AUR.

Check the dependencies. You will need to install them straks if they are not installed on your system but no need to worry about that just yet. Read the discussion on the bottom of the pagina – it sometimes contains valuable informatie. If the package is flagged out of date you can consider yourself unlucky. Thesis ones usually don’t work out of the opbergruimte. Attempt – perhaps it does. Many packages are marked with “-git”. Thesis ones use git to install the newest version of the software.

Download tarball archive using your browser. It is worthwhile using a special folder for all the programs you build for convenience. Merienda downloaded locate the verkeersopstopping through console and run:

Four. Read the PKGBUILD opstopping and build

PKGBUILD verkeersopstopping contains all the information needed to install a package. You are advised to see it before install but it is not necessary.

Then run this instruction:

s (syncdeps) installs the missing depencenies using pacman provided they are available through sync repos. Ter case they are not you can install them the way you are attempting to install this one.

r (rmdeps) eliminates the dependencies after the build process is ended so your system does not get loaded with programs you do not need.

c (clean) cleans up leftover work files used during the build process.

Te case build process wasgoed not not successful you can attempt to edit PKGBUILD verkeersopstopping, leave a comment on the package AUR webstek or perhaps send a message to the mantainer.

After a successful build process your current folder should contain a verkeersopstopping with the extension .tar.xz. Install the package like this (spil root):

U (upgrade) upgrades or adds package(s) to the system and installs the required dependencies from sync repos.

You should treat your system well. Informatie regarding the arch linux maintenance is availible through the arch wiki.

Cisco 1841 ethernet port + dialer interface

description == WAN interface

pppoe enable group universal

pppoe-client dial-pool-number 1

description == LAN interface

ip address 192.168.1.1 255.255.255.0

ip virtual-reassembly ter

ip tcp adjust-mss 1452

description == pppoe to ISP

ip address negotiated

ip virtual-reassembly te

ppp authentication chap pap callin

ppp chap hostname username@domain.tld

ppp chap password 7 060B162A5D4C222C1F

ppp pap sent-username username@domain.tld password 7 030E3100150D592954

ppp ipcp dns request

ppp ipcp route default

ppp ipcp address accept

ip dhcp pool LAN

network 192.168.Two.0 255.255.255.0

dns-server 8.8.8.8 Four.Four.Four.Four

ip address 192.168.Two.1 255.255.255.0

ip helper-address 192.168.1.1

ip vloeistof inwards &lt,– significant part ter Vocht translation

ip virtual-reassembly ter

HWIC-4ESW ethernet port configuration

description == PC LAN

switchport access vlan Two

description == AP LAN

switchport access vlan Two

ip regenachtig inwards source list 1 interface Dialer1 overcharge

access-list 1 permit 192.168.1.0 0.0.0.255

access-list 1 permit 192.168.Two.0 0.0.0.255

Stijlvol way to backup or restore user mailbox ter Zimbra.

Tested ter Zimbra 8.x and works.

BACKUP user mailbox:

RESTORE user mailbox:

Wij need bridge (brX) interface(s) for linux kvm virtualization.

VLAN-s vereiste be defined on Cisco switch

VLAN Ten – IT vlan

VLAN 20 – DMZ vlan

VLAN 30 – guest vlan

Define vlan without ip (L2 switch):

Define vlan with ip address (L3 switch):

INTERFACE CONFIGURATION ON CISCO SWITCH

Connection to network interface eth0 on linux server for vlan Ten and vlan 30 (trunk connection):

Connection to network interface eth1 on linux server for vlan 20 (trunk connection):

NETWORK CONFIGURATION ON LINUX SERVER (Debian)

Reset IIS and reboot server from cmd

Create directory listig (example: budge user profile to partition D)

1. Copy user profile to partition D

Two. Delete flamante userprofile on partition C

Three. Create verbinding on C partition which points to D partition

Migrate Zimbra 7 (mailboxes, documents,…) to fresh 64 bit server with Zimbra 8.0.

STEP BY STEP GUIDE

OS: Centos Five.8 32 bit

Zimbra: Zimbra 7.Two.0

UPGRADE to latest zimbra for Centos Five.8(ZIMBRA 7.Two.1)

Do you want to verify message store database integrity? [Y]

Verifying integrity of message store databases. This may take a while.

mysqld is alive

Database errors found.

/opt/zimbra/mysql/bin/mysqlcheck -defaults-file=/opt/zimbra/conf/my.cnf -S /opt/zimbra/db/mysql.sock -A -C -s -u root -auto-repair -password=XXXXXXXX

Error : You can’t use locks with loom tables.

Error : You can’t use locks with loom tables.

This is a bug ter mysql and does no hurm .

Upgrade wasgoed successfull. ??

Vertoning fresh zimbra version:

Create backup directory for LDAP

Switch IP ADDRESS

Save mail address for SPAM and HAM accounts

OS: Ubuntu Ten.04 TLS 64bit

Zimbra: Zimbra 8.0 (very first install 7.Two.1)

Install Ubuntu server Ten.04 LTS (minimal install + ssh server)

Create separate partition /opt for zimbra installation (size depend on size and quantity of mailboxes)

Use old mailserver hostname and IP adress

Prepare HOSTS verkeersopstopping .

Download ZIMBRA 7.Two.1

Install ZIMBRA 7.Two.1 to the Fresh SERVER

DNS ERROR resolving MX for mail.domain.tld

It is suggested that the domain name have an MX record configured te DNS

Switch domain name? [Yes]

Create domain: [mail.domain.tld] domain.tld

Create domain: [mail.domain.tld] domain.tld

MX: mail.domain.tld (192.168.Ten.7)

Checking for port conflicts

1) Common Configuration:

Two) zimbra-ldap: Enabled

Three) zimbra-store: Enabled

+Create Admin User: yes

+Admin user to create: admin@domain.tld

******* +Admin Password UNSET

+Anti-virus quarantine user: virus-quarantine.lsmlhshnmy@domain.tld

+Enable automated spam training: yes

+Spam training user: spam.wyqzbievu@domain.tld

+Non-spam(Ham) training user: ham.vccas9hrzf@domain.tld

+SMTP host: mail.domain.tld

+Web server HTTP port: 80

+Web server HTTPS port: 443

+Web server mode: http

+IMAP server port: 143

+IMAP server SSL port: 993

+Speelpop server port: 110

+Speelpop server SSL port: 995

+Use spell check server: yes

+Spell server URL: http://mail.domain.tld:7780/aspell.php

+Configure for use with mail proxy: FALSE

+Configure for use with web proxy: FALSE

+Enable version update checks: TRUE

+Enable version update notifications: TRUE

+Version update notification email: admin@domain.tld

+Version update source email: admin@domain.tld

Four) zimbra-mta: Enabled

Five) zimbra-snmp: Enabled

6) zimbra-logger: Enabled

7) zimbra-spell: Enabled

8) Default Class of Service Configuration:

r) Begin servers after configuration yes

s) Save config to opstopping

Switch admin password

Four) Admin Password set

Switch antivirus quarantine user from old server.

Five) Anti-virus quarantine user: virus-quarantine.jllqjtji@domain.tld

Switch spam training user from old server.

7) Spam training user: spam.ydku3gfyuh@domain.tld

Switch ham training user from old server.

8) Non-spam(Ham) training user: ham.r4ujxkaq4@domain.tld

*** CONFIGURATION Finish – press ‘a’ to apply

Select from menukaart, or press ‘a’ to apply config (? – help) a

Save configuration gegevens to a verkeersopstopping? [Yes]

Spil zimbra user do:

Three. COPY Gegevens TO Fresh SERVER

Copy DB_CONFIG from old server to fresh server

Create BACKUP directory on Fresh SERVER

Copy LDAP Gegevens from OLD SERVER to Fresh SERVER

Invoer LDAP Gegevens

Invoer LDAP CONFIG

COPY localconfig.xml from OLDSERVER to NEWSERVER

BACKUP localconfig.xml on the NEWSERVER

EDIT localconfig.xml and switch values to values from OLDSERVER

c. zimbra_logger_mysql_password (Note: Transfer/copy this value to the fresh 64-bit server only if available from the old 32-bit server.)

d. mailboxd_keystore_password (Note: Transfer/copy this value to the fresh 64-bit server only if available from the old 32-bit server.)

Eliminate gegevens from Fresh SERVER

COPY Gegevens from OLD SERVER

Copy MESSAGES and INDEX files from OLD SERVER to Fresh SERVER

+ Switch keystore PASSWORD

COPY smtp,ldap,nginx CERTIFICATE and KEY from OLD to Fresh server

COPY ZIMLETS FROM OLD SERVER

FIX PERMISSION spil root

Commence ZIMBRA 7.Two.1 on Fresh SERVER

Commencing ldap. Done.

Incapable to determine enabled services from ldap.

Enabled services read from cache. Service list may be inaccurate.

Kicking off zmconfigd. Done.

Kicking off logger. Failed.

Kicking off logswatch. ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.televisiekanaal.ssl.SSLHandshakeException zon.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed)

zimbra logger service is not enabled! failed.

Commencing mailbox. Done.

Kicking off antispam. Done.

Commencing antivirus. Failed.

Embarking amavisd. Config opstopping “/opt/zimbra/conf/amavisd.conf” does not exist, at /opt/zimbra/amavisd/sbin/amavisd line 1799.

Beginning freshclam. done.

Kicking off clamd. ERROR: Can’t open/parse the config opstopping /opt/zimbra/conf/freshclam.conf

Beginning snmp. Done.

Commencing spell. Done.

Beginning mta. Failed.

Beginning saslauthd. saslauthd[8646] :set_auth_mech : failed to initialize mechanism zimbra

zmsaslauthdctl failed to begin

Commencing stats. Done.

Beginning logswatch. ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.nipt.ssl.SSLHandshakeException zon.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed)

zimbra logger service is not enabled! Failed.

Kicking off ldap. Done.

Kicking off zmconfigd. Done.

Kicking off logger. Done.

Beginning mailbox. Done.

Kicking off antispam. Done.

Commencing antivirus. Done.

Commencing snmp. Done.

Kicking off spell. Done.

Kicking off mta. Done.

Embarking stats. Done.

** Saving server config key zimbraSSLCertificate. done.

** Saving server config key zimbraSSLPrivateKey. done.

** Installing mta certificate and key. done.

** Installing slapd certificate and key. done.

** Installing proxy certificate and key. done.

** Creating pkcs12 opstopping /opt/zimbra/ssl/zimbra/jetty.pkcs12. done.

** Creating keystore opstopping /opt/zimbra/mailboxd/etc/keystore. done.

** Installing CA to /opt/zimbra/conf/ca. done.

** Importing CA /opt/zimbra/ssl/zimbra/ca/ca.pem into CACERTS. done.

** Saving completo config key zimbraCertAuthorityCertSelfSigned. done.

** Saving integral config key zimbraCertAuthorityKeySelfSigned. done.

** Copying CA to /opt/zimbra/conf/ca. done.

Updating keys for mail.domain.tld

Fetching key for mail.domain.tld

Updating keys for mail.domain.tld

notBefore=Sep 30 13:Nineteen:52 2012 GMT

notAfter=Sep 29 13:Nineteen:52 2018 GMT

notBefore=Sep 30 13:Nineteen:52 2012 GMT

notAfter=Sep 29 13:Nineteen:52 2018 GMT

notBefore=Sep 30 13:Nineteen:52 2012 GMT

notAfter=Sep 29 13:Nineteen:52 2018 GMT

notBefore=Sep 30 13:Nineteen:52 2012 GMT

notAfter=Sep 29 13:Nineteen:52 2018 GMT

Message: system failure: Cannot WRITE index directory (mailbox=6 idxPath=/opt/zimbra/index/0/6/index/0) Error code: service.FAILURE Method: [unknown] Details:soap:Receiver

Click to MAILQUEUE on WEB CONSOLE produce:

Message: system failure: exception during auth Error code: service.FAILURE Method: [unknown] Details:soap:Receiver

Message: system failure: exception during auth Error code: service.FAILURE Method: [unknown] Details:soap:Receiver

$ zmprov ms mail.domain.tld zimbraRemoteManagementPort 22

Very likely INTERFACES Opstopping .

There wasgoed no gateway te /etc/network/interfaces

add gateway 192.168.1.1

After I switched interfaces opstopping, restart network with

# service networking restart

Pay attention at hosts verkeersopstopping .

NOW everything works fine.

Test MAIL SERVER by sending and receiving mail.

Download fresh Zimbra

Embarking mysql. done.

ERROR 1133 (42000) at line Two: Can’t find any matching row te the user table

ERROR 1396 (HY000) at line 1: Operation Druppel USER failed for ”@’mail’

Check running SERVICES,

Related movie: CRYPTOLOANS (LCN) Coin ICO Review | Big ICO | Voorwaarde Observe Movie


Setup a FIREWALL:

HELP from Zimbra wiki:

OS: linux debian 6

Software Raid: raid 1 created with mdadm

Failed drive: sata drive (/dev/sda) of size 500Gb

Fresh drive: same size or thicker sata drive. Te my case 1Tb sata drive

1. Shutdown server,

Two. Substitute failed disk,

Four. Rebuild Raid 1,

LOOK FOR WORKING DISK

With fdisk I looked how is active disk ter Raid 1 configured.

I used fdisk to create same size raid partitions on fresh disk:

PREPARE Fresh DISK

REBUILD RAID 1 with MDADM:

BUILDING RAID 1:

ALL DISKS UP AND RUNNING

GRUB INSTALL/UPDATE ON Fresh DISK

Example of howto eliminate a failed disk from array:

IF PROBLEMS WITH update-grub … update-grub failed with no such disk …

2 thoughts on “Aljosa – s blog, Mini howtos

Leave a Reply

Your email address will not be published. Required fields are marked *