Binary Domain Guide | GamersOnLinux

 

binarydomain96.jpg

Binary Domain is a 3rd person team action shooter. Play as Dan Marshall and lead his team through high-tech Tokyo in 2080. Literally command your team members with voice commands as you encounter intelligent robot armies that have no fear of death. Upgrade your teams weapons & abilities and lead them through and underground wasteland with no hope of survival.

binarydomain91.jpg

Follow my step-by-step guide on installing, configuring and optimizing Binary Domain in Linux with PlayOnLinux.

Note: This guide applies to the Steam version of Binary Domain. Other versions may require additional steps.Tips & Specs:
To learn more about PlayOnLinux and Wine configuration, see the online manual: PlayOnLinux Explained

Mint 18.3 64-bit

PlayOnLinux: 4.2.12
Wine: 3.0

Wine Installation
Click Tools

Select “Manage Wine Versions”
wine01.png

Look for the Wine Version: 3.0

Select it
Click the arrow pointing to the right
wine02.png

Click Next

Downloading Wine

wine04.png

Extracting

Downloading Gecko

wine05.png

Installed

wine06.png

Wine 3.0 is installed and you can close this window

Downloading Steam
Go To: http://www.steampowered.com

Click Install Steam
binarydomain01.png

Do not click “Install Steam Now”

It will automatically install Linux Steam
Select Windows Steam instead
click “Windows” under the green button
binarydomain02.png

Navigate to your desktop

Click Save
binarydomain03.png

PlayOnLinux Setup
Launch PlayOnLinux

Click Install
binarydomain04.png

Click “install a non-listed program”

binarydomain05.png

Click Next

Select “Install a program in a new virtual drive”

Click Next
binarydomain06.png

Name your virtual drive: binarydomain

Click Next
binarydomain07.png

Check all three options:

 

  • Use another version of Wine
  • Configure Wine
  • Install some libraries

Click Next
binarydomain08.png

Select Wine 3.0

Click Next
binarydomain09.png

Select “32 bits windows installation”

Click Next
binarydomain10.png

Configure WineApplications Tab
Windows Version: Windows 7

Click Apply
binarydomain11.png

Graphics Tab
Check: Automatically capture the mouse in full-screen windows

Click Ok
binarydomain12.png

PlayOnLinux Packages (Libraries, Components, DLL’s)

Check the following libraries:

 

  • POL_Install_corefonts
  • POL_Install_d3dx9
  • POL_Install_tahoma

Click Next
binarydomain13.png

Note: All packages will automatically download and installInstalling Steam
Click Browse

binarydomain14.png

Navigate to your desktop

Select: SteamSetup.exe
Click Open
binarydomain15.png

Click Next

Click Next

Check: I accept the license…

Click Next

Click Next

Click Next

Click Install

Click Finish

Updating Steam

Click the “X” to close Steam login

binarydomain24.png

PlayOnLinux Shortcut
Select Steam.exe

Click Next
binarydomain25.png

Name your shortcut: Binary Domain

Click Next
binarydomain26.png

Select “I don’t want to make another shortcut”

Click Next
binarydomain27.png

PlayOnLinux Configure
Back to PlayOnLinux

Click Configure
binarydomain28.png

General Tab
Wine Version: 3.0

Arguments: -no-dwrite
This fixes any missing font problems
binarydomain29.png

Note: Click the + to download other versions of Wine. Click the down-arrow to select other versions of wineDisplay Tab
Video Memory Size: Select the size of Memory your video card/chip uses

binarydomain30.png

Close Configure

Steam Server Error
Before launching Steam you will get a Server Error for every game

Navigate to your game’s wineprefix:

 

Code:

/home/username/.PlayOnLinux/wineprefix/alienbreed3/drive_c/Program Files/Steam/config/
Open config.vdf with a text editor
binarydomain31.png

Copy this code below

Code:

