Primele experiente cu CentOS 7

Să o luam în ordine…

Pentru mine asta e de baza:
yum install mc

Apoi mysql …. Stai asa ca n-are … are mariadb …Okkkk

yum install mariadb
yum install mariadb-server

Fara mariadb-server on sa insteze doar client si libs. Ceea ce mi se pare fair enough.


service mariadb start
systemctl enable mariadb.service

Mbon. Pina acuma totul bine si frumos. Avem un server de mysql up and running si care o sa porneasca si dupa reboot.

Apache / php – asta e relativ simplu:

yum install httpd
yum install php

configurile clasic in /etc/httpd.

Nameserver


yum install bind bind-utils

Acum incep lucrurile sa se complice.

  • pureftpd
  • qmail
  • vpopmail

Ubuntu , pidgin … add to system tray

You will find very frustrating pidgin closing every time you close all chat windows … this will add it to system menu bar and keeps it open.

$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install pidgin-indicator

Workshop RLUG Martie 2014

Workshopul RLUG din 13 martie 2014 a avut loc in Politehnica Bucuresti, Facultatea de Automatica si Calculatoare, sala EC102.
Topicul principal a fost: “Monitorizarea in infrastructuri IT” .

  • Dumitru Ciobârcianu: – “In God We Trust, The Rest We Monitor”. Monitorizarea: De ce si pentru ce
  • Marius Pană: – OMD (Open Monitoring Distribution)
  • Petre Rațiu: – Cat de greu e să fii atent la ceea ce se intampla?

 

Prezentarile:

  • “In God We Trust, The Rest We Monitor”. Monitorizarea: De ce si pentru ce
  • OMD (Open Monitoring Distribution)
  • Cat de greu e să fii atent la ceea ce se intampla?

Good tool to automate mouse movement and clicking in linux

Get the software and compile it:

http://www.semicomplete.com/projects/xdotool/

Install it …

make ; make install

Get the mouse position:

xdotool getmouselocation

Clicking forever there … Might be useful for …. refreshing a page …or clicking on a link

#!/bin/bash

while [ 1 ]; do
xdotool mousemove XXX YYY click 1 &
sleep 5
done

Sit back and enjoy .... And don't use it to do bad things ( like game cheating , autoclicking , auto refresh a web page )

How to fight NSA

Cel mai bun speech. Cap coada. Concluziile de la final sint senzationale. Eu vorbesc mai bine limbaj tehnic, Mikko exprima punctul meu de vedere 100%. Watch, think, act.
Dar de baza asta TFM Group Software creeaza si adapteaza tehnologii opensource astfel incit end userul sa aiba privacy and security. Since the day 1.

Things to do after TFM server install

There are several things to do after TFM server 3.4 ( 4.0 alfa ) installation :

  1.   Activate the network
  • mkdir -p /etc/sysconfig/network-devices/ifconfig.eth0
  • mcedit /etc/sysconfig/network-devices/ifconfig.eth0/ipv4

And put your network configuration like this:
ONBOOT=yes
ONHOTPLUG=yes
SERVICE=ipv4-static
PREFIX=24
IP=86.120.142.156
NETMASK=255.255.255.0
BROADCAST=86.120.142.255
GATEWAY=86.120.142.129

  • mcedit /etc/resolv.conf

And add the follwing line:

nameserver 193.231.236.25

Test the machine network by pinging and doing some traceroutes

 

2. Update the machine to latest available server packages

  •  disable in /etc/apt/apt.conf signature check. It should look like this:

// Uncomment to disable GPG-signature checking for packages
GPG-Check "false";
// Uncomment to prevent kernel being handled along with (dist-)upgrade

  • To get the server up to date run apt-get dist-upgrade
  • If kernel gets updated don’t forget to run lilo and reboot the system

If you are running in vmware environment now would be a good time to make a snapshot of the machine before customizing it further. Because now you have a perfectly viable clean TFM server machine that you can work with.

 

Fontconfig warning fix

Fontconfig warning
When running a application from the terminal the following warning is displayed:
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.

Quick Fix
Open a terminal window and run:
mkdir -p $HOME/.config/fontconfig
mv $HOME/.fonts.conf $HOME/.config/fontconfig/fonts.conf