DocumentRoot “C:/xampp/htdocs/”
ServerName localhost
AllowOverride All
Require all granted
DocumentRoot “C:/xampp/website/rexadrivantk”
ServerName rexadrivan.tk
AllowOverride All
Require all granted
DocumentRoot “C:/xampp/htdocs/”
ServerName localhost
AllowOverride All
Require all granted
DocumentRoot “C:/xampp/website/rexadrivantk”
ServerName rexadrivan.tk
AllowOverride All
Require all granted
1.) Open command prompt (administrator) [ctrl+x]
2.) NETSH WLAN show drivers
3.) netsh wlan set hostednetwork mode=allow ssid=NETWORKNAME key=PASSWORD
4.) NETSH WLAN start hostednetwork
5.) Enable internet sharing
Apache is a free open source software which runs over 50% of the world’s web servers.
To install apache, open terminal and type in these commands:
sudo apt-get update
sudo apt-get install apache2
That’s it. To check if Apache is installed, direct your browser to your server’s IP address (eg. http://12.34.56.789). The page should display the words “It works!”
You can run the following command to reveal your server’s IP address.
ifconfig eth0 | grep inet | awk '{ print $2 }'
To install MySQL, open terminal and type in these commands:
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
During the installation, MySQL will ask you to set a root password.
PHP is an open source web scripting language that is widely use to build dynamic webpages.
To install PHP, open terminal and type in this command.
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
RockMongo is a MongoDB administration GUI tool, written in PHP 5.
You can read more at here.
So, first you need to install php-mongo on Ubuntu
Install PHP Pear package;
sudo apt-get install php-pear
Then, install PHP-Mongo driver that connects PHP and MongoDB;
sudo apt-get install php5-dev
sudo apt-get install libpcre3 libpcre3-dev
sudo pecl install mongo
Then, configure PHP-Mongo driver in Apache2
nano etc/php5/apache2/php.ini
add line below;
extension=mongo.so
Restart Apache2 server
sudo service apache2 restart
Then, download Rockmongo from web
http://rockmongo.com/downloads
Extract to /var/www/ folder
check the installation
google-chrome-stable
is availeble on 3rd Party Repository: Google Chrome (For Stable).
Follow the instruction for installation:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
It is deployed along with Exim – the SMTP Email Server, which can be installed by a click from the Webuzo Enduser Panel >> Apps >> Utilities Category
Guide : http://www.webuzo.com/wiki/Install_System_Apps
Accessing SquirrelMail is as simple as a pie with Webuzo.
Guide : http://webuzo.com/wiki/Access_Emails
Issue # 1
You can face the “Error connecting to IMAP server: example.com.
111 : Connection refused” Error id Dovecot service is not installed on your server.
Fix for the same is to quickly install Dovecot by a click from the Webuzo Enduser Panel >> Apps >> Utilities Category
Guide : http://www.webuzo.com/wiki/Install_System_Apps
Restart the Dovecot Service to avoid other issues:
Guide : http://webuzo.com/wiki/Restart_services
From the command line:
service dovecot restart
Goal: Install web panel on your VPS server
Reason: lets you focus on using apps rather than spending time on installing them. Install PHP, PERL, JAVA, JavaScript applications to your domain with just a click of a button.
apt-get update
Open a Shell Terminal (e.g. PuTTY) and SSH to your server. Run the following commands:
wget -N http://files.webuzo.com/install.sh chmod 0755 install.sh
./install.sh // This will install the LAMP Stack, DNS Server and FTP server along with Webuzo
OR
./install.sh --install=lamp,bind // This will install the LAMP Stack(softname -> lamp) and DNS Server (softname -> bind) along with Webuzo. Note : softname for Apps should be comma separated. Get list of softnames for the Apps here : http://api.webuzo.com/apps.php
OR
./install.sh --install=none // This will install only Webuzo without any LAMP Stack. You can later install apps from the Apps Category in the Enduser Panel.
For more information on installing you can check the manual at
Wanted to find out if it’s possible to combine internet connection so I tried this connectify dispatch application.
You can google it and try if it works on your system.
This is the number of connections that I saw on the connection tab .
I don’t find this successful because it did not maximize the speed of my internet connection.
Maybe the setup is not configured correctly that’s why I did not meet the desired result. But you can see the result of combined wireless connections on the image below. By the way I am using the old connectify dispatch app. The latest app is the speedify which is not free and will cost you a montlhy subscription.
Open terminal
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
How to install sublimetext 3 on ubuntu 14.04 LTS
This article outlines the steps necessary to run a “Hello world” in node.js + express, running on a 64bit Centos 6.4 installation. We will be building the latest version of source (at this moment, v0.10.4) from the upstream provider.
As is written on their homepage, Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. This is a fast, event driven platform and server-side Javascript engine used for building web applications. DigitalOceans’ droplets are a cost-effective way to install and start studying server-side Javascript and bulding or deploying web applications with Node.js.
To get started, we will need a droplet – the smallest instance will do just enough – and a SSH client (ie. Putty on Windows, Linux systems and Mac Os X usually have it out of the box). When we receive our initial root password, we can ssh into the instance. SSH into the VPS and change the root password, if you haven’t already. It would probably be a good idea to also update software repository to the latest versions:
yum -y update
This will update installed software on our VPS to the latest versions.
Yum can take a few minutes, but when it’s done, we need to prepare for software installation. We’re going to build Node.js from the latest source available at the moment of writing this (v0.10.4). To do that, we’ll need “Development Tools”. It’s a group of tools for compiling software from sources.
yum -y groupinstall "Development Tools"
This command will pull a “Development Tools” group with the applications needed to compile node.js.
Also, we’ll install GNU screen – a piece of software that allows us to connect to our VPS, start a session and detach from it. We could disconnect and connect later, or from another workstation, and pick up where we left. It’s very handy, especially during development of an app, when we want to learn stuff.
yum -y install screen
Now that we’re ready to install Node.js from sources. First, we’ll move to /usr/src directory – the usual place to hold software sources.
cd /usr/src
Now, we pick the latest compressed source archive from Node.js website at http://nodejs.org/download/.
wget http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz
We could and should replace the url and use the more recent version of node.js, if there is one. Next, we are uncompressing the source files and move into that directory.
tar zxf node-v0.10.4.tar.gz cd node-v0.10.4
Now the source for Node.js is extracted and we’re in the source directory. We can now prepare our compiler commands, by executing the configure script:
./configure
It will read the properties of our system to prepare compiler flags. Ie. it could be a system architecture (32/64bit, CPU specific flags etc). With it, we’re ready to actually compile the source now. To do that, just type:
make
This is probably the most time-consuming task here: on my example VPS it took about 6 minutes and 34 seconds to complete. When we’re done, we need to make this available system-wide:
make install
The latest command will place the compiled binaries in system path, so all users could use it without any further setup. By default, node binary should be installed in /usr/local/bin/node.
We now have Node.js installed and complete, we can start developing right away, deploy an already done application or we can proceed to create our Express.js application. First, we’ll use npm, nodes’ module manager, to install express middleware and supervisor – a helpful module that keeps our app started, monitors for file changes (ie. when we’re developing the app) and restarts the VPS when needed.
UPDATE: To be able to run an executable in /usr/local/bin through sudo, you have add /usr/local/bin to your secure_path using visudo.
sudo visudo
Look for secure_path, and append the following to it: “:/usr/local/bin”. Once you have done that, you’re now ready to install the express and supervisor modules.
npm -g install express express-generator supervisor
npm -g install will install the express and supervisor modules from npm software repository and make it available to the whole system. The -g switch in this command means “global” – the express and supervisor commands will be available accross the whole system.
You should now, for security reasons, create a regular system user and run node under non-privileged account.
To do this, add the user first. You can replace “exampleuser” with whatever name your prefer.
useradd exampleuser
We have a new system user. Add a decent password for the new user:
passwd exampleuser
Log out, and log back in as the new user.This changes our login shell from root (system user) to exampleuser (non-privileged user who can compromise the system with less damage).
Express is powerfull framework, and to create our first application, all we have to do is type:
express hello
The command will create a “hello” directory and setup some basics for a new application. Now we should enter this directory and install express dependencies:
cd hello && npm install
npm install part of the command will read all the module dependencies from a generated package.json file and install it from npm software repository.
We should start a new screen session so we can leave node app running:
screen
Finally, we can start our application with the help of supervisor that we installed earlier.
supervisor ./bin/www
Now we’re able to access our first express app at your VPS IP. For example http://123.456.78.90:3000/.
Ruby on Rails is one of the most popular web development framework, it’s build upon Ruby Programming Language, and it’s the hottest web development stack currently.
Rbenv is a shell script tools created by Sam Stephenson. It’s used for groom your app’s Ruby environment.Use rbenv can pick a Ruby version for your application and guarantee that your development environment matches production.
rbenv works by inserting a directory of shims at the front of your PATH:
~/.rbenv/shims:/usr/local/bin:/usr/bin:/bin
Through a process called rehashing, rbenv maintains shims in that directory to match every Ruby command across every installed version of Ruby—irb, gem, rake, rails, ruby, and so on.
CentOS is derived from Red Hat Enterprise Linux. The target users of these distributions are usually businesses, which require their systems to be running the most stable way for a long time.So we are going to use CentOS 6.5 running our applications.
Before, installing any package, it’s always recommended to update package repository cache use yum.
sudo yum update
Now,in order to get necessary development tools and dependencies, run the following:
sudo yum groupinstall -y 'development tools'
sudo yum install -y gcc-c++ glibc-headers openssl-devel readline libyaml-devel readline-devel zlib zlib-devel sqlite-devel
Then we are ready to get Rbenv downloaded installed, run the following to check out rbenv into ~/.rbenv:
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
Add ~/.rbenv/bin to your $PATH for access to the rbenv command-line utility:
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
Add rbenv init to your shell to enable rbenv shims and autocompletion.
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
Ruby-build is a Rbenv plugin which provides the rbenv install command that simplifies the process of installing new Ruby versions. Install rbenv-build:
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
reloaded your bash_profile to enable rbenv command:
source ~/.bash_profile
Install Ruby 2.1.0 and make it the default
rbenv install 2.1.0
rbenv rehash
rbenv global 2.1.0
Now you can run:
ruby -v
to verify your ruby environment has been installed successful。 It will output something like this:
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]