http://www.bbgamer.co.uk/archives/157

You may have noticed that when you use Firefox in LM11, the search engine goes to a Google custom search engine. This is one of the ways that the developers make money. However, the search engine lacks many features of the ‘default’ Google, and looks a lot worse. I have therefore made a basic shell script that allows you to fix the default search engines.

Instructions (Linux Mint 11)

1) Download and unzip the following file:

http://bbgamer.co.uk/dl/MintSearchFix.zip

2) In the MintSearchFix directory, right click and click ‘Open in Terminal’

3) In the terminal type ‘sudo ./mintsearchfix.sh’. (You may need to ‘chmod +x mintsearchfix.sh’)

4) Press enter.

If at any time you wish to restore the backup that the script makes, follow the above instructions but replace ‘./mintsearchfix.sh’ with ‘./restorebackup.sh’

Hopefully this helps anyone who is having that problem. Also, consider donating to the Linux Mint developers if you like what they’re doing. The Google search makes most of their profits.

If you have Linux Mint Debian Edition

Follow the above instructions however download this file instead of the one above:

http://www.bbgamer.co.uk/dl/LMDESF.zip

Windows 7 – Ultimate SSD Speed Tweaks –
Increase System Speed
Disable indexing
Description: Indexing creates and maintains a database of file attributes. This can lead to multiple small writes when creating/deleting/modifying files. Searching for files will still work.
Instructions:Start Menu -> Right-Click Computer -> Manage -> Services and Applications -> Services – > Right-Click Windows Search -> Startup type: Disabled -> OKDisable defragmentation
Description: Defragmenting a hard disk’s used space is only useful on mechanical disks with multi-millisecond latencies. Free-space defragmentation may be useful to SSDs, but this feature is not available in the default Windows Defragmenter.
Instructions: Start Menu -> Right-Click Computer -> Manage -> Services and Applications -> Services – > Right-Click Disk Defragmenter -> Startup type: Disabled -> OK

Disable Write Caching
Description: There is no cache on the SSD, so there are no benefits to write caching. There are conflicting reports on whether this gains speed or not.
Instructions: Start Menu -> Right-Click Computer -> Manage -> Device Manager -> Disk drives -> Right-Click STEC PATA -> Properties -> Policies Tab -> Uncheck Enable write caching -> OK

Configure Superfetch
Description: Frees up RAM by not preloading program files.
Instructions: On second glance, I would recommend leaving this one alone. However, there are some customizations that you can follow in the post below.

Firefox – Use memory cache instead of disk cache
Description: If you use Firefox, there’s a way to write cached files to RAM instead of the hard disk. This is not only faster, but will significantly reduce writes to the SSD while using the browser.
Instructions: Open Firefox -> Type about:config into the address bar -> Enter -> double-click browser.cache.disk.enable to set the value to False -> Right-Click anywhere -> New -> Integer -> Preference Name “disk.cache.memory.capacity” -> value memory size in KB. Enter 32768 for 32MB, 65536 for 64MB, 131072 for 128MB, etc. -> restart Firefox

Free up extra drive space
Disable the Page File
Description: Eliminate writing memory to the SSD, free over 2GB of disk space. Warning – If you run out of memory the program you’re using will crash.
Instructions: Start Menu -> Right-Click Computer -> Properties -> Advanced System Settings -> Settings (Performance) -> Advanced Tab -> Change -> Uncheck Automatically manage -> No paging file -> Set -> OK -> Restart your computer
Alternatively, if you want to play it safer, you can set a custom size of 200MB min and max.

Disable System Restore
Description: Don’t write backup copies of files when installing new programs or making system changes. Can free up between a few hundred MB to a couple GB. Warning – Although unlikely, if a driver installation corrupts your system, there won’t be an automatic way to recover.
Instructions: Start Menu -> Right-Click Computer -> Properties -> Advanced System Settings -> System Protection Tab -> Configure -> Turn off system protection -> Delete -> OK

Disable Hibernate
Description: You may free up 1GB of space on the SSD if you have 1GB of memory, 2GB of space if you have 2GB memory. You will lose the hibernation feature which allows the equivalent of quick boots and shutdowns.
Instructions: Start Menu -> Type cmd -> Right-Click the cmd Icon -> Run as Administrator -> Type powercfg -h off -> Type exit

My SSD 🙂 OCZ Vertex 3 -120GB

 

GUNCELLEME
5 MART 2012
EN SON YUKLEDIGIM 2.15 FIRMWARE ILE
SECURE ERASE YAPTIKTAN SONRA GERI KLONLADIGIM SISTEMDEKI ATTO SONUCU:

 

icinde bir dolu dosya olan bir dizinimiz var

dosyalari alt alta listemek isteriz

not: sadece dosya isimleri alfabetik olarak:

 


for x in `ls $1`; do echo $x; done > /root/a.txt

Go into your “Quick Menu” and “Edit”, you can manually add any Link to your list that you want….

Add “Clear Cache”, and the url of “http://www.mydomain.com/admin.php?dispatch=categories.manage&cc”

Save it.

Now you have a Clear Cache link in your admin Quick menu.


mod_ruid2 kullanarak suphp cgi modundaki kasilmanin onune gecmek arzusundayim.

yum -y install libcap-devel
wget http://downloads.sourceforge.net/project/mod-ruid/mod_ruid2/mod_ruid2-0.9.4.tar.bz2?r=&ts=1302083730&use_mirror=mesh
tar xjfv mod_ruid2-0.9.4.tar.bz2
cd mod_ruid2-0.9.4
apxs -a -i -l cap -c mod_ruid2.c

Now, if you didn't get any errors mod_ruid2 should be installed and added to the '/etc/httpd/conf/httpd.conf'.
Lets confirm mod_ruid2 is added
Quote:
grep 'mod_ruid2' /etc/httpd/conf/httpd.conf
If you get any response like below its installed
Quote:
LoadModule ruid2_module /usr/lib/apache/mod_ruid2.so
Now we need to modify the DA httpd.conf templates a little bit to enable mod_ruid2 for the users

Now copy the template files to custom
Quote:
cd /usr/local/directadmin/data/templates/
cp virtual_host2* custom/
chown -R diradmin:diradmin custom/
Now you have copied the original templates to the 'custom' directory, so they won't be overwritten.

Now follow the steps below for each virtual_host2 file you've copied
Quote:
nano -w virtual_host2.conf
## replace line: SuexecUserGroup |USER| |GROUP|
## replace with: #SuexecUserGroup |USER| |GROUP|
## Add the lines below under the just replaced line
RMode config
RUidGid |USER| |GROUP|
RGroups apache
Save the files and lets rewrite the HTTPd config files
Quote:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
If you want you can start the rewrite of the HTTPd config files manually, just paste the line below and wait when its done
Quote:
/usr/local/directadmin/dataskq d800
After the rewrite is complete you can restart HTTPd with the command below
Quote:
/etc/init.d/httpd restart
Now mod_ruid2 should be installed and you don't need to chmod anymore like 'chmod 666 config.php' or 'chmod 777 uploads'.

To be sure the webmail clients etc still works we need to change the owner permissions
Quote:
chown -R webapps:webapps /var/www/html