“CS” “valve511.steamcontent.com;valve530.steamcontent.com;valve548.steamcontent.com;valve539.steamcontent.com;valve519.steamcontent.com;valve555.steamcontent.com;valve504.steamcontent.com;valve529.steamcontent.com;valve558.steamcontent.com;valve500.steamcontent.com;valve561.steamcontent.com;valve532.steamcontent.com;valve540.steamcontent.com;valve502.steamcontent.com;valve544.steamcontent.com;valve528.steamcontent.com;valve556.steamcontent.com;valve520.steamcontent.com;valve542.steamcontent.com;valve538.steamcontent.com;valve551.steamcontent.com;valve521.steamcontent.com;valve564.steamcontent.com;valve516.steamcontent.com;valve535.steamcontent.com;valve541.steamcontent.com;valve533.steamcontent.com;valve536.steamcontent.com;valve557.steamcontent.com;valve559.steamcontent.com;valve537.steamcontent.com;valve508.steamcontent.com;valve525.steamcontent.com;valve565.steamcontent.com;valve566.steamcontent.com;valve514.steamcontent.com;valve545.steamcontent.com;valve517.steamcontent.com;valve547.steamcontent.com;valve549.steamcontent.com;valve503.steamcontent.com;valve515.steamcontent.com;valve506.steamcontent.com;valve562.steamcontent.com;valve526.steamcontent.com;valve543.steamcontent.com;valve522.steamcontent.com;valve518.steamcontent.com;valve509.steamcontent.com;valve550.steamcontent.com;valve552.steamcontent.com;valve505.steamcontent.com;valve553.steamcontent.com;valve512.steamcontent.com;valve546.steamcontent.com;valve554.steamcontent.com;valve510.steamcontent.com;valve563.steamcontent.com;valve501.steamcontent.com;valve531.steamcontent.com;valve523.steamcontent.com;valve524.steamcontent.com;valve507.steamcontent.com;valve560.steamcontent.com;valve567.steamcontent.com;valve513.steamcontent.com;valve1601.steamcontent.com;valve164.steamcontent.com;valve1615.steamcontent.com;valve1602.steamcontent.com;valve1604.steamcontent.com;valve1608.steamcontent.com;valve1603.steamcontent.com;valve1606.steamcontent.com;valve1609.steamcontent.com;valve1618.steamcontent.com;valve1617.steamcontent.com;valve1613.steamcontent.com;valve1607.steamcontent.com;valve1611.steamcontent.com;valve1614.steamcontent.com;valve1619.steamcontent.com;valve1616.steamcontent.com;valve1612.steamcontent.com;valve1610.steamcontent.com;valve165.steamcontent.com;valve1605.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve904.steamcontent.com;valve901.steamcontent.com;valve957.steamcontent.com;valve953.steamcontent.com;valve956.steamcontent.com;valve950.steamcontent.com;valve905.steamcontent.com;valve952.steamcontent.com;valve902.steamcontent.com;valve907.steamcontent.com;valve958.steamcontent.com”

Go to the line

