[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian installation for 1st time



On Mon, 8 Aug 2016 14:01:31 +0000
haleem safi <haleem.safi@outlook.com> wrote:

> Dear Debian users,
> 
> 
> I am Haleem and new to the Linux world, I Need to install
> osTicket<http://osticket.com/> on Apache, web Server.  I Need to
> install first Debian, please instruct me what will be the suitable
> package for me,to download
> 
> I have Wmware ESXI 5.5 virtual  machine, on Dell power edge 720
> Server. in the Virtual machine I  Windows Server 2008 and I want to
> install Debian and then Apache,
> 
> your Support will be appreciated
> 

For a production server, Debian is an excellent choice, however it's
probably not the easiest way into Linux.

For your particular application, which apart from Linux and Apache, will
also need MySQL and PHP, you need what is referred to as a LAMP server.

There are a number of these available as specialised distributions,
based on either Debian, SuSe or RedHat/Centos, or there is a portable
version which will run on Windows, from a USB stick if required
(USBwebserver, http://www.usbwebserver.net). Some are mentioned here,
https://en.wikipedia.org/wiki/List_of_Apache%E2%80%93MySQL%E2%80%93PHP_packages
you will need to check which versions of the components are included.

Here is a guide to making a LAMP server from Ubuntu, one of the more
popular Debian-based distributions:
https://help.ubuntu.com/community/ApacheMySQLPHP
There's a lot more on the Net about LAMP servers, much of which of
course is out of date.

If you still wish to start with Debian itself, you will find less
hand-holding. Here is the starting point:
https://www.debian.org/releases/stable/installmanual

The most efficient way is probably to start with the Netinstall image
https://www.debian.org/CD/netinst/ for your virtual machine and add what
tasks are necessary. Use the expert installation, as various important
choices are not available otherwise. Look up anything you don't
understand, or come back here.

For a server, it's probably not worth using either of the heavyweight
desktops, Gnome or KDE, and instead to choose Xfce or LXDE. After a bit
of experience, you won't bother with a graphical environment at all on a
server, but for someone moving from Windows, it's probably safer to
stay graphical for now.

What I can't tell you today is exactly what you need for a new
installation. My server has the LAMP components, but the originals were
installed years ago, and the server upgraded several times as new
versions became available, though it still isn't the current Jessie
distribution. From time to time, functions have been moved into
different packages. These are the packages I have now which seem to be
apache2, mysql and php-related:

apache2
apache2-mpm-prefork
apache2-utils
apache2.2-bin
apache2.2-common
libapache2-mod-fcgid
libapache2-mod-perl2
libapache2-mod-php5
libapache2-reload-perl
libdbd-mysql-perl
libmysqlclient16
libmysqlclient18:amd64
libqt4-sql-mysql:amd64
mysql-client-5.5
mysql-common
mysql-server
mysql-server-5.5
mysql-server-core-5.5
php5-mysql
libapache2-mod-php5
php5
php5-cli
php5-common
php5-gd
php5-imap
php5-ldap
php5-mcrypt
php5-mysql
php5-sqlite
phpmyadmin

Many of these are dependencies, and not all are probably essential to
your application. Selecting the 'web server' role during installation,
then installing 'php5' and 'mysql-server' afterwards should pull in most
of them. phpmyadmin isn't a dependency, but I find it very useful for
administering MySQL, so much so that I need to look up the actual MySQL
cli commands when I need them. I repeat, Jessie may not use exactly the
same packages as my server, which runs the Wheezy distribution, but
this should be a good guide.

Best of luck. Any problems, come back and we'll try to help.

-- 
Joe


Reply to: