21 April, 2010
15 April, 2010
List of files where hostname of solaris box is specified
/etc/hosts
/etc/nodename
/etc/hostname.*
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
/etc/inet/ipnodes
/etc/nodename
/etc/hostname.*
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
/etc/inet/ipnodes
To mount a windows share on HP-UX
1. login as root
2. check if cifsclient is running or not:
cifsclient status
3. If not up, start with:
cifsclient start
4. Create a mount point if not created already.
5. Use this command to mount the share:
cifsmount //servername/sharename ./mountpoint -U username
2. check if cifsclient is running or not:
cifsclient status
3. If not up, start with:
cifsclient start
4. Create a mount point if not created already.
5. Use this command to mount the share:
cifsmount //servername/sharename ./mountpoint -U username
To permanently mount a windows ntfs share in linux
1. create a file named /root/.ntfs_share to look like this
username=xyz
password=Password1
2. change its permissions to 600
3. edit /etc/fstab and make an entry just like the following:
//servername/sharename /home/abc/mountpoint cifs auto,credentials=
/root/.ntfs_share,uid=500,gid=500,file_mode=0775,dir_mode=0775 0 0
4. mount with mount -a command.
username=xyz
password=Password1
2. change its permissions to 600
3. edit /etc/fstab and make an entry just like the following:
//servername/sharename /home/abc/mountpoint cifs auto,credentials=
/root/.ntfs_share,uid=500,gid=500,file_mode=0775,dir_mode=0775 0 0
4. mount with mount -a command.
List installed softwares in Ubuntu
You can view the installed softwares in Ubuntu by issuing
pravin@gladiator:~$ dpkg -l
at prompt. If you want to search for a specific software filter it out
by using grep
pravin@gladiator:~$ dpkg -l | grep picasa
picasa 2.7.3736-15
Image management application from Google
pravin@gladiator:~$ dpkg -l
at prompt. If you want to search for a specific software filter it out
by using grep
pravin@gladiator:~$ dpkg -l | grep picasa
picasa 2.7.3736-15
Image management application from Google
Useful AIX Commands
1. bootinfo -K - kernel 32/64 bit
2. bootinfo -y - hardware 32/64 bit
3. lscfg | grep proc - how many processors?
4. bootino -r - how much RAM?
5. lspv - list HDDs
6. lspv hdisk1 - list info about hdisk1
7. lscfg - Detailed config of system
8. uname -a - hotfix + OS version
9. uname -p - displays the chip type for ex., PowerPC
10. oslevel -r - know version, release, maintenance level
11. oslevel -s - get service pack info
12. instfix -ik IY24043 - determine whether IY24043 fix is installed on system
2. bootinfo -y - hardware 32/64 bit
3. lscfg | grep proc - how many processors?
4. bootino -r - how much RAM?
5. lspv - list HDDs
6. lspv hdisk1 - list info about hdisk1
7. lscfg - Detailed config of system
8. uname -a - hotfix + OS version
9. uname -p - displays the chip type for ex., PowerPC
10. oslevel -r - know version, release, maintenance level
11. oslevel -s - get service pack info
12. instfix -ik IY24043 - determine whether IY24043 fix is installed on system
Configuring SAMBA on linux
1. Edit /etc/samba/smb.conf to specify your workgroup and server string.
2. At the bottom of smb.conf, specify the folder you wish to share.
3. To create smbpasswd from existing users in /etc/passwd
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
If smbpasswd is not already there, create it.
4. chmod 600 /etc/samba/smbpasswd
5. smbpasswd <username>
6. uncomment these lines from /etc/samba/smb.conf
encrypt password = yes
smb passwd file = /etc/samba/smbpasswd
7. Restart smb services by
/etc/rc.d/init.d/smb restart
2. At the bottom of smb.conf, specify the folder you wish to share.
3. To create smbpasswd from existing users in /etc/passwd
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
If smbpasswd is not already there, create it.
4. chmod 600 /etc/samba/smbpasswd
5. smbpasswd <username>
6. uncomment these lines from /etc/samba/smb.conf
encrypt password = yes
smb passwd file = /etc/samba/smbpasswd
7. Restart smb services by
/etc/rc.d/init.d/smb restart
Subscribe to:
Posts (Atom)
Blog Archive
-
▼
2010
(12)
-
▼
April
(12)
- Your Laptop Could Detect The Next Earthquake
- Free Partition software for Windows
- BlueRay disks to hold 128GB data
- Check your computer's internet security
- List of files where hostname of solaris box is spe...
- To mount a windows share on HP-UX
- To permanently mount a windows ntfs share in linux
- List installed softwares in Ubuntu
- Useful AIX Commands
- Configuring SAMBA on linux
- Photo sorter software
- Put your computer mouse to great use
-
▼
April
(12)