Posts

Showing posts from 2014

ASUS M4A88T-I Deluxe 16GB RAM 2x8GB DDR3 support and working fine

Image
BIOS Information Vendor: American Megatrends Inc. Version: 1201 Release Date: 07/27/2012 Base Board Information Manufacturer: ASUSTeK Computer INC. Product Name: M4A88T-I DELUXE Version: Rev X.0x Serial Number: 106050290000193 Processor Information Socket Designation: AM3 Type: Central Processor Family: Phenom II Manufacturer: AMD               ID: 43 0F 10 00 FF FB 8B 17 Signature: Family 16, Model 4, Stepping 3 Version: AMD Phenom(tm) II X4 965 Processor                   Voltage: 1.5 V External Clock: 200 MHz Max Speed: 3400 MHz Current Speed: 3400 MHz Status: Populated, Enabled Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 16 GB Error Information Handle: Not Provided Number Of Devices: 2 Memory Device Array Handle: 0x0027 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64

Zabbix 2.2 on gentoo Install Notes

Image
https://www.zabbix.com/wiki/howto/install/gentoo/gentoo https://www.zabbix.com/wiki/howto/install/centos/centosinstall ZABBIX  package  /etc/portage/package.use net-analyzer/zabbix agent frontend mysql server ssh # required by net-analyzer/zabbix-2.2.2-r1[frontend] # required by zabbix (argument) >=dev-lang/php-5.5.11:5.5 xmlwriter sysvipc apache2 bcmath gd sockets xmlreader mysql mysqli threads # required by dev-lang/php-5.5.11 # required by net-analyzer/zabbix-2.2.2-r1[frontend] # required by zabbix (argument) >=app-admin/eselect-php-0.7.1-r3 apache2 >=www-servers/apache-2.4.9-r2 threads emerge -a zabbix MYSQL if the mysql is fresh install do emerge –config =dev-db/mysql-5.5.32  # this should also ask u to create mysql root password ~ # systemctl start mysqld  ~ # systemctl enable mysqld mysql -u root -p mysql> use mysql; mysql>  CREATE DATABASE `zabbix` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; mysql>  USE zabbix; mysql&g

app-emulation/vmware-modules-279.2::gentoo failed

Image
vmware-modules-279.2.ebuild pastebin.com/jzNZUqax files -rw-r--r-- 1 risko risko 5000 Apr 12 21:01 279-linux-3.14.patch http://pastebin.com/fpwy6Vmf -rw-r--r-- 1 root  root  2380 Apr 12 21:01 279-vmblock-3.11.patch http://pastebin.com/699BTUiW -rw-r--r-- 1 root  root  2572 Apr 12 21:01 279-vmblock-3.12.patch http://pastebin.com/NxKs4vNx cp files/* /usr/portage/app-emulation/vmware-modules/files/ cp vmware-modules-279.2.ebuild /usr/portage/app-emulation/vmware-modules/ ebuild /usr/portage/app-emulation/vmware-modules/vmware-modules-279.2.ebuild digest

plex media server systemd

cat /etc/systemd/system/pms.service [Unit] Description=Plex Media Server for Linux After=network.target [Service] Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support" Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 Environment=PLEX_MEDIA_SERVER_TMPDIR=/tmp Environment=LD_LIBRARY_PATH=/usr/lib/plexmediaserver Environment=LC_ALL=en_US.UTF-8 Environment=LANG=en_US.UTF-8 ExecStartPre=/bin/sh -c '/usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"' ExecStart=/bin/sh -c '/usr/lib/plexmediaserver/Plex\ Media\ Server' Type=simple User=plex Group=plex Restart=on-failure RestartSec=5 StartLimitInterval=60s StartLimitBurst=3 [Install] WantedBy=multi-user.target

emerge failed app-emulation/vmware-modules-279.1-r1

put these into folder named files. -rw-r--r-- 1 risko risko 5000 Apr 12 21:01 279-linux-3.14.patch http://pastebin.com/fpwy6Vmf -rw-r--r-- 1 root  root  2380 Apr 12 21:01 279-vmblock-3.11.patch http://pastebin.com/699BTUiW -rw-r--r-- 1 root  root  2572 Apr 12 21:01 279-vmblock-3.12.patch http://pastebin.com/NxKs4vNx -rw-r--r-- 1 root  root  1190 Apr 12 21:01 279-vmnet-3.13.patch http://pastebin.com/2DFip3cX get the updated ebuild file vmware-modules-279.1-r1.ebuild http://pastebin.com/PgXmxhyU cp files/* /usr/portage/app-emulation/vmware-modules/files/ cp vmware-modules-279.1-r1.ebuild /usr/portage/app-emulation/vmware-modules/ ebuild /usr/portage/app-emulation/vmware-modules/vmware-modules-279.1-r1.ebuild digest

zabbix server on Scientific Linux 6.5

