To See The Current (And Previous) Runlevel:: Managing Run Levels
To See The Current (And Previous) Runlevel:: Managing Run Levels
To change the default runlevel, use your favorite text sudo vim /etc/init/rc-sysinit.conf Change this line to whichever runlevel you want... env DEFAULT_RUNLEVEL=2 Then, at each boot, upstart will use that runlevel. Boot Loader Edit /boot/grub/grub.cfg.
FTP SERVER INSTALLATION sudo apt-get install vsftpd Anonymous FTP Configuration By default vsftpd is configured to only allow anonymous download. During installation a ftp user is created with a home directory of /home/ftp. This is the default FTP directory. If you wish to change this location, to /srv/ftp for example, simply create a directory in another location and change the ftpuser's home directory: sudo mkdir /srv/ftp sudo usermod -d /srv/ftp ftp After making the change restart vsftpd: sudo /etc/init.d/vsftpd restart
User Authenticated FTP Configuration To configure vsftpd to authenticate system users and allow them to upload files edit /etc/vsftpd.conf: local_enable=YES write_enable=YES Now when system users login to FTP they will start in their home directories where they can download, upload, create directories, etc. Similarly, by default, the anonymous users are not allowed to upload files to FTP server. To change this setting, you should uncomment the following line, and restart vsftpd: anon_upload_enable=YES
Apache Installation sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo /etc/init.d/apache2 restart Your web files will now be found in /var/www/ Your configuration files for apache are at /etc/apache2/