69 lines
1.6 KiB
Plaintext
69 lines
1.6 KiB
Plaintext
Bucket
|
|
CVS Versionsmanagement
|
|
liegt auf freenas im jail xdm_1 IP 192.168.2.176
|
|
zugriff extssh jens|2Drittel% /cvs
|
|
FAMP
|
|
pkg install apache24
|
|
sysrc apach24_enable=yes
|
|
pkg install mysql56-serverpkg
|
|
sysrc mysql_enable=yes
|
|
service apache24 onestart
|
|
service mysql-server start
|
|
pkg install php56 mod_php56 php56-mysql php56-mysqlipkg
|
|
pkg install phpMyAdmin
|
|
cd /usr/local/etc/apache24
|
|
httpd.conf -->
|
|
...
|
|
Directoryindex index.php index.html
|
|
...
|
|
<FilesMatch "\.php$">
|
|
SetHandler application/x-httpd-php
|
|
</FilesMatch>
|
|
<FilesMatch "\.phps$">
|
|
SetHandler application/x-httpd-php-source
|
|
</FilesMatch>
|
|
<FilesMatch "\.php$">
|
|
SetHandler application/x-httpd-php
|
|
</FilesMatch>
|
|
<FilesMatch "\.phps$">
|
|
SetHandler application/x-httpd-php-source
|
|
</FilesMatch>
|
|
|
|
Alias /phpmyadmin "/usr/local/www/phpMyAdmin"
|
|
|
|
<Directory "/usr/local/www/phpMyAdmin">
|
|
Options None
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
...pkg insta
|
|
mysql_secure_installation
|
|
|
|
wget http://pear.php.net/go-pear.phar als root@jail !!
|
|
php go-pear.phar
|
|
|
|
|
|
|
|
Configfiles
|
|
.cshrc für die user-shell cshnan
|
|
/etc/ssh/ssh_config ssh configuration
|
|
/etc/rc.conf ssh anschalten
|
|
|
|
Befehle
|
|
chown -R benutzer:gruppe verzeichnis
|
|
service sshd restart
|
|
finger zeigt infos über Benutzer
|
|
history liste der letzten Befehle
|
|
who
|
|
pwd aktuelle dir
|
|
find . -name wasichsuche . sucht unter dem aktuellen Verzeichnis
|
|
find . -name "SUCH-KRITERIUM" -exec rm -rf {} \; sucht und löscht ohne Rückfrage auch Ordner
|
|
Jails
|
|
jls Jail no finden
|
|
jexec no /bin/tcsh
|
|
exit wieder abmelden
|
|
|
|
rmlint -> Guide im Web Duplikate finden
|
|
|
|
|