Category Archives: Other

Hacked Linux Mint ISOs

Bad news for Mint users who downloaded ISO files few days ago (20th Feb)…

Some dude found the way to replace the official Mint 17.3 Cinnamon ISOs with the cracked ISOs (with backdoor inside)

More details can be found here: http://blog.linuxmint.com/?p=2994

Also, as Clem announced, the forum database was compromised and you should change your password on all sensitive websites as soon as possible (in case you used the same password on other sites)

More details: http://blog.linuxmint.com/?p=3001

New theme

If you’re a regular visitor, you’ll probably notice the new theme. I usually don’t change the things which works but since Google decided to penalize non mobile-friendly sites I had to change the theme.

Until I find the decent theme, …

Best regards

Honda NC750X DCT Travel Edition

According to Wikipedia, middle age crisis is a term which describes a critical phase in human development during the forties to early sixties. I’m still in early thirties and something happens with me which can be “fixed” with the “beauty” from the image below.

84da65a6832616d2d96dbb862d5bf2a0

This summer will be used to finally get the bike licence (“A” category). The next one, …. Yeah…

CentOS – setup utility

For RH based distros, the “setup” utility is a must. With this tool you can easily maintain basic system settings (firewall settings, network, start-up services, etc).

If you choose to install minimum system, this tool won’t be available and you’ll need to add it manually.

yum –y install setuptool system-config-network* system-config-firewall* system-config-securitylevel-tui system-config-keyboard ntsysv

CentOS server – NFS client/server howto

NFS stands for Network File System and through NFS, a client can read and/or write a remote share on an NFS server (like on local hard disk)

The first step to set up NFS client/server is to install nfs-utils and nfs-utils-lib packages on both systems (server and client)

yum install nfs-utils nfs-utils-lib
chkconfig --levels 235 nfs on 
service nfs start

For example, the server IP is 10.0.0.1 and the client 10.0.0.2.

I’d like to use /test and /var/test directories from the client system. To make them accessible we must “export” them on the server.

From the client system, the NFS share is usually accessed as the user “nobody”. If the directory isn’t owned by nobody, the read/write access from NFS client should be made as root.
In this howto, the /test dir will be used as root while the /var/test will be used as “nobody”. If /var/test directory doesn’t exist, create the dir and change the ownership to the user/group 65534 (nonexistant user/group).

mkdir /var/test
chown 65534:65534 /var/test

The next step (on the server side) is to modify /etc/exports

nano /etc/exports

and add the next lines

/test           10.0.0.2(rw,sync,no_root_squash,no_subtree_check)
/var/test        10.0.0.2(rw,sync,no_subtree_check)

The no_root_squash parameter means access dir as root (all files copied/created from client will be owned by root).

After you modify /etc/exports, run exportfs -a to make the changes effective.

exportfs -a

The next step (on the client side) is to create the directories where you want to mount the NFS shares

mkdir -p /mnt/test
mkdir -p /mnt/var/test

Mount NFS shares with

mount 10.0.0.1:/test /mnt/test
mount 10.0.0.1:/var/test /mnt/var/test

Verify the settings with:

df -h

The result should be something like

[root@client ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
....
10.0.0.1:/test    100G  25G   75G  25% /mnt/test
10.0.0.1:/var/test
                       100G  25G   75G  25% /mnt/var/test

and

mount

The result should be something like

[root@client ~]# mount
....
10.0.0.1:/test on /mnt/test type nfs (rw,addr=10.0.0.1)
10.0.0.1:/var/test on /mnt/var/test type nfs (rw,addr=10.0.0.1)

To mount the NFS shares at boot time, add the next lines in /etc/fstab file

10.0.0.1:/test  /mnt/test   nfs      rw,sync,hard,intr  0     0
10.0.0.1:/var/test  /mnt/var/test   nfs      rw,sync,hard,intr  0     0

Don’t forget to check the settings after reboot

Support Bosnia and Serbia

Serbia, Bosnia and Herzegovina, and Croatia have experienced floods of Biblical proportions since last week, the worst that the region has known since they began keeping records 120 years ago.
In Bosnia, more than 1 million people live in the affected areas and my city was affected too (Banja Luka, Republic of Srpska).

Now you know the reason why this blog was offline… The water was 10m from our servers…

Now we’re working together with our friends and we’re trying to rebuild our country. I never asked for donations but now I will

Please support this blog by donating to my country. I don’t need anything but near one million people do.

Donate by PayPal to Representative Office of the Republic of Srpska in Brussels PayPal account.

The link for more information http://floodrelief.vladars.net/

Obrenovac-2014-535x300