Post navigation

Install all simple thing Apache PHP MySQL Mono Eclipse NetBean to work with Ubuntu for beginner

Some developer install Ubuntu to give it a try, but they do not know how to go further step, they will be bored and quit Ubuntu. I don’t like it (I like Ubuntu) so I make some simple steps that beginner (of Ubuntu) should do to play more (programming) with it:

Apache, good HTTP Web Server (it will take the lastest version of series 2)sudo apt-get install apache2
(after installed, open http://localhost with your firefox , if some text display, it’s work)
(the webroot folder is at /var/www by default)

MySQL, good DBMSsudo apt-get install mysql-server
(when installing, it will ask you to make the root password of MySQL)
(after installed, type this command in the terminal: mysql
if the console become mysql> , it’s work)

PHP, good “script” web languagesudo apt-get install php5

PHPMyAdmin, good web management tool to control your MySQL Server sudo apt-get install phpmyadmin
(after installed, you use it by going to http://localhost/phpmyadmin)

Mono runtime (CIL) is installed (by default) on Ubuntu, you only need to install MonoDevelop (IDE for coding) to work with C# on Ubuntusudo apt-get install monodevelop
(after installed, you open IDE by opening menu: Application/Programming/MonoDevelop)

FTP Server, it will help you upload/download file to your OS remotely. I recommend using vsftpd. It is simple and quite secure FTP server. According to vsftpd man page:

vsftpd is the Very Secure File Transfer Protocol Daemon. The server can be launched via a super-server such as inetd or xinetd. Alternatively, vsftpd can be launched in standalone mode, in which case vsftpd itself will listen on the network.

open /etc/mysql/my.cnf
add these lines under [mysqld]
# LockeVN says: set charset of MySQL default to utf-8, set MySQL do not automatic change the charset (due to client set charset command).
default-character-set=utf8
skip-character-set-client-handshake