Wednesday, November 12, 2014
Thursday, October 9, 2014
How can I uninstall the vCenter Standalone Converter?
sc create vmware-converter-agent binpath= "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\vmware-converter-a.exe"
sc create vmware-converter-worker binpath= "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\vmware-converter-w.exe"
sc create vmware-converter-server binpath= "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\vmware-converter.exe"
sc create vmware-converter-worker binpath= "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\vmware-converter-w.exe"
sc create vmware-converter-server binpath= "C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone\vmware-converter.exe"
Thursday, September 25, 2014
SuSE Linux Box Network Configuration
/etc/hosts
/etc/HOSTNAME
/etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.10.10.10/30'
MTU=''
NAME='82540EM Gigabit Ethernet Controller'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
/etc/resolv.conf
/etc/sysconfig/network/routes
/etc/sysconfig/network/ifroute-eth0
10.23.30.128/25 10.10.10.1 - eth0
/etc/networks
/etc/nsswitch.conf
/etc/nscd.conf
/etc/init.d/network
/etc/sysconfig/sysctl.conf <- br="" forward="" ip="">echo 1 > /proc/sys/net/ipv4/ip_forward
#sysctl -a | grep ip_forward
net.ipv4.ip_forward = 1->
sysctl -p
route add default gw 10.10.10.254 eth0
iptables -P INPUT DROP
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables-save > iptables_current
iptables-restore iptables_current
iptables -nvL
/etc/init.d/boot.local
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -i eth0 -p icmp -m icmp --icmp-type 8 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp -m multiport --dports 21,22,80,5060,8080,2100,30000:30100 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -i eth0 -p udp -m multiport --dports 53,20,5060,8080,2100 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
iptables -A OUTPUT -o eth0 -p icmp -m icmp --icmp-type 8 -j ACCEPT
mount "SUSE Enterprise Linux 11 SP3 DVD x86_64"
mount /dev/cdrom /media
cd /media/suse/x86_64
zypper install vsftpd
vi /etc/vsftpd.conf
write_enable=YES
dirmessage_enable=YES
nopriv_user=ftpsecure
ftpd_banner="Welcome to My FTP Server"
ls_recurse_enable=YES
#deny_email_enable=YES
#banned_email_file=/etc/vsftpd.banned_emails
#hide_ids=YES
local_enable=YES
local_umask=022
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
local_max_rate=1024000
anonymous_enable=NO
anon_world_readable_only=NO
anon_upload_enable=NO
#anon_umask=022
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
#chown_uploads=YES
#chown_username=whoever
#anon_max_rate=150
syslog_enable=NO
log_ftp_protocol=YES
#xferlog_enable=YES
vsftpd_log_file=/var/log/vsftpd.log
#xferlog_std_format=NO
#xferlog_file=/var/log/xfer.log
dual_log_enable=YES
#setproctitle_enable=YES
connect_from_port_20=YES
#idle_session_timeout=600
#data_connection_timeout=120
#async_abor_enable=YES
ascii_upload_enable=YES
ascii_download_enable=YES
pasv_enable=YES
pam_service_name=vsftpd
listen=YES
ssl_enable=NO
pasv_min_port=30000
pasv_max_port=30100
#local_root=/public_html
use_localtime=YES
max_clients=50
vi /etc/vsftpd.chroot_list
root
/etc/HOSTNAME
/etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.10.10.10/30'
MTU=''
NAME='82540EM Gigabit Ethernet Controller'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
/etc/resolv.conf
/etc/sysconfig/network/routes
/etc/sysconfig/network/ifroute-eth0
10.23.30.128/25 10.10.10.1 - eth0
/etc/networks
/etc/nsswitch.conf
/etc/nscd.conf
/etc/init.d/network
/etc/sysconfig/sysctl.conf <- br="" forward="" ip="">echo 1 > /proc/sys/net/ipv4/ip_forward
#sysctl -a | grep ip_forward
net.ipv4.ip_forward = 1->
sysctl -p
route add default gw 10.10.10.254 eth0
iptables -P INPUT DROP
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables-save > iptables_current
iptables-restore iptables_current
iptables -nvL
/etc/init.d/boot.local
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -i eth0 -p icmp -m icmp --icmp-type 8 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp -m multiport --dports 21,22,80,5060,8080,2100,30000:30100 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -i eth0 -p udp -m multiport --dports 53,20,5060,8080,2100 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
iptables -A OUTPUT -o eth0 -p icmp -m icmp --icmp-type 8 -j ACCEPT
mount "SUSE Enterprise Linux 11 SP3 DVD x86_64"
mount /dev/cdrom /media
cd /media/suse/x86_64
zypper install vsftpd
vi /etc/vsftpd.conf
write_enable=YES
dirmessage_enable=YES
nopriv_user=ftpsecure
ftpd_banner="Welcome to My FTP Server"
ls_recurse_enable=YES
#deny_email_enable=YES
#banned_email_file=/etc/vsftpd.banned_emails
#hide_ids=YES
local_enable=YES
local_umask=022
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
local_max_rate=1024000
anonymous_enable=NO
anon_world_readable_only=NO
anon_upload_enable=NO
#anon_umask=022
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
#chown_uploads=YES
#chown_username=whoever
#anon_max_rate=150
syslog_enable=NO
log_ftp_protocol=YES
#xferlog_enable=YES
vsftpd_log_file=/var/log/vsftpd.log
#xferlog_std_format=NO
#xferlog_file=/var/log/xfer.log
dual_log_enable=YES
#setproctitle_enable=YES
connect_from_port_20=YES
#idle_session_timeout=600
#data_connection_timeout=120
#async_abor_enable=YES
ascii_upload_enable=YES
ascii_download_enable=YES
pasv_enable=YES
pam_service_name=vsftpd
listen=YES
ssl_enable=NO
pasv_min_port=30000
pasv_max_port=30100
#local_root=/public_html
use_localtime=YES
max_clients=50
vi /etc/vsftpd.chroot_list
root
Change NIC name to em1 to eth0 on SuSE Linux Box
#ifconfig | grep HW
em1 Link encap:Etherenet
#ls /etc/udev/rules.d | grep biosdevname.rules
71-biosdevname.rules
#cat /boot/grub/menu.lst
kernel /vmlinuz-3.0.76-0.11-default root=/dev/disk/by-id/ata-VBOX_HARDDISK_VBe5a986d1-1dd7c0b3-part4 resume=/dev/disk/by-id/ata-VBOX_HARDDISK_VBe5a986d1-1dd7c0b3-part3 splash=silent crashkernel=256M-:128M showopts vga=0x314
add "biosdevname=0" at the end
#cp /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistentnet.rules.old
#cat < /dev/null > /etc/udev/rules.d/70-persistent-net.rules
#mv /etc/sysconfig/network/ifcfg-em1 /etc/sysconfig/network/ifcfg-eth0
#mv /etc/sysconfig/network/ifcfg-em2 /etc/sysconfig/network/ifcfg-eth1
em1 Link encap:Etherenet
#ls /etc/udev/rules.d | grep biosdevname.rules
71-biosdevname.rules
#cat /boot/grub/menu.lst
kernel /vmlinuz-3.0.76-0.11-default root=/dev/disk/by-id/ata-VBOX_HARDDISK_VBe5a986d1-1dd7c0b3-part4 resume=/dev/disk/by-id/ata-VBOX_HARDDISK_VBe5a986d1-1dd7c0b3-part3 splash=silent crashkernel=256M-:128M showopts vga=0x314
add "biosdevname=0" at the end
#cp /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistentnet.rules.old
#cat < /dev/null > /etc/udev/rules.d/70-persistent-net.rules
#mv /etc/sysconfig/network/ifcfg-em1 /etc/sysconfig/network/ifcfg-eth0
#mv /etc/sysconfig/network/ifcfg-em2 /etc/sysconfig/network/ifcfg-eth1
Create File with Specified File Size on Linux
Linux, Create File With Content & Specified Size
#dd if=/dev/urandom of=3MB bs=1 count=0 seek=3M
#dd if=/dev/urandom of=5MB bs=1 count=0 seek=5M
#dd if=/dev/urandom of=25MB bs=1 count=0 seek=25M
#dd if=/dev/urandom of=50MB bs=1 count=0 seek=50M
#dd if=/dev/urandom of=100MB bs=1 count=0 seek=100M
#dd if=/dev/urandom of=1GB bs=1 count=0 seek=1G
Linux, Create File with No Content & Specified Size
#dd if=/dev/zero of=1GB bs=1 count=0 seek=1G
#dd if=/dev/urandom of=3MB bs=1 count=0 seek=3M
#dd if=/dev/urandom of=5MB bs=1 count=0 seek=5M
#dd if=/dev/urandom of=25MB bs=1 count=0 seek=25M
#dd if=/dev/urandom of=50MB bs=1 count=0 seek=50M
#dd if=/dev/urandom of=100MB bs=1 count=0 seek=100M
#dd if=/dev/urandom of=1GB bs=1 count=0 seek=1G
Linux, Create File with No Content & Specified Size
#dd if=/dev/zero of=1GB bs=1 count=0 seek=1G
Tuesday, June 24, 2014
Virtualbox Support 8 NICs for VM Guest
Virtualbox supports up to eight network cards. If you look into the
You have to use
*.vbox
you will see that there are already preconfigured but disabled. Unfortunately inside the VBox GUI we could only configure up to four. I will show how to get and configure the other.
You have to use
VBoxManage
to get the other network cards.
After the option will always be the NIC Number count one to eight. Here I
will use five and the name of the machine that will be configured is
“SFS1”.Set Mode and enable NIC
When a Mode is set the NIC will be enabled.
C:\Program Files\Oracle VM VirtualBox>VBoxManage.exe
C:\Program Files\Oracle VM VirtualBox>VBoxManage.exe
- Set NIC five to Host-Only Mode and User vboxnet0 (Initially existing Host-Only Net)
VBoxManage modifyvm SFS1 --nic5 hostonly VBoxManage modifyvm SFS1 --hostonlyadapter5 "vboxnet0"
- Set NIC five to Bridge "Intel(R) 82567LM Gigabit Network Connection"
VBoxManage modifyvm SFS1 --nic5 bridged VBoxManage modifyvm SFS1 --bridgeadapter5 "Intel(R) 82567LM Gigabit Network Connection"
- Set NIC to NAT Mode
VBoxManage modifyvm SFS1 --nic5 nat
- Use the internal VM net “test01”
VBoxManage modifyvm SFS1 --nic5 intnet VBoxManage modifyvm SFS1 --intnet5 "test01"
Configuring NIC
- To use VLAN and some other things in VMs the Promiscuous mode have to be enabled
VBoxManage modifyvm SFS1 --nicpromisc5 allow-all
- Use other hardware type (Intel Pro/1000 MT Server)
VBoxManage modifyvm SFS1 --nictype5 82545EM
- Dis/connect cable
VBoxManage modifyvm SFS1 --cableconnected5 off
VBoxManage modifyvm SFS1 --cableconnected5 on
Friday, June 6, 2014
Activate Windows Server 2008 R2 Enterprise without Internet Connection
Recently, I faced a situation in
which I had to activate Windows Server 2008 R2 Enterprise which didn’t have
internet connection. In the earlier days of Windows 2003 there was a Phone
Activation option within the wizard. However, in the current edition Windows
2008 onwards the option doesn’t exist.
I am going to show you the steps
involved in quickly activated Windows Server 2008 onwards over the Phone using
the following command line parameters:
- Start –> Run –> Command Prompt right click and “Run as a administrator”
- Type the following command to retrieve the Product Installation id slmgr.vbs /dti (A pop-up windows will appear with a long string of digits)
- Call the Microsoft activation centers as per your locations from this Microsoft Activation Centers link
- I used the India number 1800 11 11 00 or 1800 102 1100
- Provide the Installation ID to the customer care representative and they will provide a Confirmation Number (A long sting of numbers)
- Type slmgr.vbs /atp
(without <>) at the command prompt and you will receive a pop-up that your Windows have been activated successfully - To confirm your activation type the following command slmgr.vbs /dli
Go to your Server Manager and
you will be able to see the Windows Server 2008 R2 activated
Monday, May 12, 2014
Huawei Quidway Switch 5300 Series
The S5352C-EI is a case-shaped device with a 1 U high chassis, provided in a
- limited version LI - provides various Layer-2 functions
- standard version SI - supports Layer-2 functions and basic Layer-3 functions
- enhanced version EI - supports all routing protocols and features
- advanced version HI - supports all routing protocols and features and MPLS, hardware OAM.
- limited version LI - provides various Layer-2 functions
- standard version SI - supports Layer-2 functions and basic Layer-3 functions
- enhanced version EI - supports all routing protocols and features
- advanced version HI - supports all routing protocols and features and MPLS, hardware OAM.
LS-S5352C-EI Overview
• Power: need to purchase additional power LS5M100PWA00 or LS5M100PWD00
• Non-POE Switch
• Layer 3 Ethernet Switch
• Ports: 48 GE
• Extended Interface Card Slot: 1
• Software: Enhanced Version
• Stackable switch
• Powerful Service Support
• High Reliability
• Security and QoS
Quidway S5300 series gigabit switches are new generation Ethernet gigabit switches that meet the requirements for high-bandwidth access and Ethernet multi-service convergence, providing powerful Ethernet functions for operators and enterprise customers. Based on the new generation high-performance hardware and Huawei Versatile Routing Platform (VRP), the S5300 features large capacity and gigabit interfaces of high density, provides 10G uplinks, meeting the requirements for the 1G and 10G uplink devices of high density. The S5300 can meet the requirements of multiple scenarios such as service convergence on campus networks and Intranets, the access to the IDC at a rate of 1000 Mbit/s, and the access to computers at a rate of 1000 Mbit/s on Intranets.
• Power: need to purchase additional power LS5M100PWA00 or LS5M100PWD00
• Non-POE Switch
• Layer 3 Ethernet Switch
• Ports: 48 GE
• Extended Interface Card Slot: 1
• Software: Enhanced Version
• Stackable switch
• Powerful Service Support
• High Reliability
• Security and QoS
Quidway S5300 series gigabit switches are new generation Ethernet gigabit switches that meet the requirements for high-bandwidth access and Ethernet multi-service convergence, providing powerful Ethernet functions for operators and enterprise customers. Based on the new generation high-performance hardware and Huawei Versatile Routing Platform (VRP), the S5300 features large capacity and gigabit interfaces of high density, provides 10G uplinks, meeting the requirements for the 1G and 10G uplink devices of high density. The S5300 can meet the requirements of multiple scenarios such as service convergence on campus networks and Intranets, the access to the IDC at a rate of 1000 Mbit/s, and the access to computers at a rate of 1000 Mbit/s on Intranets.
Wednesday, May 7, 2014
Monday, May 5, 2014
Extending Grace Period on Win2008 R2
Most of the content I use for webcasts and live events have virtual
machines that have been created either by someone on my team or by
someone at Microsoft corporate. The virtual machines are not created
with trial versions of the operating system but with fully licensed
product. For obvious reasons they are not activated, so when I first
boot up I usually get a message saying the machine has to be activated
within a few days. Sometimes though, the machines have past the
activation grace period and will not log on unless they are activated NOW!!
This can be somewhat annoying because most of the time I only need the
machines for a demonstration the following week, maybe for the next
month or so, and I don’t want to use one of my product keys for such a
short term machine life. So what can I do?
The first thing I do with machines that are requiring immediate activation is simply turn them off. I then change my host machine date back to a date closer to when the virtual machines were originally created and boot them up one more time. Now the virtual machine thinks my date is kosher and is within the activation grace period, and lets me logon. That’s great but the date is wrong and I need to access the internet with the host as well as do my demos, and having a wrong date causes issues. Never fear, one of the things we can do with Windows Server 2008 and Windows Server 2008 R2 (actually this works with Windows Vista and Windows 7 as well), is re-arm the machine and extend the activation grace period another 60 days.
The first thing I do with machines that are requiring immediate activation is simply turn them off. I then change my host machine date back to a date closer to when the virtual machines were originally created and boot them up one more time. Now the virtual machine thinks my date is kosher and is within the activation grace period, and lets me logon. That’s great but the date is wrong and I need to access the internet with the host as well as do my demos, and having a wrong date causes issues. Never fear, one of the things we can do with Windows Server 2008 and Windows Server 2008 R2 (actually this works with Windows Vista and Windows 7 as well), is re-arm the machine and extend the activation grace period another 60 days.
So How’s This Done?
Simple… all we need to do is run a script in the windows\system32 folder called slmgr.vbs. Check the steps below:- Bring up a Command Prompt.
- Type slmgr.vbs –rearm, and press ENTER.
- Restart the computer.
How Much Time Is Remaining in the Evaluation Period
You can find out by running the same script this time with different switch:- Type slmgr.vbs -dli, and the current status of the evaluation period is displayed. (the dli switch means – display license information)
Thursday, March 20, 2014
Solaris 10 - Notes - Daily
#traceroute -v 192.168.1.1
#netstat -an | grep LISTEN
#route -n , route -tu
#prtdiag | head
#prtdiag -v
#prtconf |grep Mem
#vmstat 5 10
#df –k –F ufs
#df –k –F vxfs
#vxdisk -p or list
#/dm/dmtool s m
#/dm/dmtool de - to deteach the mirror
#find /export/store3 -type f \( -name \*.iso \)
#find /export/store3 -type f \( -name \*.iso -o -name \*.jpg \)
#tail -f /var/adm/messages
#smbstatus -b / -s / -v
#cat /etc/release
#showrev -a
#uname -a / -rv
#prstat
#root@vmshcoss01>gzcat "xxx.tar.gz" | tar -xvf -
#root@vmshcoss01>gzip -d "xxx.tar.gz" |tar -xvf -
root@vmshcoss01>tar -xvf xxx.tar
root@vmshcoss01>tar -C /myfolder -zxvf yourfile.tar.gz
Work with console session Solaris
stty rows 40 cols 80
exec /usr/bin/ksh -o emacs
TERM=ansi
export TERM
SyBase IQ - query in columns
Sybase Adaptive Server - query in rows
#screen
run the script
ctl + ad
next day
screen -r
#screen -x / -d / -r
#mount -F ufs -o remount,rw /dev/dsk/c1t0d0s0 /
#mount | head 1
#mount -o rw,remount /dev/md/dsk/d10 /
#fsck /dev/md/rdsk/d10
#cfgadm -al | grep -i c3 - Configuration administration Hot Plug Devices
#shutdown -y -i6 -g0 - reboot
#shutdown -y -i0 -g0 - shutdown
#/etc/init.d/volmgt stop or start
#svcadm restart volfs
#pkgadd -G -d ./VBoxSolarisAdditions.pkg
Solaris 10 Single User mode
1. reboot
2. on GRUB screen - Select "Oracle Solaris 10 8/11 s10x_u10wos_17b x86"
3. Select Line "Kernel /platform/i86pc/multiboot"
4. after the multiboot add followings
"Kernel /platform/i86pc/multiboot -B console=ttya -s"
5. Then Press Enter
6. Press b to boot with that options.
Sometimes even you can login to Single user mode, system can't mount / to /a
Searching for installed OS instances…
/dev/dsk/c1t0d0s0 is under md control, skipping.
/dev/dsk/c1t1d0s0 is under md control, skipping.
No installed OS instance found.
# mount -o ro /dev/dsk/c1t0d0s0 /a
OR
# mount -o rw /dev/dsk/c1t0d0s0 /a
To reset the root user password
#cd /a/etc
#vi shadow
root:pvclqIvh6tBm6:16152::::::
(delete pvclqIvh6tBm6)
root::16152::::::
wq!
#reboot
After that you can login without typing root password, then
#passwd to change the password.
# df -hF ufs
# swap -lh
/etc/nodename - hostname
/etc/hosts = /etc/inet/ipnodes
/etc/netmasks
/etc/defaultrouter
/etc/hostname.e1000g0
/etc/hostname.e1000g0:1
dig msn.com
dig msn.com +short
dig @local.dns.server msn.com
dig msn.com A +noall +answer
dig msn.com MX +noall +answer
dig msn.com NS +noall +answer
dig msn.com ANY +noall +answer
dig -x 192.168.10.1 +short
Solaris 10 DNS client & servers configuration files and log locations:
root@vmshcom01> svcs -l svc:/network/dns/server:default
root@vmshcom01> svcs -l svc:/network/dns/client:default
/etc/nsswitch.conf
/etc/resolv.conf
/etc/netconfig
/etc/hosts
/etc/named.conf - BIND Configuration
/var/named/bind-log - DNS server log
/var/adm/messages - system messages
/var/svc/log/network-dns-client:default.log - SMF DNS client log (search for ERRORS and
/var/svc/log/network-dns-client:default.log - SMF DNS server log (search for ERRORS and
/var/svc/manifest/network/dns/client.xml - DNS Client Manifest Configuration
/var/svc/manifest/network/dns/server.xml - DNS Server Manifest Configuration
Solaris 10 DNS Client & servers Tools:
/usr/sbin/dig - DNS lookup utility, replaces nslookup future release of Solaris.
/usr/sbin/nslookup - DNS lookup utility, now marked obsolete and will be removed in a future release of Solaris
/usr/sbin/rndc - name server control utility
named-checkconf - named configuration file syntax checking tool
named-checkzone - zone file validity checking tool
/usr/sbin/svcs - Report SMF service status
/usr/sbin/svcadm - Manage SMF services.
/usr/sbin/svcprop - Verify SMF configuration properties
#netstat -an | grep LISTEN
#route -n , route -tu
#prtdiag | head
#prtdiag -v
#prtconf |grep Mem
#vmstat 5 10
#df –k –F ufs
#df –k –F vxfs
#vxdisk -p or list
#/dm/dmtool s m
#/dm/dmtool de - to deteach the mirror
#find /export/store3 -type f \( -name \*.iso \)
#find /export/store3 -type f \( -name \*.iso -o -name \*.jpg \)
#tail -f /var/adm/messages
#smbstatus -b / -s / -v
#cat /etc/release
#showrev -a
#uname -a / -rv
#prstat
#root@vmshcoss01>gzcat "xxx.tar.gz" | tar -xvf -
#root@vmshcoss01>gzip -d "xxx.tar.gz" |tar -xvf -
root@vmshcoss01>tar -xvf xxx.tar
root@vmshcoss01>tar -C /myfolder -zxvf yourfile.tar.gz
Work with console session Solaris
stty rows 40 cols 80
exec /usr/bin/ksh -o emacs
TERM=ansi
export TERM
SyBase IQ - query in columns
Sybase Adaptive Server - query in rows
#screen
run the script
ctl + ad
next day
screen -r
#screen -x / -d / -r
#mount -F ufs -o remount,rw /dev/dsk/c1t0d0s0 /
#mount | head 1
#mount -o rw,remount /dev/md/dsk/d10 /
#fsck /dev/md/rdsk/d10
#cfgadm -al | grep -i c3 - Configuration administration Hot Plug Devices
#shutdown -y -i6 -g0 - reboot
#shutdown -y -i0 -g0 - shutdown
#/etc/init.d/volmgt stop or start
#svcadm restart volfs
#pkgadd -G -d ./VBoxSolarisAdditions.pkg
Solaris 10 Single User mode
1. reboot
2. on GRUB screen - Select "Oracle Solaris 10 8/11 s10x_u10wos_17b x86"
3. Select Line "Kernel /platform/i86pc/multiboot"
4. after the multiboot add followings
"Kernel /platform/i86pc/multiboot -B console=ttya -s"
5. Then Press Enter
6. Press b to boot with that options.
Sometimes even you can login to Single user mode, system can't mount / to /a
Searching for installed OS instances…
/dev/dsk/c1t0d0s0 is under md control, skipping.
/dev/dsk/c1t1d0s0 is under md control, skipping.
No installed OS instance found.
# mount -o ro /dev/dsk/c1t0d0s0 /a
OR
# mount -o rw /dev/dsk/c1t0d0s0 /a
To reset the root user password
#cd /a/etc
#vi shadow
root:pvclqIvh6tBm6:16152::::::
(delete pvclqIvh6tBm6)
root::16152::::::
wq!
#reboot
After that you can login without typing root password, then
#passwd to change the password.
# df -hF ufs
# swap -lh
/etc/nodename - hostname
/etc/hosts = /etc/inet/ipnodes
/etc/netmasks
/etc/defaultrouter
/etc/hostname.e1000g0
/etc/hostname.e1000g0:1
dig msn.com
dig msn.com +short
dig @local.dns.server msn.com
dig msn.com A +noall +answer
dig msn.com MX +noall +answer
dig msn.com NS +noall +answer
dig msn.com ANY +noall +answer
dig -x 192.168.10.1 +short
Solaris 10 DNS client & servers configuration files and log locations:
root@vmshcom01> svcs -l svc:/network/dns/server:default
root@vmshcom01> svcs -l svc:/network/dns/client:default
/etc/nsswitch.conf
/etc/resolv.conf
/etc/netconfig
/etc/hosts
/etc/named.conf - BIND Configuration
/var/named/bind-log - DNS server log
/var/adm/messages - system messages
/var/svc/log/network-dns-client:default.log - SMF DNS client log (search for ERRORS and
/var/svc/log/network-dns-client:default.log - SMF DNS server log (search for ERRORS and
/var/svc/manifest/network/dns/client.xml - DNS Client Manifest Configuration
/var/svc/manifest/network/dns/server.xml - DNS Server Manifest Configuration
Solaris 10 DNS Client & servers Tools:
/usr/sbin/dig - DNS lookup utility, replaces nslookup future release of Solaris.
/usr/sbin/nslookup - DNS lookup utility, now marked obsolete and will be removed in a future release of Solaris
/usr/sbin/rndc - name server control utility
named-checkconf - named configuration file syntax checking tool
named-checkzone - zone file validity checking tool
/usr/sbin/svcs - Report SMF service status
/usr/sbin/svcadm - Manage SMF services.
/usr/sbin/svcprop - Verify SMF configuration properties
Friday, January 31, 2014
Try - Pink
Oh oh
Ever wonder about what he's doing?
How it all turned to lies?
Sometimes I think that it's better to never ask why
Where there is desire
There is gonna be a flame
Where there is a flame
Someone's bound to get burned
But just because it burns
Doesn't mean you're gonna die
You've gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Eh, eh, eh
Funny how the heart can be deceiving
More than just a couple times
Why do we fall in love so easy?
Even when it's not right
Where there is desire
There is gonna be a flame
Where there is a flame
Someone's bound to get burned
But just because it burns
Doesn't mean you're gonna die
You've gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Ever worry that it might be ruined
And does it make you wanna cry?
When you're out there doing what you're doing
Are you just getting by?
Tell me are you just getting by, by, by?
Where there is desire
There is gonna be a flame
Where there is a flame
Someone's bound to get burned
But just because it burns
Doesn't mean you're gonna die
You've gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Gotta get up and try, and try, and try...
Ever wonder about what he's doing?
How it all turned to lies?
Sometimes I think that it's better to never ask why
Where there is desire
There is gonna be a flame
Where there is a flame
Someone's bound to get burned
But just because it burns
Doesn't mean you're gonna die
You've gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Eh, eh, eh
Funny how the heart can be deceiving
More than just a couple times
Why do we fall in love so easy?
Even when it's not right
Where there is desire
There is gonna be a flame
Where there is a flame
Someone's bound to get burned
But just because it burns
Doesn't mean you're gonna die
You've gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Ever worry that it might be ruined
And does it make you wanna cry?
When you're out there doing what you're doing
Are you just getting by?
Tell me are you just getting by, by, by?
Where there is desire
There is gonna be a flame
Where there is a flame
Someone's bound to get burned
But just because it burns
Doesn't mean you're gonna die
You've gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Gotta get up and try, and try, and try
You gotta get up and try, and try, and try
Gotta get up and try, and try, and try...
Memory Kill - Franco Reyes
I'm here
Watch me on display
I'm soul scratched severed inlay
I fear
Wonder if you'd say
Go get going ok ok ok.....?
Adhere to whatever you may
I'm tongue tied twisted hearsay
It's a severe paralysis
Wallowing insane
Hopeless hoping in vain!
Here's a letter to your pride
Our souls and hearts divide
How can this be?
We're beckoned to a lie
Leave uncompromised
How can this be?
Kill that memory
Cold and pale black memory
Of you and me standing still
Kill kill kill
Here's a letter to your pride
Our souls and hearts divide
How can this be?
We're flailing to decide
Desperate to deny
How can this be?
Kill that memory
Kill kill
Watch me on display
I'm soul scratched severed inlay
I fear
Wonder if you'd say
Go get going ok ok ok.....?
Adhere to whatever you may
I'm tongue tied twisted hearsay
It's a severe paralysis
Wallowing insane
Hopeless hoping in vain!
Here's a letter to your pride
Our souls and hearts divide
How can this be?
We're beckoned to a lie
Leave uncompromised
How can this be?
Kill that memory
Cold and pale black memory
Of you and me standing still
Kill kill kill
Here's a letter to your pride
Our souls and hearts divide
How can this be?
We're flailing to decide
Desperate to deny
How can this be?
Kill that memory
Kill kill
Subscribe to:
Posts (Atom)
-
ကကုသန္ဓော ကောဏဂမနော ကဿပေါ ဂေါတမော မုနိဆယ်ထား ဆယ်တော်မူမြတ်စွာဘုရား မေတ္တယျော ပဉ္စဗုဒ္ဓေါတေ သိသေမေသန္တ သဗ္ဗဒါ ဧတေသံ အာနုဘာဝေန ရက္ခဒေဝါ မဟိဒ္ဓ...
-
34T6L-4C9PX-X8D9C-GYD26-8SQWM
-
Linux, Create File With Content & Specified Size #dd if=/dev/urandom of=3MB bs=1 count=0 seek=3M #dd if=/dev/urandom of=5MB bs=1 count...