Subscribe to renko.dyndns.pro RSS
12 május 2013
renko képe

# Set needed variables
:local username "YourUserName"
:local password "YourPassword"
:local hostname "YourHostName"
:global ddnsinterface "YourInternetInterfaceWithDynamicIP"
:global ddnsip ""

:global dyndnsForce
# Remove the # on next line to force an update every single time - useful for debugging, but you could end up getting blacklisted by DynDNS!
#:set dyndnsForce true

Tags: 
12 ápr 2013

BOINC Linuxon

renko képe

Centos 6.4:

yum install boinc-client

Kulcs megszerzese :

boinccmd --lookup_account http://www.worldcommunitygrid.org USER PASS

Szerkesztes : /etc/sysconfig/boinc-client

BOINCOPTS="--allow_remote_gui_rpc --daemon --attach_project http://www.worldcommunitygrid.org KULCS"

Tavoli menedzsenthez kell jelszo a "/var/lib/boinc/gui_rpc_auth.cfg" fajlba!

chkconfig boinc-client on
/etc/init.d/boinc-client start

Tags: 
26 már 2013
renko képe

Plop Boot Manager :
http://www.plop.at/en/bootmanager/download.html

Smart Boot Manager :
http://linux.simple.be/tools/sbm

Write Floppy image :
Linux :
dd if=image of=/dev/fd0
Windows :
http://www.chrysocome.net/rawwrite

Tags: 
21 már 2013

Samba es SELinux

renko képe

Ha a Samba megosztast a homon belul akarjuk megadni akkor azt engedelyeznunk kell a Selinuxon is megpedig a :
# setsebool -P samba_enable_home_dirs on
Ha nem teszuk akkor a megosztas latszodik de a fajlok es mappak a megosztason belul nem

Tags: 
renko képe

# exportfs -a
exportfs: No options for /home/nfs/backups/renko.ath.cx 192.168.x.x/255.255.0.0: suggest 192.168.x.x/255.255.0.0(sync) to avoid warning
exportfs: No host name given with /home/nfs/x/x (rw,no_root_squash), suggest *(rw,no_root_squash) to avoid warning

Megoldas :

/etc/exports :
192.168.x.x/255.255.0.0(rw,no_root_squash) jo
192.168.x.x/255.255.0.0 (rw,no_root_squash) rosszzzzzz

renko képe

1.) Fajlok eleresenek megadasa
$ ls -Z file1
-rw-rw-r-- user1 group1 unconfined_u:object_r:user_home_t:s0 file1

chcon -t samba_share_t file1

$ ls -Z file1
-rw-rw-r-- user1 group1 unconfined_u:object_r:samba_share_t:s0 file1

Visszaalitas : /sbin/restorecon -v file1

2.) Mapak es a benuk levo ossze terulet elerhetove tevese
$ ls -dZ /web

chcon -R -t httpd_sys_content_t /web/

Tags: 
26 feb 2013
renko képe

Mysql :
1.) CREATE DATABASE drupal DEFAULT CHARSET utf8 DEFAULT COLLATE utf8_hungarian_ci;

2.) GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES, CREATE TEMPORARY TABLES ON `databasename`.* TO 'username'@'localhost' IDENTIFIED BY 'password';

3.) FLUSH PRIVILEGES;

Php extrak :
yum -y install php-xml php-mbstring php-gd
php.ini -> extension=dom.so

Apache config :
AllowOverride All

Tags: 
26 feb 2013
26 feb 2013

Oldalak