سلام دوسبتان
برای نصب apache به wiki همین سایت مراجعه کردم . متاسفانه 2 مشکل در دو قسمت بود :
1: مشکل در نصب apache که :
rout3rx@routrx-desktop:~$ sudo apt-get install apache2 apache2-common apache2-mpm-prefork apache2-utils ssl-cert
Reading package lists... Done
Building dependency tree
Reading state information... Done
ssl-cert is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache2-mpm-prefork: Depends: libapr0 (>= 2.0.55) but it is not going to be installed
Depends: libpcre3 (>= 4.5) but it is not going to be installed
apache2-utils: Depends: libapr0 (>= 2.0.55) but it is not going to be installed
Depends: libpcre3 (>= 4.5) but it is not going to be installed
sun-java6-plugin: Depends: sun-java6-bin (= 6-00-2ubuntu2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
routrx@routrx-desktop:~$ cd /etc
routrx@routrx-desktop:/etc$ dir
acpi gshadow- pango
adduser.conf gtk-2.0 papersize
adjtime hal passwd
aliases hdparm.conf passwd-
alternatives host.conf pcmcia
anacrontab hostname perl
apm hosts pnm2ppa.conf
apt hp popularity-contest.conf
at.deny iftab power
avahi init.d ppp
bash.bashrc initramfs-tools pppstatus
bash_command_not_found inputrc profile
bash_completion iproute2 protocols
bash_completion.d issue python
belocs issue.net python2.5
blkid.tab java rc0.d
bluetooth jvm rc1.d
bonobo-activation jvm.d rc2.d
brlapi.key kernel-img.conf rc3.d
brltty laptop-mode rc4.d
brltty.conf ldap rc5.d
ca-certificates.conf ld.so.cache rc6.d
calendar ld.so.conf rc.local
chatscripts ld.so.conf.d rcS.d
console-setup ld.so.hwcappkgs readahead
console-tools lftp.conf resolvconf
cron.d libao.conf resolv.conf
cron.daily libgda resolv.conf.pppd-backup
cron.hourly libpaper.d rmt
cron.monthly locale.alias rpc
crontab localtime samba
cron.weekly logcheck sane.d
cups login.defs scim
dbus-1 logrotate.conf screenrc
debconf.conf logrotate.d scrollkeeper.conf
debian_version lsb-base securetty
default lsb-base-logging.sh security
defoma lsb-release services
deluser.conf ltrace.conf sgml
devfs magic shadow
dhcp3 mailcap shadow-
dictionaries-common mailcap.order shells
dpkg manpath.config skel
emacs mediaprm sound
environment menu-methods ssh
esound mime.types ssl
event.d mke2fs.conf sudoers
fdmount.conf modprobe.d sysctl.conf
firefox modules syslog.conf
fonts modutils terminfo
foomatic mono timezone
fstab motd ucf.conf
fstab.edgy motd.tail udev
fstab.pre-uuid mtab uniconf.conf
gaim nanorc updatedb.conf
gamin Net update-notifier
gconf netscsid.conf usplash.conf
gdm network vim
gimp NetworkManager vnc.conf
gnome networks w3m
gnome-app-install nsswitch.conf wgetrc
gnome-system-tools ntp.conf wodim.conf
gnome-vfs-2.0 ODBCDataSources wpa_supplicant
gnome-vfs-mime-magic odbc.ini wvdial.conf
gre.d odbcinst.ini X11
groff openoffice xdg
group opt xml
group- pam.conf zsh_command_not_found
gshadow pam.d
خودتون قضاوت کنید.
برای نصب سرور LAMP
با استفاده از taskel
routrx@routrx-desktop:~$ sudo tasksel install lamp-server
Password:
tasksel: aptitude failed (100)
این ارور را میده
و اینم که :
rout3rx@routrx-desktop:~$ sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache2: Depends: apache2-mpm-worker (= 2.0.55-4ubuntu2.2) but it is not going to be installed or
apache2-mpm-prefork (= 2.0.55-4ubuntu2.2) but it is not going to be installed or
apache2-mpm-perchild (= 2.0.55-4ubuntu2.2) but it is not going to be installed
libapache2-mod-php5: Depends: libpcre3 (>= 4.5) but it is not going to be installed
Depends: apache2-mpm-prefork (> 2.0.52) but it is not going to be installed
Depends: php5-common (= 5.1.2-1ubuntu3.9) but it is not going to be installed
mysql-server: Depends: mysql-server-5.0 but it is not going to be installed
php5-mysql: Depends: libmysqlclient15off (>= 5.0.19-1) but it is not going to be installed
Depends: php5-mysqli (= 5.1.2-1ubuntu3.9) but it is not going to be installed
Depends: php5-common (= 5.1.2-1ubuntu3.9) but it is not going to be installed
sun-java6-plugin: Depends: sun-java6-bin (= 6-00-2ubuntu2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ut it is not going to be installed
این را می گه . چیکار کنم تا بتونم راحت این چند ابزار را برای کانفیگ نصب کنم run کنم ؟
متشکرم