“InstallConfigStore”
{
“Software”
{
“Valve”
{
“Steam”
{
“CM”

Paste in a new line under the “CM” line with all the IP Addresses

Save config.vdf
binarydomain32.png

Launching Steam
Select Binary Domain

Click Run
binarydomain33.png

Note: Click debug to see errors and bugs
Click “Login to existing account”

binarydomain34.png

Login

binarydomain24.png

Find Binary Domain in your Library

Click Install
binarydomain36.png

Uncheck “Create desktop shortcut”

Uncheck “Create start menu shortcut”
Click Next
binarydomain38.png

Click Finish

Wait for Binary Domain to download
binarydomain39.png

Click Play

binarydomain40.png

If you get a DOT Net Framework 3.5 error

Click OK
binarydomain37.png

Optimization
Select Configure at Launch

Click Graphics Configuration
Adjust:

  • Resolution
  • Antialiasing
  • Shadow Quality
  • SSAO Quality
  • Motion Blur
  • VSync
  • Windowed Mode
  • Field of View

Click “Save and Quit”
binarydomain42.png

Click Play again

Check “Play Binary Domain”
Click Play
binarydomain43.png

Conclusion
Binary Domain is a DirectX 9 game and runs beautifully with Wine 3.0 in fact it probably runs on any version of Wine. Definitely give the newest version a try as well. The only issue I experienced was that typical mouse-look problem where it was extremely sensitive. You can see it in the video. So I turned down the sensitivity in-game and that helped a bit.

Gameplay video

 

Screenshots:binarydomain84.jpg

binarydomain87.jpg

binarydomain94.jpg

binarydomain90.jpg

binarydomain98.jpg

binarydomain102.jpg

binarydomain107.jpg

binarydomain108.jpg

binarydomain110.jpg

Source

NVIDIA GeForce RTX 2070 OpenCL, CUDA, TensorFlow GPU Compute Benchmarks

Here are the first of our benchmarks for the GeForce RTX 2070 graphics card that launched this week. In our inaugural Ubuntu Linux benchmarking with the GeForce RTX 2070 is a look at the OpenCL / CUDA GPU computing performance including with TensorFlow and various models being tested on the GPU. The benchmarks are compared to an assortment of available graphics cards and also include metrics for power consumption, performance-per-Watt, and performance-per-dollar.

 

 

The GeForce RTX 2070 as a reminder has 2,304 CUDA cores, 1410MHz base clock speed, 1620MHz boost clock speed, and with its RTX technology is capable of 42T RTX-OPS and 6 Giga Rays/s. The memory with the RTX 2070 is 8GB of GDDR6 and provides a memory bandwidth of 448GB/s.

 

 

There are around 10.8 billion transistors on the RTX 2070’s TU106 GPU core compared to 18.6 billion with the RTX 2080 Ti TU102. While the RTX 2070 is significantly cut-down compared to the RTX 2080 Ti, its price is much lower: while the RTX 2080 Ti flagship card commands a price of $1,199+ (or $799+ for the RTX 2080), the RTX 2070 launch price is at $449 USD or $599 USD for the NVIDIA Founder’s Edition card.

 

 

Like the RTX 2080 series, the RTX 2070 features RT cores for ray-tracing, Tensor cores, DisplayPort 1.4a, and other features in common with the Turing architecture.

 

As NVIDIA didn’t send out RTX 2080 Founder’s Edition review samples and most NVIDIA AIB partners not interested in the (admittedly small) Linux gaming population, I ended up having to buy an RTX 2070 for Linux testing. The retail graphics card I ended up purchasing for the Linux RTX 2070 testing was the EVGA GeForce RTX 2070 XC GAMING (08G-P4-2172-KR). I went with this card simply as it was the cheapest (and closest to reference) model available on launch day. While the RTX 2070 cards are slated to start at $499 USD, this was the cheapest model I could find in stock and came in at $549 USD (or $608 for the fastest shipping and tax).

 

The RTX 2070 has a 175 Watt TDP and requires 6-pin and 8-pin PCI Express power connections.

 

The EVGA GeForce RTX 2070 XC GAMING matches the 1710MHz boost clock speed of the Founder’s Edition card and is aligned with the rest of the RTX 2070 specifications. The RTX 2070 XC GAMING features a dual fan cooler, which EVGA dubs iCX2 cooling and features an EVGA RGB logo.

 

 

EVGA only lists Windows 7 and Windows 10 as the supported operating systems for their GeForce RTX 2070 on their web-site but on the product packaging they do also mention Linux.

Source

Linux Scoop — Ubuntu MATE 18.04 LTS

Ubuntu MATE 18.04 LTS – See What’s New

Ubuntu MATE 18.04 LTS has been released and announced by Ubuntu MATE project. As part of official ubuntu flavor, this release using the latest MATE Desktop 1.20.1 as default desktop environment. Also introduces numerous improvements and new features, including better support for HiDPI displays, new desktop layouts, as well as support for indicators in all layouts by default.

Ubuntu MATE 18.04 LTS operating system received several improvements. Among these, we can mention the Caja file manager, which can now encrypt your most precious files, Marco window manager, which got hardware acceleration, MATE Dock Applet, which now features icon scrolling and matching, the Brisk Menu applications menu is now enabled by default and MATE Tweak, which now lets you toggle the HiDPI mode more easily.

For more informations you can read at Ubuntu MATE 18.04 LTS release announcements
Source

Linux Today – Ubuntu 18.10 (Cosmic Cuttlefish) released

Oct 18, 2018, 12:00

Codenamed “Cosmic Cuttlefish”, 18.10 continues Ubuntu’s proud tradition
of integrating the latest and greatest open source technologies into a
high-quality, easy-to-use Linux distribution. The team has been hard at
work through this cycle, introducing new features and fixing bugs.

The Ubuntu kernel has been updated to the 4.18 based Linux kernel,
our default toolchain has moved to gcc 8.2 with glibc 2.28, and we’ve
also updated to openssl 1.1.1 and gnutls 3.6.4 with TLS1.3 support.

Ubuntu Desktop 18.04 LTS brings a fresh look with the community-driven
Yaru theme replacing our long-serving Ambiance and Radiance themes. We
are shipping the latest GNOME 3.30, Firefox 63, LibreOffice 6.1.2, and
many others.

Ubuntu Server 18.10 includes the Rocky release of OpenStack including
the clustering enabled LXD 3.0, new network configuration via netplan.io,
and iteration on the next-generation fast server installer. Ubuntu Server
brings major updates to industry standard packages available on private
clouds, public clouds, containers or bare metal in your datacentre.

The newest Ubuntu Budgie, Kubuntu, Lubuntu, Ubuntu Kylin, Ubuntu MATE,
Ubuntu Studio, and Xubuntu are also being released today.

More details can be found for these at their individual release notes:

https://wiki.ubuntu.com/CosmicCuttlefish/ReleaseNotes#Official_flavours

Complete Story

Related Stories:

Source

How to test if your zabbix server receive data from zabbix client or not?

you have installed zabbix agent on your server. Process zabbix client is up and running but does zabbix server start to receive data from it?

Simplest way to this is to connect to your zabbix server and initiate zabbix_get command! With this command can get to see data from zabbix client.

zabbix_get – Zabbix get utility.



Syntax:

ram@zabbixserver:~$ zabbix_get -s IP_ZABBIX_CLIENT -k ZABBIX_ITEM

Where -s, –host <host name or IP>

Specify host name or IP address of a host.

-k, –key <item key>

Specify key of item to retrieve value for.
Test the connection between zabbix_server to client.

ram@zabbixserver:~$ zabbix_get -s 192.168.101.26 -k agent.ping

1

If u get output 1 means connection is ok and data is received from 192.168.101.26

ram@zabbixserver:~$ zabbix_get -s 192.168.101.26 -k agent.ping

zabbix_get [31561]: Get value error: cannot connect to [[192.168.101.26 ]:10050]: [111] Connection refused

server 192.168.101.26 but zabbix agent is not installed, not running or firewall is blocking or network problem !!
How to check agent version from zabbix server ?

Using zabbix_get command u can easily get agent version.

ram@zabbixserver:~$zabbix_get -s 192.168.101.26 -k agent.version

3.0.6

Get any information from client host without login to host server using zabbix_get command for example load average.

ram@zabbixserver:~$zabbix_get -s 192.168.101.26 -k “system.cpu.load[all,avg5]”

0.410000

Source

How to Install Seafile on Ubuntu 16.04 • LinuxCloudVPS Blog

19th October 2018

How to Install seafile on Ubuntu 16.04

installing seafile on ubuntu 16.04

SeaFile is an enterprise file hosting platform with high reliability and performance, there are Community Edition and Professional Edition. SeaFile Community Edition is an open source file storage system, it is an alternative to DropBox, we can synchronize the files between multiple computers or mobile devices using the Seafile client. In this tutorial, we will provide you with a step by step instruction on how to install SeaFile Community Edition on Ubuntu 16.04.

Prerequisites:

  • Ubuntu 16.04 with minimum 2GB of RAM
  • SSH access with root privileges

1. Log in to your server via SSH:

# ssh root@server_ip

Before starting with the SeaFile installation, it is encouraged to check that our system package database is up to date.

2. Update the system

# apt update
# apt upgrade

The installation requires a working LAMP, stack. If you don’t have a LAMP stack installed, you need to install it first

#apt install lamp-server^

3. Install dependencies

We need to install some dependencies prior to installing SeaFile Community Edition, run the following commands:

# apt install python2.7 libpython2.7 python-setuptools python-imaging python-ldap python-mysqldb python-memcache python-urllib3 python-pip

and run

# pip install boto

4. Install SeaFile

Let’s create a directory to store SeaFile core files.

# mkdir /opt/seafile
# cd /opt/seafile
# wget https://download.seadrive.org/seafile-server_6.3.4_x86-64.tar.gz
# tar -xzvf seafile-server_6.3.4_x86-64.tar.gz
# cd /opt/seafile/seafile-server-6.3.4

Let’s create a password for MySQL root user. If your MySQL root user already has a password, you can skip this step

# mysql_secure_installation

Now we have configured a password for MySQL root user, let’s proceed with the installation

# ./setup-seafile-mysql.sh

During the installation process, you will be asked for MySQL root password and a new password for Seafile database user.

root@rose:/opt/seafile/seafile-server-6.3.4# ./setup-seafile-mysql.sh
Checking python on this machine …
Checking python module: setuptools … Done.
Checking python module: python-imaging … Done.
Checking python module: python-mysqldb … Done.

—————————————————————–
This script will guide you to setup your seafile server using MySQL.
Make sure you have read seafile server manual at

https://github.com/haiwen/seafile/wiki

Press ENTER to continue
—————————————————————–

What is the name of the server? It will be displayed on the client.
3 – 15 letters or digits
[ server name ] seafile

What is the ip or domain of the server?
For example: www.mycompany.com, 192.168.1.101
[ This server’s ip or domain ] 192.168.0.19

Where do you want to put your seafile data?
Please use a volume with enough free space
[ default “/opt/seafile/seafile-data” ]

Which port do you want to use for the seafile fileserver?
[ default “8082” ]

——————————————————-
Please choose a way to initialize seafile databases:
——————————————————-

[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases

[ 1 or 2 ] 1

What is the host of mysql server?
[ default “localhost” ]

What is the port of mysql server?
[ default “3306” ]

What is the password of the mysql root user?
[ root password ]

verifying password of user root …
verifying password of user root … done

Enter the name for mysql user of seafile. It would be created if not exists.
[ default “seafile” ]

Enter the password for mysql user “seafile”:
[ password for seafile ]

Enter the database name for ccnet-server:
[ default “ccnet-db” ]

Enter the database name for seafile-server:
[ default “seafile-db” ]

Enter the database name for seahub:
[ default “seahub-db” ]

———————————
This is your configuration
———————————

server name: seafile
server ip/domain: 192.168.0.19

seafile data dir: /opt/seafile/seafile-data
fileserver port: 8082

database: create new
ccnet database: ccnet-db
seafile database: seafile-db
seahub database: seahub-db
database user: seafile

———————————
Press ENTER to continue, or Ctrl-C to abort
———————————

Generating ccnet configuration …

done
Successly create configuration dir /opt/seafile/ccnet.
Generating seafile configuration …

Done.
done
Generating seahub configuration …

—————————————-
Now creating seahub database tables …

—————————————-

creating seafile-server-latest symbolic link … done

—————————————————————–
Your seafile server configuration has been finished successfully.
—————————————————————–

run seafile server: ./seafile.sh { start | stop | restart }
run seahub server: ./seahub.sh { start | stop | restart }

—————————————————————–
If you are behind a firewall, remember to allow input/output of these tcp ports:
—————————————————————–

port of seafile fileserver: 8082
port of seahub: 8000

When problems occur, Refer to

https://github.com/haiwen/seafile/wiki

for information.

Once completed, you can start SeaFile and SeaHub:

# ./seafile.sh start
# ./seahub.sh start

When starting seahub for the first time, you will be asked for your email address and a password to create a new SeaFile admin

root@rose:/opt/seafile/seafile-server-6.3.4# ./seahub.sh start
LANG is not set in ENV, set to en_US.UTF-8
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 …

—————————————-
It’s the first time you start the seafile server. Now let’s create the admin account
—————————————-

What is the email for the admin account?
[ admin email ] you@yourdomain.com

What is the password for the admin account?
[ admin password ]

Enter the password again:
[ admin password again ]

—————————————-
Successfully created seafile admin
—————————————-

Seahub is started

Done.

Now, you can access your new SeaFile installation at http://YOUR_IP_ADDRESS:8000 or http://yourdomainname.com:8000

install seafile ubuntu 16.04

5. Configure Apache

To access it without typing the port in the web browser, we need to create an apache virtual host and configure it as a reverse proxy. Apache module proxy_http is not enabled by default, and we need to enable it to run Apache as a reverse proxy.

# a2enmod proxy_http
# nano /etc/apache2/sites-available/yourdomain.com.conf

Add the following lines to the file

<VirtualHost *:80>
ServerName yourdomain.com
DocumentRoot /opt
Alias /media /opt/seafile/seahub/media
RewriteEngine On
<Location /media>
Require all granted
</Location>

ProxyPass /seafhttp http://127.0.0.1:8082
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp – [QSA,L]

SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/
</VirtualHost>

Restart apache to apply the configuration changes

# systemctl restart apache2

Now, you can access your SeaFile installation at http://yourdomain.com

6. Create SystemD file

In the previous step, we ran seafile and seahub using the provided bash script. Let’s create systemd files to make it easier to manage the application.

# nano /etc/systemd/system/seafile.service
[Unit]
Description=Seafile hub
After=network.target seafile.service

[Service]
Type=forking
# change start to start-fastcgi if you want to run fastcgi
ExecStart=/opt/seafile/seafile-server-latest/seahub.sh start
ExecStop=/opt/seafile/seafile-server-latest/seahub.sh stop
User=www-data
Group=www-data

[Install]
WantedBy=multi-user.target

# nano /etc/systemd/system/seahub.service

We also need to change the permissions:

# chown -R www-data: /opt/seafile /tmp/seahub_cache
systemctl daemon-reload
systemctl restart seafile
systemctl restart seahub
systemctl enable seafile
systemctl enable seahub

If you want to access your SeaFile installation securely, you can install a free certificate from LetsEncrypt. Follow the steps below to enable HTTPS on your website.

apt-get install software-properties-common python-software-properties
add-apt-repository ppa:certbot/certbot
apt update
apt-get install python-certbot-apache
certbot

In the last command, you will be asked for your email address and the domain name you want to install a certificate to, and whether you want to redirect HTTP to HTTPS or not. Once finished, you can access your SeaFile installation at https://yourdomain.com

That is it, SeaFile has been successfully installed on your Ubuntu 16.04 server.

install seafile on ubuntu 16.04Of course, you don’t have to Install Seafile on Ubuntu 16.04, if you use one of our Optimized Ubuntu Hosting plans, in which case you can simply ask our expert Linux admins to install Seafile on Ubuntu 16.04 for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post on How to Install Seafile on Ubuntu 16.04, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Be the first to write a comment.

Source

Galera Cluster MariaDB Configuration On CentOS 7

Galera cluster is a true multi-master MySQL cluster using synchronous replication. It allows for any of the nodes to be used as a master or all of them as well as providing automatic node joining and node removal. The multi-master configuration is very different from the typical master-slave configuration done with MySQL servers and can provide much more load balancing and fault tolerance. This guide will help you setup a basic Galera Cluster with MariaDB and CentOS 7. We will configure 3 nodes as that is the minimum required for redundancy, if you were to configure a two-node cluster, if one was to leave the cluster ungracefully the second node would cease to function as well.

Galera And MariaDB Installation

First you are going to want to install MariaDB, version 10.1, on each of the three nodes.

Add the repository to each of the 3 nodes

nano /etc/yum.repos.d/MariaDB10.1.repo

Insert the following repository information and save the file

# MariaDB 10.1 CentOS repository list – created 2017-08-10 00:39 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Install the packages from yum, Galera is included when these are installed

yum -y install MariaDB-server MariaDB-client MariaDB-common

Once yum has completed installing finish the installation by running

mysql_secure_installation

We are going to use rsync to perform the replication so install that as well, we will also use lsof to make sure the server is bound to the correct ports:

yum install -y rsync lsof

Make sure each of the MariaDB instances starts on reboot

systemctl enable mariadb

Galera Master Node Configuration

After installing MariaDB on the master node edit the server.cnf file

nano /etc/my.cnf.d/server.cnf

You will want to insert the following under the [galera] section

binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
bind-address=0.0.0.0
wsrep_on=ON
wsrep_provider=/usr/lib64/galera/libgalera_smm.so
wsrep_cluster_address=”gcomm://192.168.1.100,192.168.1.101,192.168.1.102″

## Galera Cluster Configuration
wsrep_cluster_name=”cluster1″
## Galera Synchronization Configuration
wsrep_sst_method=rsync
## Galera Node Configuration
wsrep_node_address=”192.168.1.100″
wsrep_node_name=”centos7-vm1″

wsrep_on=ON – Setting this to ON enables replication. In MariaDB 10.1, replication is turned off as a default, so this needs to be explicitly stated.
wsrep_cluster_address – This is where we specify each of the IP addresses for the nodes delineated by a comma. The primary node is always the first IP address, this this case its 192.168.1.100
wsrep_cluster_name – Is the name of the cluster, you can name this anything you want
wsrep_node_address – Is the IP address of the node you are configuring
wsrep_node_name – This is the name of the node you are currently configuring, it can be named anything you want, it just needs to be unique.

Under the [mysqld] section add a log location (if you don’t, it will log to the main syslog)

log_error=/var/log/mariadb.log

Once you have finished editing and saved server.cnf, go ahead and create the error log

touch /var/log/mariadb.log

Give the error log the appropriate permissions:

chown mysql:mysql /var/log/mariadb.log

You can now start the new master node by typing the following

galera_new_cluster

After you have started it, make sure it has bound to the correct ports using lsof

Port 4567 is for replication traffic:

# lsof -i:4567
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mysqld 4121 mysql 11u IPv4 34770 0t0 TCP *:tram (LISTEN)

Port 3306 is for MySQL client connections:

# lsof -i:3306
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mysqld 4121 mysql 26u IPv4 34787 0t0 TCP *:mysql (LISTEN)

You will want to add the the ports to the firewall, in this case we are using firewalld

firewall-cmd –zone=public –add-service=mysql –permanent
firewall-cmd –zone=public –add-port=3306/tcp –permanent
firewall-cmd –zone=public –add-port=4567/tcp –permanent
firewall-cmd –zone=public –add-port=4567/udp –permanent

Then reload the firewall:

firewall-cmd –reload

Make sure the cluster is running my connecting to MariaDB on the primary node

mysql -uroot -p

Then check the cluster size

MariaDB [(none)]> SHOW STATUS LIKE ‘wsrep_cluster_size’;
+——————–+——-+
| Variable_name | Value |
+——————–+——-+
| wsrep_cluster_size | 1 |
+——————–+——-+

It should say 1 at this point because only the primary node is connected.

Adding Additional Nodes To Galera

After installing MariaDB on the addtional nodes, you will want to copy the [galera] section of /etc/my.cnf.d/server.cnf that We created earlier and insert it into the server.cnf on each of the additional nodes. The only lines that will each on each of the additional nodes will be the the following:

wsrep_node_address=”192.168.1.100″
wsrep_node_name=”centos7-vm1″

The wsrep_node_address will be the IP address of the node you are configuring and the wsrep_node_name will be the name of that node.

After you have finished each of the servers configuration files, you can start them normally

systemctl start mariadb

As each node connects to the cluster you should see the wsrep_cluster_size increase:

MariaDB [(none)]> SHOW STATUS LIKE ‘wsrep_cluster_size’;
+——————–+——-+
| Variable_name | Value |
+——————–+——-+
| wsrep_cluster_size | 3 |
+——————–+——-+

You will also see nodes join in the log:

WSREP: Member 1.0 (centos7-vm2) synced with group.

The logs will also indicate when a node as left the group:

WSREP: forgetting 96a5eca6 (tcp://192.168.1.101:4567)
WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2

You can view the full configuration of Galera by typing the following:

MariaDB [(none)]> show status like ‘wsrep%’;
+——————————+——————————————————–+
| Variable_name | Value |
+——————————+——————————————————–+
| wsrep_apply_oooe | 0.000000 |
| wsrep_apply_oool | 0.000000 |
| wsrep_apply_window | 1.000000 |
| wsrep_causal_reads | 0 |
| wsrep_cert_deps_distance | 1.000000 |
| wsrep_cert_index_size | 2 |
| wsrep_cert_interval | 0.000000 |
| wsrep_cluster_conf_id | 3 |
| wsrep_cluster_size | 3 |
| wsrep_cluster_state_uuid | 6173c852-7ca0-11e7-8d8e-0e2551d18de1 |
| wsrep_cluster_status | Primary |
| wsrep_commit_oooe | 0.000000 |
| wsrep_commit_oool | 0.000000 |
| wsrep_commit_window | 1.000000 |
| wsrep_connected | ON |
| wsrep_desync_count | 0 |
| wsrep_evs_delayed | |
| wsrep_evs_evict_list | |
| wsrep_evs_repl_latency | 0/0/0/0/0 |
| wsrep_evs_state | OPERATIONAL |
| wsrep_flow_control_paused | 0.000000 |
| wsrep_flow_control_paused_ns | 0 |
| wsrep_flow_control_recv | 0 |
| wsrep_flow_control_sent | 0 |
| wsrep_gcomm_uuid | 87a5891a-7ca0-11e7-a3bb-fe31f8409645 |
| wsrep_incoming_addresses | 192.168.1.101:3306,192.168.1.7:3306,192.168.1.100:3306 |
| wsrep_last_committed | 2 |
| wsrep_local_bf_aborts | 0 |
| wsrep_local_cached_downto | 1 |
| wsrep_local_cert_failures | 0 |
| wsrep_local_commits | 0 |
| wsrep_local_index | 1 |
| wsrep_local_recv_queue | 0 |
| wsrep_local_recv_queue_avg | 0.125000 |
| wsrep_local_recv_queue_max | 2 |
| wsrep_local_recv_queue_min | 0 |
| wsrep_local_replays | 0 |
| wsrep_local_send_queue | 0 |
| wsrep_local_send_queue_avg | 0.000000 |
| wsrep_local_send_queue_max | 1 |
| wsrep_local_send_queue_min | 0 |
| wsrep_local_state | 4 |
| wsrep_local_state_comment | Synced |
| wsrep_local_state_uuid | 6173c852-7ca0-11e7-8d8e-0e2551d18de1 |
| wsrep_protocol_version | 7 |
| wsrep_provider_name | Galera |
| wsrep_provider_vendor | Codership Oy <[email protected]> |
| wsrep_provider_version | 25.3.20(r3703) |
| wsrep_ready | ON |
| wsrep_received | 8 |
| wsrep_received_bytes | 1169 |
| wsrep_repl_data_bytes | 359 |
| wsrep_repl_keys | 1 |
| wsrep_repl_keys_bytes | 31 |
| wsrep_repl_other_bytes | 0 |
| wsrep_replicated | 1 |
| wsrep_replicated_bytes | 454 |
| wsrep_thread_count | 2 |
+——————————+——————————————————–+

Testing Replication On The Galera Cluster

First access one of the nodes MariaDB installs

# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 7
Server version: 10.1.25-MariaDB MariaDB Server

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type ‘help;’ or ‘h’ for help. Type ‘c’ to clear the current input statement.

MariaDB [(none)]>

Then create a new database

MariaDB [(none)]> create database galera_test;
Query OK, 1 row affected (0.01 sec)

Then check to ensure it was replicated to the other nodes

MariaDB [(none)]> show databases;
+——————–+
| Database |
+——————–+
| galera_test |
| information_schema |
| mysql |
| performance_schema |
+——————–+
4 rows in set (0.00 sec)

You should see the ‘galera_test’ database appear on the other nodes as well. That is it for the inital configuration of the MariaDB Galera Cluster on CentOS 7

Aug 9, 2017LinuxAdmin.io

Source

Oracle Delivers the Trifecta of Retail Insight with New Cloud Service

Press Release

Oracle Retail Insights Cloud Service Suite Delivers Descriptive, Prescriptive and Predictive Analytics to the Retail Enterprise

Redwood Shores, Calif.—Oct 18, 2018

Oracle Retail has combined three cloud services into a new Oracle Retail Insights Cloud Service Suite. By combining existing science and insight cloud services, Oracle can provide a spectrum of analytics that align to key performance indicators for the retail community. These metrics render in a beautiful user experience with dashboards organized by persona and organizational responsibilities in Oracle Retail Home to encourage more strategic decisions that drive growth and operational efficiency. Oracle Retail customers including Gap Inc., Lojas Renner and Al Nahdi have already experienced the benefits of Oracle Retail Insights and Science solutions and continue to inform their strategic decisions with in-depth insights and science-enabled analytics.

“The Advanced and Predictive Analytics software market, which in 2017 reached $3.1 billion worldwide, is expected to grow at a five-year CAGR of 9.4%. Sophisticated analytical techniques are being embedded into more and more applications,” said Chandana Gopal, Research Manager, Analytics and Information Management, IDC. “Forward-looking analytics is going to become much more mainstream, as enterprises are able to harness more and more data from a variety of sources.”

“We are working with several retailers who are anxious to adopt cloud to bridge the gap between operations and innovations,” said Jeff Warren, Vice President, Oracle Retail. “To capitalize on the surge of unstructured and structured data in retail, we have applied advanced techniques for analyzing retail data from multiple perspectives into a single cloud services suite that integrates with retail-rich applications and cloud services. With these tools we can deliver analysis on what happened (descriptive), what is going to happen (predictive) and what a retailer should do about it going forward (prescriptive).”

The Trifecta: A Powerful Adaptive Intelligence Suite for the Entire Retail Enterprise

With the new Oracle Retail Insights Cloud Service Suite retail organizations can experience benefits including:

    • Enhanced User Experience and Relevance: The cloud suite leverages Oracle Retail Home to provide a single and modern access point to the data. The user experience streamlines and simplifies access to data and applications to provide relevant and actionable information based on roles and responsibilities. The federated user interfaces support integrated insights-to-action loops.
    • Speed to Value: With one rapidly-deployed cloud service, the solution represents the application of Oracle’s analytical core to modern retailing: a comprehensive big data warehouse founded on industry best practices and the scalability, reliability, and economy of a complete Oracle analytic tech stack in the Oracle Cloud.
    • Better Understanding of Customer Context: Gain a better understanding of who your customers are, how they behave and why, so you can make the more intelligent product and promotion decisions. Leverage complete visibility into what motivates customers at each stage of their journey and how they are interacting with your brand across all touchpoints.
    • Uncover Merchandising Intelligence: Identify actionable merchandising opportunities across touchpoints, including backorder and returns, top/bottom seller, demand/fulfillment and price and promotion analysis.
    • Inspire Customer Loyalty: Leverage a highly visual, intuitive, end-to-end workflow to define and execute local market assortments, improve conversion of traffic into sales, and increase customer satisfaction.
    • Leverage Artificial Intelligence and Machine Learning: Retail business users can conduct advanced analyses to understand better and optimize affinity, store clustering, customer segmentation, consumer decision trees, demand transference, and attribute extraction.
    • Unleash the Power of Flexibility and Ad Hoc Reporting: Business analysts and data science teams can leverage innovation workbench for additional ad hoc analysis.
    • Leverage Common Foundational Data Architecture: The suite can exploit the logical value of the data generated by Oracle Retail’s comprehensive application footprint, and surfaces properly-filtered and secured descriptive, predictive and prescriptive analytics to whomever, however, whenever and wherever desired.
    • Drive Retail Investment: Optimize assortments to available space to maximize planogram performance, return-on-space, sales, revenue, and profits, while improving customer satisfaction with the optimal variety for each store.
    • Improve Gross Margin: Drive optimal recommendations for promotions, markdowns, and targeted offers that maximize profits and sell through leveraging prescriptive analytics.
About Oracle

The Oracle Cloud offers complete SaaS application suites for ERP, HCM and CX, plus best-in-class database Platform as a Service (PaaS) and Infrastructure as a Service (IaaS) from data centers throughout the Americas, Europe and Asia. For more information about Oracle (NYSE:ORCL), please visit us at www.oracle.com.

About Oracle Retail

Oracle provides retailers with a complete, open, and integrated suite of best-of-breed business applications, cloud services, and hardware that are engineered to work together and empower commerce. Leading fashion, grocery, and specialty retailers use Oracle solutions to anticipate market changes, simplify operations and inspire authentic brand interactions. For more information, visit our website at www.oracle.com/retail.

Trademarks

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Source

Kali Linux 2017.1 XFCE Desktop Installation on Oracle VirtualBox

Kali Linux 2017.1 XFCE Installation on VirtualBox
Kali Linux 2017.1 XFCE Installation on Oracle VirtualBox

This video tutorial shows

Kali Linux 2017.1 XFCE installation

on

Oracle VirtualBox

step by step. This tutorial is also helpful to install Kali Linux 2017 Xfce on physical computer or laptop hardware. We also install

Guest Additions

on Kali Linux 2017 for better performance and usability features such as Automatic Resizing Guest Display, Shared Folder, Seamless Mode and Shared Clipboard, Improved Performance and Drag and Drop.

Kali Linux 2017.1 Xfce Desktop Installation Steps:

  1. Create Virtual Machine on Oracle VirtualBox
  2. Start Kali Linux 2017.1 XFCE Installation
  3. Install Guest Additions
  4. Test Guest Additions Features: Automatic Resizing Guest Display and Shared Clipboard

Installing Kali Linux 2017.1 Xfce Desktop on Oracle VirtualBox

 

Kali Linux 2017.1 New Features and Improvements

Kali Linux

is a Debian-based distribution which features several security and forensics tools. Kali Linux 2017.1 features drivers for RTL8812AU wireless chipsets, improved GPU support and there are now Azure and AWS images of Kali Linux for cloud instances.

Kali Linux 2017.1

brings with it a bunch of exciting updates and features. As with all new releases, you have the common denominator of updated packages, an updated kernel that provides more and better hardware support, as well as a slew of updated tools.

Kali Linux Website:

https://www.kali.org/

What is Xfce Desktop Environment?

Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly. It includes a window manager, a file manager, desktop and panel.

Xfce Desktop Website:

https://www.xfce.org/

Hope you found this Kali Linux 2017.1 XFCE installation on Oracle VirtualBox tutorial helpful and informative. Please consider sharing it. Your feedback and questions are welcome!

Source

Use python to zip a file and directory

A compressed file contains many files, directory and subdirectories. Many applications are available to create a compress file of any large file or directory and retrieve files or folders by extracting a compressed file. When we want to transfer any large or folder over the Internet then it is better to compress the content before transferring. This makes the task faster. You can use python scripts for compressing and extracting any large file or directory.

 

Source

WP2Social Auto Publish Powered By : XYZScripts.com