miércoles, 22 de agosto de 2018

Vagrant

Notes
Install vagrant and virtualbox latest version
run:
vagrant init hashicorp/precise32
vagrant up
login trough ssh
--vagrant ssh

#Prerequisites
powershell 3.0 follow this link , download installer, reboot and run
To install above update run repair.bat showed in this link.
Get-Host | Select-Object Version
PS C:\Users\Esteban> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/precise32' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'hashicorp/precise32'
    default: URL: https://vagrantcloud.com/hashicorp/precise32
==> default: Adding box 'hashicorp/precise32' (v1.0.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/hashicorp/boxes/precise32/versions/1.0.0/providers/virtualbox.box
    default: Progress: 12% (Rate: 674k/s, Estimated time remaining: 0:09:40)

To see commands, use:
 vagrant list -commands

Below is a listing of all available Vagrant commands and a brief
description of what they do.

box             manages boxes: installation, removal, etc.
cap             checks and executes capability
destroy         stops and deletes all traces of the vagrant machine
docker-exec     attach to an already-running docker container
docker-logs     outputs the logs from the Docker container
docker-run      run a one-off command in the context of a container
global-status   outputs status Vagrant environments for this user
halt            stops the vagrant machine
help            shows the help for a subcommand
init            initializes a new Vagrant environment by creating a Vagrantfile
list-commands   outputs all available Vagrant subcommands, even non-primary ones
login           log in to HashiCorp's Vagrant Cloud
package         packages a running vagrant environment into a box
plugin          manages plugins: install, uninstall, update, etc.
port            displays information about guest port mappings
powershell      connects to machine via powershell remoting
provider        show provider for this environment
provision       provisions the vagrant machine
push            deploys code in this environment to a configured destination
rdp             connects to machine via RDP
reload          restarts vagrant machine, loads new Vagrantfile configuration
resume          resume a suspended vagrant machine
rsync           syncs rsync synced folders to remote machine
rsync-auto      syncs rsync synced folders automatically when files change
snapshot        manages snapshots: saving, restoring, etc.
ssh             connects to machine via SSH
ssh-config      outputs OpenSSH valid configuration to connect to the machine
status          outputs status of the vagrant machine
suspend         suspends the machine
up              starts and provisions the vagrant environment
validate        validates the Vagrantfile
version         prints current and latest Vagrant version

Provider flag: VirtualBox provider
Network Adapter is NAT
Virtual box addition installed
package the box
started in headless mode with no user interface

PS C:\Users\Esteban> vagrant ssh
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.13.0-32-generic i686)

 * Documentation:  https://help.ubuntu.com/
New release '14.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

vagrant destroy

https://vagrantcloud.com/search


Install Vagrant VirtualBox Provider
sudo mount /dev/cdrom /media/cdrom

Vagrant & Parallels (link)
PS C:\Users\Esteban\precise64> vagrant plugin install vagrant-parallels
Installing the 'vagrant-parallels' plugin. This can take a few minutes...
Fetching: mini_portile2-2.3.0.gem (100%)
Fetching: nokogiri-1.8.4-x64-mingw32.gem (100%)
Nokogiri is built with the packaged libraries: libxml2-2.9.8, libxslt-1.1.32, zlib-1.2.11, libiconv-1.15.
Fetching: vagrant-parallels-1.7.8.gem (100%)
Installed the plugin 'vagrant-parallels (1.7.8)'!

PS C:\Users\Esteban> vagrant box --help
Usage: vagrant box []
Available subcommands:
     add
     list
     outdated
     prune
     remove
     repackage
     update

vagrant box add machine http://download.parallels.com/desktop/vagrant/precise64.box



lunes, 19 de febrero de 2018

Centos 7: Install MP3 codecs

From this link run:

yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

yum install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld libde265 x265

viernes, 4 de agosto de 2017

Play DVDs from Android

Forum page about the topic
https://forums.androidcentral.com/android-apps/12268-iso-player-android.html

Some tools from above link

Kodi play iso fine
https://kodi.tv/

No yet tested
https://play.google.com/store/apps/details?id=com.daroonplayer.dsplayer&hl=fr

Play fine dvd content copy directly
https://play.google.com/store/apps/details?id=com.wondershare.player&hl=es

jueves, 13 de julio de 2017

Amazon Fire 8 HD root

After some time spending searching for way to root it I ended accept that for fire 5.4 OS there isnt tool for rooting.

1. For fire O.S 5.1 this link works.
2. Video with patch zip with interesting scripts.
3. Spanish instructions also for old o.s. version.

domingo, 2 de julio de 2017

Fedora 25 (HP pavilion dm1)

This is a kind of draft document, the main goal is to have this flavour of linux no freezing or hanging.

What to do when freezing is happening at any time and no pattern found.

First idea:
Check hardware drivers


su -c 'lspci -v'
[root@agape ~]# find /sys | grep drivers.*.00:01
/sys/bus/pci/drivers/snd_hda_intel/0000:00:01.1
/sys/bus/pci/drivers/radeon/0000:00:01.0
/sys/bus/pnp/drivers/rtc_cmos/00:01

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320] (prog-if 00 [VGA controller])
    Subsystem: Hewlett-Packard Company Device 3387
    Flags: bus master, fast devsel, latency 0, IRQ 26
    Memory at e0000000 (32-bit, prefetchable) [size=256M]
    I/O ports at 4000 [size=256]
    Memory at f0300000 (32-bit, non-prefetchable) [size=256K]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
    Kernel driver in use: radeon
    Kernel modules: radeon
 Logs
journalctl
This site said that journalctl without options show full log.
Jul 01 10:54:14 agape.time kernel: b43: probe of bcma0:1 failed with error -524



ul 01 06:55:00 agape.time org.a11y.Bus[824]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":9"
Jul 01 06:55:00 agape.time org.a11y.Bus[824]:       after 21 requests (21 known processed) with 0 events remaining.

Jul 01 06:58:45 agape.time packagekitd[1374]: Skipping     refresh of fedora: cannot update repo 'fedora': Yum repo downloading error: Downloading error(s
Jul

ul 01 06:59:09 agape.time gnome-shell[1254]: JS LOG: Received error from DBus search provider org.gnome.Software.desktop: Gio.IOErrorEnum: Timeout wa
Jul

Jul 01 07:34:32 agape.time kernel: PK-Backend[4542]: segfault at c ip 00007f690eeec704 sp 00007f68f9da3cc8 error 4 in libdnf.so.1[7f690eed2000+3b000]
Jul
Next: Reinstall WL network (link)