Web-server based on Linux CentOS V5.4 (virtual machine for VMware).

May 25th, 2011 by admin

Web-server based on Linux CentOS V5.4 (virtual machine for VMware).

Web-server based on Linux CentOS 5.4 (virtual machine for VMware) | 182MB
about: Web-server based on Linux CentOS 5.4 (a virtual machine for VMware) – introducing you to the VMware virtual machine with the OS Linux Centos 5.4 and configured a bunch of Apache + PHP + MySQL, which, after a small setup in Windows will be an almost complete analogous to the external web-server. For web-developer, it can replace Denwer and drguie similar assemblies are installed directly into Windows. Also suitable beginner Linux-administrator as a working case study. CentOS is a free analog of the rasprostranenngo server Linux-distribution Red Hat Enterprise Linux (RHEL).

Extras. Information:
Software installed on a virtual machine:
CentOS 5.4 i386
Apache 2.2.3
PHP 5.1.6
MySQL 5.0.77
Perl 5.8.8
Python 2.4.3
GCC 4.1.2
+ Panel Webmin
+ Something for the little things – mc, wget, etc. ..

Console fonts. MySQL is configured to work with the encoding cp1251. ‘X’ no.
All software obnonvleno as at 20.04.2010 (if someone does not embarrass the most recent versions of packages – just in RHEL / CentOS is used versionizirovannaya batch system, ie, versions of packages that do not change during the cycle of support, they only fix bugs and added security patches). Additionally connected repository epel. Selinux disabled in iptables there are no rules.

