default network config redhat centos ifcfg-eth0
- No Comments
- Oct, 26, 2009
- Angelo Schalley
- Linux
#!/bin/sh
#>>>Device type: ethernet
#>>>Variable declarations:
DEVICE=eth0
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=255.255.255.255
GATEWAY=192.168.0.1
ONBOOT=no
#>>>End variable declarations
read / recover ftp password from a plesk database
- 3 Comments
- Oct, 23, 2009
- Angelo Schalley
- Plesk Linux
mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e “use psa; select accounts.password from accounts INNER JOIN sys_users ON accounts.id=sys_users.account_id WHERE sys_users.login=’xxxx’;”
specify sys_users.login=’xxxx’ ( user login xxxx )
Display a list of all sites within IIS server
- No Comments
- Oct, 23, 2009
- Angelo Schalley
- IIS
This script will show you each Web Site ID and the description and the bindings that they are using.
Save the script to a file with a .VBS file extension and then run using this command:
Read more on Display a list of all sites within IIS server…