yum install wget wget http://mirror.switch.ch/ftp/mirror/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm yum install ntp ntpdate ch.pool.ntp.org date yum install yum-plugin-fastestmirror yum install open-vm-tools yum install zabbix22-server-mysql zabbix22-web-mysql zabbix22-agent yum install mysql-server chkconfig mysqld on service mysqld start /usr/bin/mysql_secure_installation mysql -uroot -p****** cd /usr/share/zabbix-mysql/ mysql -uroot -p****** zabbix < schema.sql mysql -uroot -p****** zabbix < images.sql mysql -uroot -p****** zabbix < data.sql vi /etc/zabbix/zabbix_server.conf service zabbix-server start vi /etc/httpd/conf.d/zabbix.conf  service httpd restart iptables -L -v chkconfig zabbix-server on service start zabbix-agent  vi /etc/selinux/config  reboot service httpd start chkconfig httpd on /sbin/service iptables save  vi /etc/sysconfig/iptables iptables-restore /etc/s

zabbix agent on gentoo

add Use Flag agent antec ~ # grep zabb /etc/portage/package.use net-analyzer/zabbix agent emerge -a zabbix For some reason the conf file is expected in /etc antec ~ # cp /etc/zabbix/zabbix_agentd /etc/zabbix_agentd.conf antec ~ # ls -l /etc/zabbix_agentd.conf        -rw-r----- 1 zabbix zabbix 7015 Apr 13 23:40 /etc/zabbix_agentd.conf antec ~ # grep -s 192 /etc/zabbix_agentd.conf Server=192.168.192.200 Also had to cread zabbix dir in /run mkdir /run/zabbix chown zabbix:zabbix /run/zabbix systemctl start zabbix-agentd

nfs v4 server client autofs gentoo

https://wiki.gentoo.org/wiki/NFSv4 https://wiki.archlinux.org/index.php/NFS Server CONFIG_NFSD=y CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set CONFIG_NFSD_V4=y # CONFIG_NFSD_FAULT_INJECTION is not set CONFIG_NFS_COMMON=y antec ~ # cat /etc/exports /export                 192.168.192.0/24(rw,fsid=0,no_subtree_check) /export/sata1           192.168.192.0/24(rw,nohide,no_subtree_check) /export/sata2           192.168.192.0/24(rw,nohide,no_subtree_check) antec ~ # cat /etc/fstab | grep export /misc/sata1 /export/sata1 none    bind  0  0 /misc/sata2 /export/sata2 none    bind  0  0 antec ~ # grep sata /etc/autofs/auto.misc  sata1 -fstype=ext4,rw :UUID="d4100459-eb46-4dd6-8856-1726d654e7b2" sata2 -fstype=ext4,rw :UUID="9c0c1c0d-43ee-4f60-b7cb-367c5062da47" nfsd.service                                enabled  rpc-idmapd.service                          enabled  rpc-mountd.service                          ena

Failed to emerge app-emulation/vmware-modules-279.1

/usr/src/linux-3.14.0-gentoo/Makefile:1274: recipe for target '_module_/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only' failed make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only] Error 2 Makefile:133: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-3.14.0-gentoo' Makefile:130: recipe for target 'vmblock.ko' failed make: *** [vmblock.ko] Error 2  * ERROR: app-emulation/vmware-modules-279.1::gentoo failed (compile phase):  *   emake failed  *  * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.1::gentoo'`,  * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.1::gentoo'`.  * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.1/temp/build.log'.  * The ebuild environment file is locat

VMware Workstation 10 systemd Server service /etc/systemd/system/vmware-workstation-server.service 

app-emulation/vmware-workstation 10.0.2.1744117 app-emulation/vmware-modules 279.2 antec ~ # uname -a Linux antec 3.14.1-gentoo-phenomx4-2014-04-17 #1 SMP Fri Apr 18 09:28:39 CEST 2014 x86_64 AMD Phenom(tm) II X4 965 Processor AuthenticAMD GNU/Linux modules patch found in  https://bugs.gentoo.org/show_bug.cgi?id=508204 antec ~ # cat /etc/systemd/system/vmware-workstation-server.service [Unit] Description=VMware Workstation Server Wants=vmware-authentication.service Wants=vmware.target [Service] Type=simple PIDFile=/var/run/vmware/vmware-hostd.PID #ExecStartPre=/opt/vmware/sbin/vmware-authdlauncher ExecStart=/opt/vmware/bin/vmware-hostd -a -d /etc/vmware/hostd/config.xml Restart=on-abort [Install] WantedBy=multi-user.target antec ~ # cat /etc/systemd/system/vmware-authentication.service     [Unit] Description=VMware Authentication Daemon After=vmware-vmnet.service PartOf=vmware.target [Service] Type=simple RemainAfterExit=yes ExecStart=/opt/vmwa

transmission https nginx

https://forum.transmissionbt.com/viewtopic.php?f=3&t=8163 http://www.cyberciti.biz/faq/nginx-self-signed-certificate-tutorial-on-centos-redhat-linux/ ~ # cat /etc/nginx/nginx.conf user nginx nginx; worker_processes 1; error_log /var/log/nginx/error_log info; events { worker_connections 1024; use epoll; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] ' '"$request" $status $bytes_sent ' '"$http_referer" "$http_user_agent" ' '"$gzip_ratio"'; client_header_timeout 10m; client_body_timeout 10m; send_timeout 10m; connection_pool_size 256; client_header_buffer_size 1k; large_client_header_buffers 4 2k; request_pool_size 4k; gzip on; gzip_min_length 1100; gzip_buffers 4 8k; gzip_types text/plain; output_buffers 1 32k; postpone_output 1460; sendfile on; tcp_nopu