Full list of installed software:
apr-1.2.7-11.el5_3.1
apr-util-1.2.7-7.el5_3.2
aspell-0.60.3-7.1
aspell-en-6.0-2.1
aspell-ru-0.99f7-2.2.2
atk-1.12.2-1.fc6
audit-libs-1.7.13-2.el5
audit-libs-python-1.7.13-2.el5
authconfig-5.3.21-6.el5
autoconf-2.59-12
automake-1.9.6-2.1
basesystem-8.0-5.1.1.el5.centos
bash-3.2-24.el5
binutils-2.17.50.0.6-12.el5
bitstream-vera-fonts-1.10-7
bzip2-1.0.3-4.el5_2
bzip2-libs-1.0.3-4.el5_2
cairo-1.2.4-5.el5
centos-release-5-4.el5.centos.1
centos-release-notes-5.4-4
checkpolicy-1.33.1-4.el5
chkconfig-1.3.30.1-2
chkfontpath-1.10.1-1.1
coreutils-5.97-23.el5_4.2
cpio-2.6-23.el5_4.1
cpp-4.1.2-46.el5_4.2
cracklib-2.8.9-3.3
cracklib-dicts-2.8.9-3.3
crontabs-1.10-8
cryptsetup-luks-1.0.3-5.el5
cups-libs-1.3.7-11.el5_4.6
curl-7.15.5-2.1.el5_3.5
cyrus-sasl-lib-2.1.22-5.el5_4.3
db4-4.3.29-10.el5
dbus-1.1.2-12.el5_4.1
dbus-glib-0.73-8.el5
dbus-libs-1.1.2-12.el5_4.1
Deployment_Guide-ru-RU-5.2-11.el5.centos
desktop-file-utils-0.10-7
device-mapper-1.02.32-1.el5
device-mapper-event-1.02.32-1.el5
device-mapper-multipath-0.4.7-30.el5_4.4
dhclient-3.0.5-21.el5_4.1
dhcpv6-client-1.0.10-17.el5
diffutils-2.8.1-15.2.3.el5
dmidecode-2.10-2.el5_4
dmraid-1.0.0.rc13-53.el5
dmraid-events-1.0.0.rc13-53.el5
e2fsprogs-1.39-23.el5
e2fsprogs-libs-1.39-23.el5
ecryptfs-utils-75-5.el5
ed-0.2-39.el5_2
elfutils-libelf-0.137-3.el5
epel-release-5-3
ethtool-6-3.el5
exim-4.63-3.el5
expat-1.95.8-8.3.el5_4.2
file-4.17-15.el5_3.1
filesystem-2.4.0-2.el5.centos
findutils-4.2.27-6.el5
fipscheck-1.2.0-1.el5
fipscheck-lib-1.2.0-1.el5
fontconfig-2.4.1-7.el5
fonts-KOI8-R-100dpi-1.0-9.1.1
fonts-KOI8-R-1.0-9.1.1
fonts-KOI8-R-75dpi-1.0-9.1.1
freetype-2.2.1-21.el5_3
gawk-3.1.5-14.el5
gcc-4.1.2-46.el5_4.2
gdbm-1.8.0-26.2.1
glib2-2.12.3-4.el5_3.1
glibc-2.5-42.el5_4.3
glibc-common-2.5-42.el5_4.3
glibc-devel-2.5-42.el5_4.3
glibc-headers-2.5-42.el5_4.3
gmp-4.1.4-10.el5
gnu-efi-3.0c-1.1
gnutls-1.4.1-3.el5_4.8
gpg-pubkey-217521f6-45e8a532
gpg-pubkey-e8562897-459f07a4
grep-2.5.1-55.el5
groff-1.18.1.1-11.1
grub-0.97-13.5
gtk2-2.10.4-20.el5
gzip-1.3.5-11.el5.centos.1
hal-0.5.8.1-52.el5
hdparm-6.6-2
hicolor-icon-theme-0.9-2.1
hmaccalc-0.9.6-1.el5
htmlview-4.0.0-2.el5
httpd-2.2.3-31.el5.centos.4
hwdata-0.213.16-1.el5
imake-1.0.2-3
info-4.8-14.el5
initscripts-8.45.30-2.el5.centos
iproute-2.6.18-10.el5
iptables-1.3.5-5.3.el5_4.1
iptables-ipv6-1.3.5-5.3.el5_4.1
iputils-20020927-46.el5
kbd-1.12-21.el5
kernel-2.6.18-164.15.1.el5
kernel-headers-2.6.18-164.15.1.el5
keyutils-1.2-1.el5
keyutils-libs-1.2-1.el5
kpartx-0.4.7-30.el5_4.4
krb5-libs-1.6.1-36.el5_4.1
kudzu-1.2.57.1.21-1.el5.centos
less-394-6.el5
libacl-2.2.39-3.el5
libattr-2.4.32-1.1
libcap-1.10-26
libfontenc-1.0.2-2.2.el5
libFS-1.0.0-3.1
libgcc-4.1.2-46.el5_4.2
libgcrypt-1.4.4-5.el5
libgomp-4.4.0-6.el5
libgpg-error-1.4-2
libhugetlbfs-1.3-3.el5
libidn-0.6.5-1.1
libjpeg-6b-37
libmcrypt-2.5.8-4.el5.centos
libpng-1.2.10-7.1.el5_3.2
libselinux-1.33.4-5.5.el5
libselinux-python-1.33.4-5.5.el5
libselinux-utils-1.33.4-5.5.el5
libsemanage-1.9.1-4.4.el5
libsepol-1.15.2-2.el5
libstdc + +-4.1.2-46.el5_4.2
libsysfs-2.0.0-6
libtermcap-2.0.8-46.1
libtiff-3.8.2-7.el5_3.4
libusb-0.1.12-5.1
libuser-0.54.7-2.1.el5_4.1
libvolume_id-095-14.21.el5
libX11-1.0.3-11.el5
libXau-1.0.1-3.1
libXcursor-1.1.7-1.1
libXdmcp-1.0.1-2.1
libXext-1.0.1-2.1
libXfixes-4.0.1-2.1
libXfont-1.2.2-1.0.3.el5_1
libXft-2.1.10-1.1
libXi-1.0.1-4.el5_4
libXinerama-1.0.1-2.1
libxml2-2.6.26-2.1.2.8
libXrandr-1.1.1-3.1
libXrender-0.9.1-3.1
libxslt-1.1.17-2.el5_2.2
logrotate-3.7.4-9
lsof-4.78-3
lvm2-2.02.46-8.el5_4.2
lynx-2.8.5-28.1.el5_2.1
m2crypto-0.16-6.el5.6
m4-1.4.5-3.el5.1
mailcap-2.1.23-1.fc6
MAKEDEV-3.23-1.2
man-1.6d-1.1
man-pages-ru-0.97-1.1.1
mc-4.6.1a-35.el5
mcstrans-0.2.11-3.el5
mhash-0.9.9-1.el5.centos
mingetty-1.07-5.2.2
mkinitrd-5.1.19.6-54
mktemp-1.5-23.2.2
module-init-tools-3.3-0.pre3.1.54.el5
mysql-5.0.77-4.el5_4.2
mysql-server-5.0.77-4.el5_4.2
nash-5.1.19.6-54
ncurses-5.5-24.20060715
net-tools-1.60-78.el5
newt-0.52.2-12.el5_4.1
nspr-4.8.4-1.el5_4
nss-3.12.6-1.el5.centos
ntsysv-1.3.30.1-2
openldap-2.3.43-3.el5
openssh-4.3p2-36.el5_4.4
openssh-clients-4.3p2-36.el5_4.4
openssh-server-4.3p2-36.el5_4.4
openssl-0.9.8e-12.el5_4.6
pam-0.99.6.2-6.el5_4.1
pango-1.14.9-8.el5.centos
passwd-0.73-1
patch-2.5.4-29.2.3.el5
pciutils-2.2.3-7.el5
pcre-6.6-2.el5_1.7
perl-5.8.8-27.el5
perl-Authen-PAM-0.16-8.el5
perl-DBD-MySQL-3.0007-2.el5
perl-DBI-1.52-2.el5
perl-URI-1.35-3
php-5.1.6-24.el5_4.5
php-cli-5.1.6-24.el5_4.5
php-common-5.1.6-24.el5_4.5
php-devel-5.1.6-24.el5_4.5
php-gd-5.1.6-24.el5_4.5
php-mbstring-5.1.6-24.el5_4.5
php-mcrypt-5.1.6-15.el5.centos.1
php-mhash-5.1.6-15.el5.centos.1
phpMyAdmin-2.11.10-1.el5
php-mysql-5.1.6-24.el5_4.5
php-pdo-5.1.6-24.el5_4.5
php-pear-1.4.9-6.el5
php-pecl-json-1.2.1-4.el5
php-xml-5.1.6-24.el5_4.5
pm-utils-0.99.3-10.el5.centos
policycoreutils-1.33.12-14.6.el5
popt-1.10.2.3-18.el5
postgresql-libs-8.1.18-2.el5_4.1
prelink-0.4.0-2.el5
procps-3.2.7-11.1.el5
proftpd-1.3.2d-1.el5
psmisc-22.2-7
python-2.4.3-27.el5
python-elementtree-1.2.6-5
python-iniparse-0.2.3-4.el5
python-sqlite-1.1.7-1.2.1
python-urlgrabber-3.1.0-5.el5
readline-5.1-3.el5
redhat-logos-4.9.99-11.el5.centos
redhat-menus-6.7.8-3.el5
rhpl-0.194.1-1
rootfiles-8.1-1.1.1
rpm-4.4.2.3-18.el5
rpm-libs-4.4.2.3-18.el5
rpm-python-4.4.2.3-18.el5
sed-4.1.5-5.fc6
selinux-policy-2.4.6-255.el5_4.4
selinux-policy-targeted-2.4.6-255.el5_4.4
setools-3.0-3.el5
setserial-2.17-19.2.2
setup-2.5.58-7.el5
sgpio-1.2.0_10-2.el5
shadow-utils-4.0.17-14.el5
slang-2.0.6-4.el5
sqlite-3.3.6-5
sysfsutils-2.0.0-6
sysklogd-1.4.1-44.el5
system-config-securitylevel-tui-1.6.29.1-2.1.el5
SysVinit-2.86-15.el5
tar-1.15.1-23.0.1.el5_4.2
tcl-8.4.13-4.el5
tcp_wrappers-7.6-40.7.el5
tcsh-6.14-14.el5_4.3
telnet-0.17-39.el5
termcap-5.5-1.20060701.1
trousers-0.3.1-4.el5
ttmkfdir-3.0.9-23.el5
tzdata-2010e-1.el5
udev-095-14.21.el5
udftools-1.0.0b3-0.1.el5
usermode-1.88-3.el5.2
util-linux-2.13-0.52.el5_4.1
vim-minimal-7.0.109-6.el5
vixie-cron-4.1-77.el5_4.1
webmin-1.500-1
wget-1.11.4-2.el5_4.1
which-2.16-7
wireless-tools-28-2.el5
xorg-x11-filesystem-7.1-2.fc6
xorg-x11-fonts-cyrillic-7.1-2.1.el5
xorg-x11-font-utils-7.1-2
xorg-x11-xfs-1.0.2-4
yum-3.2.22-20.el5.centos
yum-fastestmirror-1.1.16-14.el5.centos.1
yum-metadata-parser-1.1.2-3.el5.centos
yum-priorities-1.1.16-14.el5.centos.1
zlib-1.2.3-3
+ ZendOptimizer-3.3.3

Installation:
This statement is equally true for Windows XP and Windows Vista.
It is assumed that our computing system already installed VMware Workstation 5.x and above, or VMware Server 1.0.x and above. Unpack the archive somewhere with a virtual machine (file centos.7z). Before its launch be sure to tune VMware-network. Running VMware Workstation / Server, then in the menu Edit -> Virtual Network Settings … Summary of contributions see how virtual adapter complies NAT (I have this VMnet8). Then we go to the tab Host Virtual Network Mapping. To the right of VMnet8 Hit the arrow “>” and select the item Subnet … In the box IP-address must install 192.168.231.0.
Our virtual web server will be available on the IP 192.168.231.4. His domain name – linux.rf (note – rf not ru, using a non-existent at the moment TLD). To the local computer when you enter into your browser address Download / Download | http:…ux.rf/ opened our virtual machine, it is necessary to prescribe in the file C: WINDOWSsystem32driversetchosts line:
Code:
192.168.231.4 linux.rf www.linux.rf ftp.linux.rf
Now run the virtual machine and wait for 1-2 minutes until the boot Linux and will display:
Code:
CentOS release 5.4 (Final)
Kernel 2.6.18-128.4.1.el5 on an i686
login:
At this stage, until you can not enter a password and simply roll (not close) the window with the virtual machine and make sure that it is accessible from Windows. Execute Start -> All Programs -> Accessories -> Command Prompt. In the window that appears, write:
Code:
ping 192.168.231.4
We look, well I went ping. If packets are not transmitted, the network is configured incorrectly.
If passed, we write:
Code:
ping linux.rf
If no ping, then something is wrong is registered in hosts, or prescribed the wrong place where you want. If the ping is – open favorite browser in Windows and type in the address bar address linux.rf. You should see the following:
Code:
Hello world!
phpinfo
phpMyAdmin
Webmin
If you can see – cheers, it works!
Now back to our virtual machine. The system has 2 User: root (password toor) and tim (password mit). Password to the MySQL-server for root – lqsym. Having come under any of them, can also verify that the ping goes in the opposite direction:
Code:
ping-c4 192.168.231.1
and if the local machine has access to the Internet, a virtual must also be able to ping and external addresses, such as:
Code:
ping-c4 mail.ru
If the ping is not likely to blame for any security settings Windows, firewall, etc.
It remains to discuss how you will be sharing files between the real and virtual machines. In Windows, open the favorite FTP-client, enter the address ftp.linux.rf, ID – tim, password mit – and connect to the virtual machine via FTP, getting into the directory / home / tim /. The path to the index.php, the result of which we have seen in the browser, so: / home / tim / www / linux.rf / index.php. FTP-access for root is disabled.
SSH access is for root and tim, but in this case is irrelevant, because probably easier to deploy the virtual machine window, and work directly there.
To properly shut down the system (I shutdown via VMware simply “turns off the power”) must have the file command:
Code:
poweroff

