mirror of
https://github.com/LCTT/TranslateProject.git
synced 2026-08-26 04:13:30 +08:00
补充删除原文
This commit is contained in:
@@ -1,90 +0,0 @@
|
||||
翻译中 by Linux-pdz
|
||||
How to install Ghost blogging platform on Linux
|
||||
================================================================================
|
||||
[Ghost][1] is a relatively new blog publishing platform which started out as a [£25,000 Kickstarter project][2]. While WordPress is still the dominant blogging tool on the web, it has now evolved into a general content management platform with tons of third party developed features, and over time has become increasingly cumbersome and complex to maintain. On the other hand, now only a couple of months old, Ghost promises to remain as a pure blogging platform with slick user-centric publishing interface.
|
||||
|
||||
In this tutorial, I will describe **how to set up Ghost blogging platform on Linux**.
|
||||
|
||||
### Install Ghost on Linux ###
|
||||
|
||||
Ghost is powered by Node.js. Therefore, first [install Node.js][3] on your Linux system. Make sure that the version of Node.js is 0.10 or higher.
|
||||
|
||||
Next, log in to [http://ghost.org][1] (sign-up needed), and download the source code of Ghost. Then follow the procedure below to install Ghost.
|
||||
|
||||
$ sudo mkdir -p /var/www/ghost
|
||||
$ sudo unzip ghost-0.3.3.zip -d /var/www/ghost
|
||||
$ cd /var/www/ghost
|
||||
$ sudo npm install --production
|
||||
|
||||
### Configure Ghost Before Launching ###
|
||||
|
||||
Before launching Ghost, create its configuration file located at /var/www/ghost/config.js as follows. Replace "YOUR_IP" with the IP address of your host.
|
||||
|
||||
$ cd /var/www/ghost
|
||||
$ sudo cp config.example.js config.js
|
||||
$ sudo sed -i 's/127.0.0.1/YOUR_IP/g' config.js
|
||||
|
||||
### Test-Run Ghost in Development Mode ###
|
||||
|
||||
At this point, you are ready to launch Ghost.
|
||||
|
||||
Note that Ghost can run in two different modes: "development" and "production" modes. For safety, Ghost maintains configuration info of two modes separately in its configuration file (/var/www/ghost/config.js). For example, the two different modes use different database files (i.e., ghost-dev.db and ghost.db located in /var/www/ghost/content/data).
|
||||
|
||||
Use the following commands to launch Ghost. Ghost runs in development mode by default.
|
||||
|
||||
$ cd /var/www/ghost
|
||||
$ sudo npm start
|
||||
|
||||
If Ghost is launched successfully, you should see the following output in the terminal, indicating that Ghost is running on <YOUR_IP>:2368.
|
||||
|
||||
[][4]
|
||||
|
||||
Go to http://<YOUR_IP>:2368 on your web browser, and verify that you can see the following initial Ghost page.
|
||||
|
||||
[][5]
|
||||
|
||||
### Launch Ghost in Production Mode ###
|
||||
|
||||
After you have verified that Ghost runs okay, stop Ghost in development mode by pressing Ctrl+C. Now it is time to launch Ghost in production mode.
|
||||
|
||||
When you run Ghost in production mode, you can use Node.js module called forever, which allows you to daemonize Ghost, and run it as a background process.
|
||||
|
||||
To install forever module:
|
||||
|
||||
$ sudo npm install forever -g
|
||||
|
||||
Finally, launch Ghost in production mode as follows:
|
||||
|
||||
$ cd /var/www/ghost
|
||||
$ sudo NODE_ENV=production forever start index.js
|
||||
|
||||
Verify that Ghost's database is successfully created in production mode (/var/www/ghost/content/data/ghost.db).
|
||||
|
||||
You can also check a list of active forever processes.
|
||||
|
||||
$ sudo forever list
|
||||
|
||||
> info: Forever processes running
|
||||
> data: uid command script forever pid logfile uptime
|
||||
> data: [0] cH0O /usr/bin/nodejs index.js 15355 15357 /home/dev/.forever/cH0O.log 0:0:0:37.741
|
||||
|
||||
If you see output like the above, it means that Ghost is running in the background successfully.
|
||||
|
||||
To stop Ghost daemon, run the following command.
|
||||
|
||||
$ cd /var/www/ghost
|
||||
$ sudo forever stop index.js
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://xmodulo.com/2013/11/install-ghost-blogging-platform-linux.html
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://ghost.org/
|
||||
[2]:http://www.kickstarter.com/projects/johnonolan/ghost-just-a-blogging-platform
|
||||
[3]:http://ask.xmodulo.com/install-node-js-linux.html
|
||||
[4]:http://www.flickr.com/photos/xmodulo/10881189204/
|
||||
[5]:http://www.flickr.com/photos/xmodulo/10881348733/
|
||||
@@ -1,26 +0,0 @@
|
||||
翻译中 by Linux-pdz
|
||||
Play A Crossword Game With Adobe’s Leaked Passwords
|
||||
================================================================================
|
||||
A **crossword** game with **Adobe’s** Leaked Passwords is now available for playing at [http://zed0.co.uk/crossword/][1]. The author of this game, created the crossword to highlight how insecure most common memorable passwords are and how little you should trust that corporations, such as Adobe, are following best practice when it comes to storing them.
|
||||
|
||||
The crossword uses 1000 most common passwords from the Adobe’s recent password leak in order to inform you about weak password. If your password is in the crossword then you should go change it immediately if you use the same password anywhere else. You have a very bad password! Go and change it, before it is too late.
|
||||
|
||||
The author of this nice helpful game, explains for the reader that he got the idea from [xkcd #1286: Encryptic][2] and also tells us that releasing these passwords is not a huge security risk as many people have already guessed them long ago.
|
||||
|
||||
You still don’t know anything about the Adobe cloud security breach?
|
||||
|
||||
Lately Adobe has been a target for cyber criminals. The Adobe security team has discovered a sophisticated attack on Adobe’s network which involves the illegal access of customer information as well as source code for numerous Adobe products. According to the security announcement on Adobe’s blog the attackers accessed Adobe customer IDs and encrypted passwords, but members at Adobe’s Security Team don’t believe any decrypted credit or debit card number is removed from the system.
|
||||
|
||||
You can read more about this security announcement [here][3].
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.unixmen.com/play-crossword-game-adobes-leaked-passwords/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://zed0.co.uk/crossword/
|
||||
[2]:http://www.xkcd.com/1286/
|
||||
[3]:http://www.unixmen.com/illegal-access-adobe-source-code/
|
||||
@@ -1,106 +0,0 @@
|
||||
翻译中 by Linux-pdz
|
||||
VidMasta: A Desktop Application For Searching Movies And TV Shows
|
||||
================================================================================
|
||||
Ever wanted to search for a Movie or a TV shows from your desktop or searching for a application to do it for you whenever you want? Here is a application to fulfil your needs.
|
||||
|
||||
[**VidMasta**][1] is free, cross-platform, federated search desktop application to read about, preview, watch, and download any movie or television titles that are being shared online. It will run on Linux, Windows and Mac OS X.
|
||||
|
||||
### Features ###
|
||||
|
||||
Using VidMasta, you can do the following:
|
||||
|
||||
- Watch or download movie and television titles in any format.
|
||||
- Supported formats are: TV, DVD, 720p, 1080i/p.
|
||||
- Anonymity via automatic filtering of untrusted IPs, the use of proxies, and encryption.
|
||||
- “Deep Search, Best Source” algorithm for superior video download links.
|
||||
- “Popular Movies” and “Popular TV Shows” options to display recent movies/tv shows that have been downloaded the most.
|
||||
- Download video subtitles.
|
||||
- Set the number of results per search.
|
||||
- Set the minimum and maximum size of a video file that can be downloaded.
|
||||
- Set the video file extensions that can be downloaded.
|
||||
- Search for movie and television titles by name, release date, genre, rating, country, and language.
|
||||
- Automatic ordering of search results by popularity.
|
||||
- Hear and read small summaries of titles.
|
||||
- View trailers of titles.
|
||||
- View release dates and ratings of titles.
|
||||
- Multithreading for fast load times of search results and links.
|
||||
- Detection of video box sets.
|
||||
- [PeerBlock][2] integration (only available for Windows 2000, XP, Vista, and 7).
|
||||
- No additional software is needed beyond [Java][3] (version 6 or greater).
|
||||
- Automatic (silent) updating of the application.
|
||||
|
||||
### Install VidMasta On Linux ###
|
||||
|
||||
Before installing VidMasta you should have install the latest Java in your Linux Desktop.
|
||||
|
||||
Download the latest version from [**here**][4]. Go the folder where you downloaded the file and install it using the following command:
|
||||
|
||||
sudo java -jar vidmasta-setup-16.7.jar
|
||||
|
||||
The following screen should appear. Click Next to continue.
|
||||
|
||||

|
||||
|
||||
Select the installation path and click Next.
|
||||
|
||||

|
||||
|
||||
After completing the installation, click Next.
|
||||
|
||||

|
||||
|
||||
Setup the shortcuts.
|
||||
|
||||

|
||||
|
||||
Finally click Done to finish the installation.
|
||||
|
||||

|
||||
|
||||
After completing the installation, VidMasta will automatically open. This is how default interface of VidMasta looks.
|
||||
|
||||

|
||||
|
||||
### Search Movies & TV Shows ###
|
||||
|
||||
Searching Movies and TV shows are pretty easy. Enter the movie title in the Title box. Select the Movie Genre and the Movie format such as “Any”, “DVD”, “720HD” or “1080 HD” etc. Then hit Enter to start search. Also you an filter the movie results with ratings. If you don’t know the movie name, check the box “Any” Menu bar.
|
||||
|
||||
For example here i am searching “Adventure” genre movies with 720 HD quality which are released between November 1st, 2012 to today. Once you hit Search button, VidMasta will fetch the results from [www.imdb.com][5] website and display the results as per your search criteria. Below is the sample output.
|
||||
|
||||

|
||||
|
||||
You can watch trailer or read the movie summary before downloading it. To view the movie summary, select any movie, right click on it and click Read Summary. Also you can use the buttons below the search results to Read Summary, Watch Trailer, Download or Watch Full movie.
|
||||
|
||||

|
||||
|
||||
Moreover, you can watch the Trailer before downloading the movie. Click on the Watch Trailer button. The Trailer will be opened in a new browser window as shown below.
|
||||
|
||||

|
||||
|
||||
If you like the movie, click on the Download links(Download link 1 or Download link 2) to get the movie.
|
||||
|
||||
### Popular Movies & Popular TV Shows ###
|
||||
|
||||
So you don’t know which movie or TV show is being mostly watched all time. Don’t worry, VidMata has a option to watch the Popular movies or TV shows. Just click on the Popular Movies or Popular TV Shows button to find out.
|
||||
|
||||

|
||||
|
||||
Cool, isn’t it?
|
||||
|
||||
Please note that i couldn’t not watch or download recent movies. May be copy rights or geographical problems. Also you should install the latest Java and disable ad-block programs to play and download movies.
|
||||
|
||||
What are you waiting for? Go, get it and have fun!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.unixmen.com/vidmasta-desktop-application-searching-movies-tv-shows/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://sites.google.com/site/algwares/vidmasta
|
||||
[2]:http://www.peerblock.com/
|
||||
[3]:http://www.java.com/
|
||||
[4]:http://sourceforge.net/projects/vidmasta/
|
||||
[5]:http://www.unixmen.com/vidmasta-desktop-application-searching-movies-tv-shows/www.imdb.com
|
||||
Reference in New Issue
Block a user