Difference between revisions of "User talk:Stephdl"
Line 161: | Line 161: | ||
Finally we yum install the xxx with the command: | Finally we yum install the xxx with the command: | ||
/usr/bin/yum -y --enablerepo='atomic' install xxx | /usr/bin/yum -y --enablerepo='atomic' install xxx | ||
+ | |||
+ | ====update mysql==== | ||
+ | from atomic | ||
+ | see http://forums.contribs.org/index.php/topic,50081.0.html |
Revision as of 21:32, 13 December 2013
http://fedoranews.org/tchung/rpmbuild/
http://forums.contribs.org/index.php/topic,50158.0/topicseen.html perl -e "use esmith::util;esmith::util::setUserPassword( 'username', 'password');"; /sbin/e-smith/signal-event password-modify username
http://forums.contribs.org/index.php/topic,50141.0.html Advice/fr
de epel il y a bugzilla, cacti, gallery2, mediawiki, nagios, zaraf, moodle, ocsinventory, roundcube, wordpress et zabbix
voir smeserver-mediawiki.src.rpm smeserver-kplaylist.src.rpm smeserver-groupoffice smeserver-wordpress
faire contrib smf typo3 phpbb tester smeserver-user-webspace a user web space
smeserver-dar2 pour le panel
====Netlogon probleme W7 W8? A tester sur w7 et W8 http://forums.contribs.org/index.php/topic,50046.msg250942.html I confirm, i'm referring to the automatically mapped home drive in Windows XP. the above drive doesn't show in Windows 7 without editing the netlogon.bat file. i've deleted the REM in the line about "net use z: /home" and then it's ok. Now it works fine. Thanks to all for the help. i'm trying sme server 8 since few months.
Creating and starting service
ln -f -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S98popfile /sbin/e-smith/db configuration set popfile service status enabled /sbin/e-smith/signal-event remoteaccess-update service popfile start
Deleting and unregistering service
service popfile stop sleep 3 rm -f /etc/rc7.d/S98popfile rm -f /etc/rc.d/init.d/popfile /sbin/e-smith/config delete popfile /sbin/e-smith/signal-event remoteaccess-update
creer un service a la main avec db configuration et lui attribuer des accès.
db configuration set transmission-daemon service db configuration setprop transmission-daemon TCPPort 51413 db configuration setprop transmission-daemon status enabled db configuration setprop transmission-daemon access public
créer a la main des valeurs db configuration
##set db configuration #/sbin/e-smith/db configuration setprop automysqlbackup Mailcontent log #/sbin/e-smith/db configuration setprop automysqlbackup Sizemail 8000 #/sbin/e-smith/db configuration setprop automysqlbackup Mailto root #/sbin/e-smith/signal-event console-save
smesrver-geneweb #a regarder pourquoi le service doit etre demarré a la main
config set gwd service config setprop gwd status enabled signal-event post-upgrade signal-event reboot
Wondershaper
http://wiki.contribs.org/Wondershaper smeserver-qos daniel smeserver-htbwshaper
temp Folder for php
mkdir /etc/e-smith/templates-custom/etc/php.ini/ nano /etc/e-smith/templates-custom/etc/php.ini/12phptmpfolder
then paste this and save the file by ctrl+x
upload_tmp_dir = /tmp
and then do
signal-event console-save
allow the "allow_url_fopen"
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf nano -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99allow_url_fopen
and paste the following and save this
<Directory /home/e-smith/files/ibays/owncloud/html> php_admin_flag allow_url_fopen on </Directory>
then at the command line prompt enter:
expand-template /etc/httpd/conf/httpd.conf /etc/init.d/httpd-e-smith restart
ROOT PWD
PWD=$(cat /etc/ldap.secret)###donne le mot de passe mysql root en argument
CGMINER
yum --enablerepo smecontribs install cgminer cgminer -o contribs.org:8332 -u myident -p x screen -S cgminer -t cgminer -dm cgminer -o contribs.org:8332 -u myident -p x
If you want to make it start automatically and run in the background you can do the following:
screen -S cgminer -t cgminer -dm cgminer -o contribs.org:8332 -u myident -p x
then connect to it with:
screen -x
and disconnect from it with:
CTRL-A, CTRL-D
Commençons par le cas de la création d'un DBA avec accès depuis votre réseau local. Ceci est fort utile si vous souhaitez administrer votre serveur MySQL à partir d'une autre machine de votre réseau (il existe de sympathiques interfaces graphiques qui simplifient la vie).
Je supposerais ici que l'adresse de votre réseau est 192.168.10.0/255.255.255.0 ; vous pouvez même spécifier une adresse IP en particulier, pour plus de sécurité (dans ce cas, le masque serait 255.255.255.255) :
mysql> GRANT ALL PRIVILEGES ON *.* TO 'nouveau_dba'@'192.168.10.0/255.255.255.0' IDENTIFIED BY 'mot_de_passe' WITH GRANT OPTION; Query OK, 0 rows affected (0.01 sec)
Nota : l'option "WITH GRANT OPTION" n'est pas indispensable et doit être évitée à chaque fois que c'est possible. Elle n'est présentée ici que pour être conforme aux droits que doit avoir un DBA (voir la documentation s'y rapportant pour plus d'informations).
Autre cas, création d'un utilisateur standard avec accès local sur une base de données existante (très utile pour les scripts PHP, notamment) :
mysql> GRANT SELECT, UPDATE, INSERT, DELETE ON base_de_données.* TO 'nouvel_utilisateur'@'localhost' IDENTIFIED BY 'mot_de_passe'; Query OK, 0 rows affected (0.01 sec)
Nota : ne modifiez pas le paramètre 'localhost'.
Il existe bien entendu de multiples variations et combinaisons, mais les deux cas que je viens de vous présenter correspond à l'immense majorité des besoins des utilisateurs sur SME.
Après la création de nouveaux utilisateurs, vous devez indiquer à MySQL de les prendre en compte et, ensuite, quitter le client :
mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.00 sec)
mysql> QUIT; Bye
JIGDO
The documentation is the one line below. It presumes that jigdo is installed, when using SME 7 I used Dag, but on my COS6 build machine it was from epel, so just.
yum install jigdo
Then you need to obtain|mirror|download .../smeserver/releases/testing/8.1beta1/ You need both the iso and smeos directories.
After that it really is just one command, which you run from the iso/i386 or iso/x86_64 directories
To create the ISO you need the iso and smeos directories from your local mirror.
From the i386 directory
jigdo-lite --noask --scan ../../smeos/i386/ *.jigdo
Netlogon_optimisation_and_user_informations_displayed
http://wiki.contribs.org/Netlogon_optimisation_and_user_informations_displayed
Script contrib rpm
http://atlas.itx.pialasse.com/makecontrib/
atomic repo
/sbin/e-smith/db yum_repositories set atomic repository Name 'Atomic EL5' MirrorList 'http://www.atomicorp.com/mirrorlist/atomic/centos-5-$basearch' GPGCheck yes GPGKey 'https://www.atomicorp.com/RPM-GPG-KEY.art.txt' Visible no
Signal event now to register the yum command in accepting the added repository above:
/sbin/e-smith/signal-event yum-modify
Finally we yum install the xxx with the command:
/usr/bin/yum -y --enablerepo='atomic' install xxx
update mysql
from atomic see http://forums.contribs.org/index.php/topic,50081.0.html