Access to the virtual machine from the global network:
It is assumed that at this stage, we managed to install and configure a web server and even filled in there some sort of a project. Now we want to show it to the world. In addition we have access to the Internet and “white” IP.
Method # 1. Port forwarding using 3proxy
(Tested on Windows XP)
1) Open the local computer to port 80. In the case of the Windows Firewall is done like this: “Start” -> “Control Panel” -> “a firewall Windows”. We turn to the Exceptions tab, click the button “Add Port …”, specify the name of HTTP, port 80, TCP port and click OK. If you have installed another firewall – therefore open this port through it.
2) Download 3proxy (aka 3APA3A proxy) (latest stable version). Create a folder “C: Program Files3proxy” and extract the archive there. In the folder “C: Program Files3proxybin” 3proxy.cfg create a file and write in it:
Code:
log “C: Program Files3proxybin3proxy.log”
auth none
tcppm 80 192.168.231.4 80
3) We go to the command line Windows (“Start -> Run -> print” cmd “), we are moving in the right directory:
> Cd “C: Program Files3proxybin”
and execute the command:
> 3proxy – install
Then 3proxy start as a service and will hang on the 80-m port of all available network interfaces, revising requests to port 80 IP 192.168.231.4 our virtual machine.
4) If something did not work – see the log file, we make corrections. Next: Start -> Control Panel -> Administrative Tools -> Services, find 3proxy service and restart it.
If we have a static external IP-address, it is better to hang 3proxy only him and not at all in a row. So do this:
Code:
log “C: Program Files3proxybin3proxy.log”
auth none
tcppm-i90.100.110.120 80 192.168.231.4 80
Where 90.100.110.120 – this is your static IP-address.
If you want forwarding more ports (such as 21 – this is FTP, 22 – SSH, 10000 – Webmin, etc.), then accordingly configuration will be:
Code:
log “c: program files3proxybin3proxy.log”
auth none
tcppm-i90.100.110.120 80 192.168.231.4 80
tcppm-i90.100.110.120 21 192.168.231.4 21
tcppm-i90.100.110.120 22 192.168.231.4 22
tcppm-i90.100.110.120 10000 192.168.231.4 10000
Remarks.
1) Some antivirus may say that 3proxy – a virus or a suspicious software, or even once – ignore. But for the reliability of course swings only from the official site 3proxy.ru
2) If you have something hanging on the 80-port (eg Apache under Windows or IIS), then there 3proxy not hang himself. Similarly for the other ports.
3) Before releasing the virtual machine to the network – necessary to change all passwords!
[Collapse]
Logins and passwords
shell & ssh: 1) login root, password toor; 2) login tim, password mit
ftp:login tim, password mit
mysql: username root, password lqsym
webmin: username root, password toor
also have a blank database db1, user user1, password pass1.

