1
SSH / SSH TAR.GZ DOSYA SIKIŞTIRMA KOMUTU
« : Mayıs 22, 2024, 08:42:19 ÖS »
tar -zcvf dosya.tar.gz dosya
Bu özellik size üyenin attığı tüm iletileri gösterme olanağı sağlayacaktır . Not sadece size izin verilen bölümlerdeki iletilerini görebilirsiniz
sudo du -sh *
RewriteEngine on
#Some apache servers need Rewritebase.
#delete # from start of Rewrite base to enable it.
#If your forum is something like http://www.forum-example.com/forum then modify your
#RewriteBase in this way: RewriteBase /forum
RewriteBase /forum
#Archive/Sitemaps
RewriteRule ^sitemaps-([a-zA-Z0-9-]*)\.html index.php?dummy=1&action=seo4smfsitemaps&sa=$1 [L]
#uncomment if you use beautifying url actions
#RewriteCond %{REQUEST_METHOD} =GET
#RewriteCond %{QUERY_STRING} ^action=(.*)$
#RewriteRule ^(.*)$ seo4smf-redirect.php?a=%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^topic=([0-9]*)$
RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^topic=([0-9]*.[0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^board=([0-9]*).([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?b=%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*);(.*)$
RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1;param=%2 [R=301,L]
RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1 [R=301,L]
#Tiny Portal Old Url's
RewriteCond %{QUERY_STRING} ^page=([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?p=%1 [R=301,L]
#Rewrite Old urls
RewriteRule ^index.php/board,(.*).html seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^index.php/board,(.*).html;(.*) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]
RewriteRule ^index.php/topic,(.*).html seo4smf-redirect.php?t=$1 [R=301,L]
RewriteRule ^index.php/topic,(.*).html;(.*) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]
#Bad Url's
#RewriteCond %{REQUEST_URI} ^(.*)\.html$
#RewriteCond %{REQUEST_URI} !^(.+)/(.*)-t([0-9]*)\.([0-9]*).html$
#RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html seo4smf-redirect.php?t=$2 [R=301,L]
RewriteRule ^(.*)/-t(.*).html seo4smf-redirect.php?t=$2 [R=301,L]
RewriteRule ^-b(.*)/$ seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^-b(.*)/(.*)$ seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^(.*)/-b(.*)/$ seo4smf-redirect.php?b=$2 [R=301,L]
#New board URL's
RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/;(.*) index.php?dummy=1&board=$2.$3&$4 [L]
RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/$ index.php?dummy=2&board=$2.$3 [L]
RewriteRule ^(.*)-b([0-9]*)\.([0-9])$ index.php?dummy=2&board=$2.$3 [L]
#New topic URL's
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*);(.*)$ index.php?dummy=1&topic=$2.$4&$6 [L]
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*) index.php?dummy=1&topic=$2.$4 [L]
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;(.*)$ index.php?dummy=1&topic=$2.$3&$4 [L]
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html$ index.php?dummy=1&topic=$2.$3 [L]
#New profiles URL's
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*);delete,([0-9]*);sesc,([a-z0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4;delete=$5;sesc=$6 [L]
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4 [L]
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*)$ index.php?dummy=1&action=profile;u=$2;sa=$3 [L]
RewriteRule ^(.*)-u([0-9]*)\.html index.php?dummy=1&action=profile;u=$2 [L]
#New Tinyportal Articles URL's
RewriteRule ^(.*)-p([0-9]*)\.html index.php?dummy=1&page=$2 [L]
#New action Url's - uncomment if you use beautifying url actions
#RewriteRule ^(.*)\.html(.*)$ index.php?dummy=1;action=$1;$2 [L]
#RewriteRule ^(.*)\.html$ index.php?dummy=1;action=$1 [L]
#Sitemaps
RewriteRule sitemap.xml sitemaps.php [L]
RewriteRule urllist.txt urllist.php [L]
Merhaba Hocam Ya Ben Kurdumda Sayfayý Yenilediðimde Þöyle Bir Hata Almaktayým ;
Duplicate entry 'seo4smf_enable' for key 1
Dosya: C:\Inetpub\vhosts\paylasmayagel.com\subdomains\forum\httpdocs\Packages\temp\install.php
Satýr: 41
bu þekil bir veritabaný hatasý smf sürümüm 1.1.11 dir... yardýmlarýnýzý bekliyorum...
Dediðinizi yaptým siteye girdiðim zaman herhangi bir kategoriye girdiðim zaman resimdeki hatayý alýyorum neden acaba?
RewriteEngine on#Some apache servers need Rewritebase.#delete # from start of Rewrite base to enable it.#If your forum is something like http://www.forum-example.com/forum then modify your#RewriteBase in this way: RewriteBase /forumRewriteBase /forum#Archive/SitemapsRewriteRule ^sitemaps-([a-zA-Z0-9-]*)\.html index.php?dummy=1&action=seo4smfsitemaps&sa=$1 [L]#uncomment if you use beautifying url actions#RewriteCond %{REQUEST_METHOD} =GET#RewriteCond %{QUERY_STRING} ^action=(.*)$#RewriteRule ^(.*)$ seo4smf-redirect.php?a=%1 [R=301,L]RewriteCond %{QUERY_STRING} ^topic=([0-9]*)$RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]RewriteCond %{QUERY_STRING} ^topic=([0-9]*.[0-9]*)RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]RewriteCond %{QUERY_STRING} ^board=([0-9]*).([0-9]*)RewriteRule ^(.*)$ seo4smf-redirect.php?b=%1 [R=301,L]RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*);(.*)$RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1;param=%2 [R=301,L]RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*)RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1 [R=301,L]#Tiny Portal Old Url'sRewriteCond %{QUERY_STRING} ^page=([0-9]*)RewriteRule ^(.*)$ seo4smf-redirect.php?p=%1 [R=301,L]#Rewrite Old urlsRewriteRule ^index.php/board,(.*).html seo4smf-redirect.php?b=$1 [R=301,L]RewriteRule ^index.php/board,(.*).html;(.*) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]RewriteRule ^index.php/topic,(.*).html seo4smf-redirect.php?t=$1 [R=301,L]RewriteRule ^index.php/topic,(.*).html;(.*) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]#Bad Url's#RewriteCond %{REQUEST_URI} ^(.*)\.html$#RewriteCond %{REQUEST_URI} !^(.+)/(.*)-t([0-9]*)\.([0-9]*).html$#RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html seo4smf-redirect.php?t=$2 [R=301,L]RewriteRule ^(.*)/-t(.*).html seo4smf-redirect.php?t=$2 [R=301,L]RewriteRule ^-b(.*)/$ seo4smf-redirect.php?b=$1 [R=301,L]RewriteRule ^-b(.*)/(.*)$ seo4smf-redirect.php?b=$1 [R=301,L]RewriteRule ^(.*)/-b(.*)/$ seo4smf-redirect.php?b=$2 [R=301,L]#New board URL'sRewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/;(.*) index.php?dummy=1&board=$2.$3&$4 [L]RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/$ index.php?dummy=2&board=$2.$3 [L]RewriteRule ^(.*)-b([0-9]*)\.([0-9])$ index.php?dummy=2&board=$2.$3 [L]#New topic URL'sRewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*);(.*)$ index.php?dummy=1&topic=$2.$4&$6 [L]RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*) index.php?dummy=1&topic=$2.$4 [L]RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;(.*)$ index.php?dummy=1&topic=$2.$3&$4 [L]RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html$ index.php?dummy=1&topic=$2.$3 [L]#New profiles URL'sRewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*);delete,([0-9]*);sesc,([a-z0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4;delete=$5;sesc=$6 [L]RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4 [L]RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*)$ index.php?dummy=1&action=profile;u=$2;sa=$3 [L]RewriteRule ^(.*)-u([0-9]*)\.html index.php?dummy=1&action=profile;u=$2 [L]#New Tinyportal Articles URL'sRewriteRule ^(.*)-p([0-9]*)\.html index.php?dummy=1&page=$2 [L]#New action Url's - uncomment if you use beautifying url actions#RewriteRule ^(.*)\.html(.*)$ index.php?dummy=1;action=$1;$2 [L]#RewriteRule ^(.*)\.html$ index.php?dummy=1;action=$1 [L]#SitemapsRewriteRule sitemap.xml sitemaps.php [L]RewriteRule urllist.txt urllist.php [L]
Çok TeşekkürLer Bana Denk Gelmişti Bu Beyaz Sayfa oLayı..
Peki Hocam Bu Config php online 2 falan diyor. o sorun ne sorunu ?
cd /usr/local/src
Şimdi Paketimizi İndiriyoruz.wget http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gz
tar -zxf xcache-1.2.2.tar.gz
cd xcache-1.2.2
phpize
./configure --enable-xcache
make
su
make install[/code
]Son olarak uyguladığımız make install komutunda bize Şu Şekilde Bi Yol vericektir.
Örnek;
[code]/usr/local/lib/php/extensions/no-debug-non-zts-20060613/
/usr/local/lib/php.ini
Komut;cat xcache.ini >> /usr/local/lib/php.ini
php -i | grep php.ini
pico /usr/local/lib/php.ini
cd /usr/local/src/xcache-1.2.2 cp -r admin /home/xxx/public_html/
umount -l /tmp
dd if=/dev/zero of=/usr/tmpDSK bs=1024 count=2048000
mkfs.ext3 /usr/tmpDSK
mount -o loop,rw,noexec,nosuid /usr/tmpDSK /tmp
chmod 1777 /tmp
# pico /etc/csf/csf.pignore
# /etc/init.d/csf restart
<?php
$servername = 'localhost';
$dbusername = 'kullanici';
$dbpassword = 'sifre';
$dbname = 'veritabani_adi';
$tableprefix = 'tablo_ön_ekiniz';
?>
umount -l /tmp
dd if=/dev/zero of=/usr/tmpDSK bs=1024 count=2048000
mkfs.ext3 /usr/tmpDSK
mount -o loop,rw,noexec,nosuid /usr/tmpDSK /tmp
chmod 1777 /tmp