EFI Stub Antec

 root@archiso ~ # efibootmgr -c -d /dev/sda -p 1 -l /EFI/arch/vmlinuz-arch.efi -L "Arch Linux" -u "root=PARTUUID=49af276b-cf22-47a4-bf1e-b30e2fac6655 rootfstype=xfs add_efi_memmap initrd=/EFI/arch/initramfs-arch.img" root@archiso ~ # blkid /dev/sda1: SEC_TYPE="msdos" UUID="EFF9-6B1A" TYPE="vfat" PARTLABEL="EFI" PARTUUID="c30b18b3-030f-481a-a8f5-b827936ca260" /dev/sda2: UUID="228c8155-39b9-4c1e-a2a0-7dbc68d5dba5" TYPE="xfs" PARTLABEL="Linux filesystem" PARTUUID="49af276b-cf22-47a4-bf1e-b30e2fac6655" root@archiso ~ # cat /mnt/etc/systemd/system/efistub-update.service [Unit] Description=Copy EFISTUB Kernel to UEFISYS Partition [Service] Type=oneshot ExecStart=/usr/bin/cp -f /boot/vmlinuz-linux /boot/efi/EFI/arch/vmlinuz-arch.efi ExecStart=/usr/bin/cp -f /boot/initramfs-linux.img /boot/efi/EFI/arch/initramfs-arch.img ExecStart=/usr/bin/cp -f /boot/initramfs-linux-fall

unable to load firmware patch rtl_nic/rtl8168d-2.fw (-2) Loading firmware file 'rt2870.bin'

[   17.951626] r8169 0000:02:00.0 enp2s0: unable to load firmware patch rtl_nic/rtl8168d-2.fw (-2) [   17.960371] r8169 0000:02:00.0 enp2s0: link down [   17.960384] r8169 0000:02:00.0 enp2s0: link down [   17.960415] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready [   18.002341] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin' [   18.002393] ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware [   20.790008] r8169 0000:02:00.0 enp2s0: link up [   20.790026] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready itx ~ # emerge -a sys-kernel/linux-firmware itx ~ # find /lib/firmware/ -name rtl8168e-2.fw /lib/firmware/rtl_nic/rtl8168e-2.fw itx ~ # find /lib/firmware/ -name rt2870.bin   /lib/firmware/rt2870.bin CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="radeon/REDWOOD_me.bin radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin radeon/REDWOOD_smc.bin radeon/CYPRESS_uvd.bin rtl_nic/rtl8168

Sensors on ASUSTeK M4A88T-I DELUXE

Manufacturer: ASUSTeK Computer INC.         Product Name: M4A88T-I DELUXE itx ~ # cat /etc/conf.d/lm_sensors LOADMODULES=yes INITSENSORS=yes HWMON_MODULES="it87" MODULE_0=it87 itx ~ # sensors atk0110-acpi-0 Adapter: ACPI interface Vcore Voltage:      +0.97 V  (min =  +0.85 V, max =  +1.60 V)  +3.3 Voltage:      +3.36 V  (min =  +2.97 V, max =  +3.63 V)  +5 Voltage:        +4.95 V  (min =  +4.50 V, max =  +5.50 V)  +12 Voltage:      +12.05 V  (min = +10.20 V, max = +13.80 V) CPU FAN Speed:     1056 RPM  (min =  600 RPM, max = 7200 RPM) CHASSIS FAN Speed:  934 RPM  (min =  600 RPM, max = 7200 RPM) CPU Temperature:    +46.0 C  (high = +60.0 C, crit = +95.0 C) MB Temperature:     +46.0 C  (high = +45.0 C, crit = +75.0 C) k10temp-pci-00c3 Adapter: PCI adapter temp1:        +41.5 C  (high = +70.0 C)                        (crit = +99.5 C, hyst = +97.5 C) radeon-pci-0100 Adapter: PCI adapter temp1:        +57.0 C  

Asus Linux k53sv 3.10.25-gentoo #1 SMP PREEMPT Mon Feb 17 19:05:38 CET 2014 x86_64 Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz GenuineIntel GNU/Linux

http://pastebin.com/0P2UQu3V

slimlock with systemd

[SOLVED] xlock+suspend with systemd k53sv ~ # cat /etc/systemd/system/slimlock.service [Unit] Description=Lock X session using slimlock [Service] User=risko ExecStart=/usr/bin/slimlock [Install] WantedBy=sleep.target k53sv ~ # vi /etc/systemd/system/slimlock.service k53sv ~ # systemctl status slimlock slimlock.service - Lock X session using slimlock    Loaded: loaded (/etc/systemd/system/slimlock.service; disabled)    Active: inactive (dead) k53sv ~ # systemctl enable slimlock ln -s '/etc/systemd/system/slimlock.service' '/etc/systemd/system/sleep.target.wants/slimlock.service' k53sv ~ #