Home Page :http://www.centos.org/


You might also like

VMware Workstation v7.1.4 + Keymaker – EMBRACE
VMware Workstation v7.1.4 + Keymaker - EMBRACE | 570.6 MB VMware Workstation - a program that is...
Mac OSX Snow Leopard Server 10.6.7 Intel AMD Vmware (2011)
Mac OSX Snow Leopard Server 10.6.7 Intel AMD Vmware (2011) | 2.72 GB This program allows you...
Mac OSX Snow Leopard Server [10.6.7] Intel AMD Vmware (2011)
...
VMware Converter 3.0.1
Convert Physical Machines to Virtual Machines Automate and simplify physical to virtual machine...



Research:

Tags: , , , , , ,
Posted in software | Comments Off

Popular Search Terms

taxi london, windows 7 ultimate fully activated genuine x86 x64, Office 2010 (64 bit | 32 bit | x86 | x64 | edition | iso | aio) (fileserve com/file | fileserve com/folder), adobe master collection cs6 keygen, Office 2010 (crack | activator | loader | keygen) (fileserve com/file | fileserve com/folder), serial adobe premiere pro cs6, Office 2010 (64 bit | 32 bit | x86 | x64 | edition | iso | aio) (filesonic com/file | megaupload com/), cherche code step 7 SIMATIC, komplete 8 rapidshare, 3d max 2012 portable indir letitbit, adobe cs6 master collection keygen download, serial windows indesign cs5, stellar phoenix macintosh data recovery 4 1 keygen mediafire, avast internet security 7 0 1125, Windows 7 (64 bit | 32 bit | x86 | x64 | edition | iso | aio) (wupload com/file | wupload com/folder), Office 2010 (crack | activator | loader | keygen) (uploading com/files | uploading com/linklists), finale 2011 keygen, Office 2010 (crack | activator | loader | keygen) (filesonic com/file | megaupload com/), Windows 7 (crack | activator | loader | keygen) (uploading com/files | uploading com/linklists), 3dmark 11 keygen, solidworks portable torrent, protools 10 cracked, serial adobe master collection cs6, gdpicture net 8 keys, crack lumion, (Microsoft | 微软 | MS) Office 2010 (freakshare com/file | uploading com/files | bitshare com | wupload com/file | rayfile com), coreldraw x6 keygen, powerdvd 12 ultra preactivated hotfile, windows 7 ultimate firekeeper x86 sp1 ru torrents, Windows 7 Ultimate Fully Activated Genuine version, keygen proshow producer 5, matlab 2012a mac crack keygen, avast pro antivirus 7 01426 mediafire com, acronis truimage home window 7 64 download, revit architecture 2013 activation code, crack cubase 6 le, filemaker pro mac 12 advanced torrent, microsoft office enterprise corporate (2010/no serial/no crack required), windows 7 sp1 patch download rar file, windows 7 all in one sp1 iso, adobe acrobat x pro 10 fr portable, mitchell on demand 5 8 crack hotfile, portable hide ip cracked, who has the serial key for avast free antivirus7 0 1426, avast 7 0 1426 crack original crack(patch)

Tag cloud