To change default file permission in linux or unix modify login.defs or use umask command.
if you like to have 700 as default, umask or login.defs umask will be 777 – 700 = 077.
To change default file permission in linux or unix modify login.defs or use umask command.
if you like to have 700 as default, umask or login.defs umask will be 777 – 700 = 077.
When we flash bios or do something simple, we still using old MS-DOS.
but how we can create MS-DOS bootable disk with windows xp or vista?
well answer is we can create one from format option of xp or vista. but what if you like to have windows 98 MS-DOS bootable disk.
this is how to do.
Get image form http://www.allbootdisks.com
follow instruction how to do at allbootdisks.com
few bios update program hate HIMEM support. avoid MS-DOS load HIMEM,
edit config.sys to not load HIMEM.
OpenSuse 11 or 10, is always do ls -al even just type ls with root accounts.
To avoid this, follow this step.
1, Open /etc/bash.bashrc
2, Modify where about line 88 says
LS_OPTIONS=”-A -N $LS_OPTIONS -T O”
remove -A from this.
3, save file
Done!
Downloading BitTorrent on Linux without GUI.
1. Install BitTorrent
$ yum -y install bittorrent
2. get torrent that you want to download
3. let start download bittorrent
$ bittorrent-curses ‘http://www.mininova.org/get/some_file[222].torrent’
or
$ bittorrent-curses ‘some_file[222].torrent’
Requirements :
You must have Python 2.3 above.
to check version of Python simply type python -V from command line
Software :
http://download.bittorrent.com
When you setup domain with virtualmin, sometime you want to change after while.
eg., administrative username
modify domain(s) without re-setup entire domain(s), edit following file.
1. [root@ns99 ~]# cd /etc/webmin/virtual-server/
2. [root@ns99 virtual-server]# cat sample.local.act
change sample.local as your domain name
3. see where it says domains=117160406314152
remember number of domains.
4. [root@ns99 virtual-server]# cd domains/
5. [root@ns99 domains]# vim 117160406314152 number you find before.
6. edit and save. done!
When use mysql from console, it is easy if we can load sql from a file.
to do this with mysql.
mysql > source filename.sql
To set your own ringtone for iPhone 3G, iToner would be the best utility for those using iPhone.
software is available at http://www.ambrosiasw.com/utilities/iToner/
you can try iToner for 30days without any restriction.
How to install php 5 on CentOS 4.
1. Modify vi /etc/yum.repos.d/CentOS-Base.repo
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever – Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
#enabled=0
enabled=1 ←Change it to 1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#contrib – packages by Centos Users
[contrib]
name=CentOS-$releasever – Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
#enabled=0
enabled=1 ←Change it to 1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
2. yum -y update php or yum -y update
3. if no error, it done.
How to stop Dictionary Trainer on Mac OS X.
1. Open /home/library/Preferences/ com.appple.JapaneseAnalysis / DictionaryTrainer / Trainer.dict
with koetori register words.
2. import file into any user specified dictionary.
3. delete processedMail file on /home/library/Preferences/ com.appple.JapaneseAnalysis / DictionaryTrainer /
4. Restart your mac and Done